Integer overflow in fast_image_resize crop box validation
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Cykooz fast_image_resize before 6.2.0 contains an integer overflow in check_crop_box() (CWE-190). Unchecked u32 additions wrap in release builds, so crop box validation can be bypassed. An unauthenticated remote attacker who supplies crop coordinates with very large width or height can cause iter_rows and iter_rows_mut to read or write outside the image buffer, leading to memory corruption or crashes.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
Cykooz fast_image_resize before 6.2.0 contains an integer overflow vulnerability in check_crop_box() that allows attackers to bypass crop box validation via unchecked u32 additions that wrap in release builds. Attackers supplying crop coordinates with very large width or height can cause iter_rows and iter_rows_mut to read or write outside the image buffer, causing memory corruption or crashes.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Update fast_image_resize to version 6.2.0 or later.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA fast_image_resize (Cykooz) Fixed in 6.2.0
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139878
- 2026-11-30 Alias added: GHSA-x7qw-gp3c-qwmp
References
Sources
- CVE-2026-139878 · CVE Program
- CVE-2026-139878 · NVD
- GHSA-x7qw-gp3c-qwmp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences