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

- Severity: High 8.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-11-30T16:20:41.369Z
- Modified: 2026-12-01T14:18:17.167Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- Cykooz fast_image_resize: before 6.2.0

## Every score

- VulnCheck: CVSS:4.0 8.3 High `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H`

## References

- <https://github.com/Cykooz/fast_image_resize/commit/292d3a898d4ab0f3facdfd7c695f15e5ba638190> (patch)
- <https://github.com/Cykooz/fast_image_resize/blob/v6.2.0/CHANGELOG.md> (release-notes)
- <https://github.com/Cykooz/fast_image_resize/blob/v6.1.0/src/images/typed_cropped_image.rs#L7-L24> (technical-description)
- <https://github.com/Cykooz/fast_image_resize/blob/v6.1.0/src/images/typed_cropped_image.rs#L157-L167> (technical-description)
- <https://www.vulncheck.com/advisories/fast-image-resize-before-6.2.0-integer-overflow-via-check-crop-box> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-139878](https://www.cve.org/CVERecord?id=CVE-2026-139878), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-139878](https://nvd.nist.gov/vuln/detail/CVE-2026-139878), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139878 · Whole record: https://cve.day/CVE-2026-139878.json · Rebuilt by cve.day 2026-12-01T14:32:14.252Z
