{"id":"CVE-2026-139878","summary":"fast_image_resize before 6.2.0 Integer Overflow via check_crop_box()","details":"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.","modified":"2026-11-30T19:00:28.215423510Z","published":"2026-11-30T16:20:41.369Z","database_specific":{"cwe_ids":["CWE-190"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139878.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139878.json"},{"type":"PACKAGE","url":"https://github.com/Cykooz/fast_image_resize"},{"type":"ARTICLE","url":"https://github.com/Cykooz/fast_image_resize/blob/v6.1.0/src/images/typed_cropped_image.rs#L157-L167"},{"type":"ARTICLE","url":"https://github.com/Cykooz/fast_image_resize/blob/v6.1.0/src/images/typed_cropped_image.rs#L7-L24"},{"type":"ADVISORY","url":"https://github.com/Cykooz/fast_image_resize/blob/v6.2.0/CHANGELOG.md"},{"type":"FIX","url":"https://github.com/Cykooz/fast_image_resize/commit/292d3a898d4ab0f3facdfd7c695f15e5ba638190"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139878"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/fast-image-resize-before-6.2.0-integer-overflow-via-check-crop-box"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cykooz/fast_image_resize","events":[{"introduced":"0"},{"fixed":"e1e579831465b98a2e0e0b3835556a3bd1c2f97a"},{"fixed":"292d3a898d4ab0f3facdfd7c695f15e5ba638190"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"6.2.0"}]},{"range":[{"fixed":"292d3a898d4ab0f3facdfd7c695f15e5ba638190"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v6.1.0","v6.0.0","v5.6.0","v5.5.0","v5.4.0","v5.3.0","v5.2.2","v5.2.1","v5.2.0","v5.1.4","v5.1.3","v4.2.1","v5.1.2","v5.1.1","v5.1.0","v5.0.0","v4.2.0","v4.1.0","v4.0.0","v3.0.4","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v2.7.3","v2.7.2","v2.7.1","v2.7.0","v2.6.0","v2.5.0","v2.4.0","v2.3.0","v2.2.0","v2.1.0","v2.0.0","v1.0.0","v0.9.7","v0.9.6","v0.9.5","v0.9.4","v0.9.3","v0.9.2","v0.9.1","v0.8.0","v0.7.0","v0.6.0","v0.5.3","v0.5.1","v0.5.0","v0.4.1","v0.4.0","v0.3.1","v0.3.0","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139878.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}