# CVE-2026-139878: fast\_image\_resize before 6.2.0 Integer Overflow via check\_crop\_box()

- **Severity:** HIGH 8.3
- **CVSS:** 8.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: Low; Integrity impact: Low; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **CWE:** CWE-190
- **Published:** 2026-11-30T16:20:41.369Z
- **Modified:** 2026-11-30T17:18:52.360Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker can supply crafted crop coordinates to fast\_image\_resize that overflow u32 arithmetic, causing out-of-bounds memory reads and writes in image row iteration.

## Who should check

- Anyone running Cykooz fast\_image\_resize \< 6.2.0

## 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.

## Affected and fixed versions

- Cykooz fast\_image\_resize: \< 6.2.0 (cvelist)

## Technologies

Rust (AI-matched), Rust crates (AI-matched)

## Mitigation

- Upgrade fast\_image\_resize to 6.2.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-139878. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139878.md
Affected: Cykooz fast_image_resize < 6.2.0
Fixed in: Cykooz fast_image_resize 6.2.0

Steps:
1. Search this machine and project for Cykooz fast_image_resize: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-139878 being exploited?

There is no confirmed exploitation: CVE-2026-139878 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-139878?

High: CVSS 8.3 (v4.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-139878?

Cykooz fast\_image\_resize \< 6.2.0.

### Is there a fix for CVE-2026-139878?

Yes. Fixed in Cykooz fast\_image\_resize 6.2.0. Upgrade fast\_image\_resize to 6.2.0 or later.

### How do I check if I'm affected by CVE-2026-139878?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-139878>

HTML: <https://flawdb.com/CVE-2026-139878> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-139878>
