CVE-2026-139878
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of service disruption.
- Exploit odds
- 0.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.3% in the next 30 days (EPSS).
- Severity: 8.3 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.3% · EPSS, next 30 days
- Weakness
- CWE-190 · Integer overflow
- Record status
- Deferred
Affected
- Cykooz Fast Image Resize < 6.2.0
Attack profile CVSS 4.0 · 8.3
- Attack vector
- Network
- Complexity
- High
- Attack requirements
- Present
- Privileges needed
- None
- User interaction
- None
- Confidentiality
- Low
- Integrity
- Low
- Availability
- High
Raw vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2026-139878.md and follow it. Check whether this project is affected by CVE-2026-139878. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
References
- https://github.com/Cykooz/fast_image_resize/commit/292d3a898d4ab0f3facdfd7c695f15e5ba638190
- https://github.com/Cykooz/fast_image_resize/blob/v6.1.0/src/images/typed_cropped_image.rs#L157-L167
- https://github.com/Cykooz/fast_image_resize/blob/v6.1.0/src/images/typed_cropped_image.rs#L7-L24
- https://github.com/Cykooz/fast_image_resize/blob/v6.2.0/CHANGELOG.md
- https://www.vulncheck.com/advisories/fast-image-resize-before-6.2.0-integer-overflow-via-check-crop-box