Thumbor
Thumbor convolution filter allows divide-by-zero in C extension leading to remote DoS
Thumbor is an open-source photo thumbnail service by globo.com. Prior to 7.8.0, Thumbor's filters:convolution(<matrix>, <columns>, <should_normalize>) filter passes the user-controlled <columns> value to a C extension (thumbor/ext/filters/_convolution.c) where it is used as a divisor (for % and /) without validating columns > 0. When columns=0, the C code triggers undefined behavior; on x86_64 this reliably results in a fatal divide-by-zero trap (SIGFPE) and crashes the Thumbor process, causing a remote denial of service. This issue is fixed in 7.8.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 7.8.0
Fixed in 7.8.0
Mitigation
Upgrade thumbor to 7.8.0 or later.
References
- Vendor advisory github.com/thumbor/thumbor/security/advisories…
- Patch github.com/thumbor/thumbor/commit/447e192e3fb9…
- Release notes github.com/thumbor/thumbor/releases/tag/7.8.0
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.