Read the docs

Integer overflow in fast_image_resize crop box validation

Priority MEDIUM 51CWE-190Published · Updated

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

Fix Fixed fast_image_resize (Cykooz): 6.2.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
Cykoozfast_image_resizebefore 6.2.06.2.0Patch availableCNA
  • fast_image_resize VendorCykooz Affected before 6.2.0 Fixed in 6.2.0 Patch available CNA

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

  1. 2026-11-30 Threatist record created from CVE-2026-139878
  2. 2026-11-30 Alias added: GHSA-x7qw-gp3c-qwmp

References

Sources