CVE-2026-139878: fast_image_resize before 6.2.0 Integer Overflow via check_crop_box()

Published Nov 30, 2026
·
Updated

Cykooz fastimageresize before 6.2.0 contains an integer overflow vulnerability in checkcropbox() 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 iterrows and iterrowsmut to read or write outside the image buffer, causing memory corruption or crashes.

Affected Software

1 affected component
crates/fast_image_resize<6.2.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade fast_image_resize to a version that resolves this vulnerability.

    Fixed in 6.2.0

Event History

Nov 30, 2026
CVE Published
via MITRE·04:20 PM
Data Sourced
via MITRE·04:20 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:18 PM
DescriptionSeverityWeakness
Event
via NVD·05:18 PM

Frequently Asked Questions

1

Which deployments are exposed?

Applications using the fast_image_resize crate before version 6.2.0 are affected when they process attacker-controlled crop coordinates. The vulnerable validation is in check_crop_box().

2

What does an attacker need to exploit this issue?

An attacker needs to supply crop coordinates with a very large width or height. Unchecked u32 addition can wrap in release builds and bypass crop-box validation.

3

What is the likely impact after validation is bypassed?

The resulting crop operation can cause iter_rows or iter_rows_mut to read or write outside the image buffer. This can lead to memory corruption or application crashes.

4

Are default release builds affected?

Yes. The overflow wraps in release builds, allowing the crop-box checks to be bypassed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203