Skip to main content

fast_image_resize EUVDEUVD-2026-139547

| CVE-2026-139878 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-11-30 disclosure@vulncheck.com GHSA-x7qw-gp3c-qwmp
8.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach app exposing crop parameters
  2. Delivery
    Supply oversized crop width/height
  3. Exploit
    Trigger u32 addition overflow in check_crop_box
  4. Execution
    Bypass crop-box validation
  5. Persist
    iter_rows out-of-bounds read/write
  6. Impact
    Memory corruption or process crash

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the host application to pass attacker-controlled crop-box coordinates (left/top plus width or height) to check_crop_box with a width or height large enough that the u32 addition for the right or bottom edge wraps; the overflow only manifests in release builds, since debug builds panic on arithmetic overflow. Limiting factors: the attacker must control the crop dimensions, the application must actually expose a cropping path on untrusted input, and only versions before 6.2.0 are affected. Applications that validate or hard-code crop coordinates, or that run in debug mode, are not exploitable. The trigger (supplying very large width/height) is described in the sources; no specific memory-corruption primitive beyond out-of-bounds read/write and crash is detailed.

Impact

This is a genuine memory-safety flaw (CWE-190 integer overflow leading to out-of-bounds read/write) but the aggregate signals point to moderate rather than urgent priority. The supplied CVSS 4.0 vector scores 8.3 with AV:N/PR:N/UI:N, yet AC:H and AT:P indicate the attack is not trivially repeatable and depends on specific conditions, and the primary impact is availability (VA:H) with only limited confidentiality/integrity (VC:L/VI:L). No EPSS score was provided, the CVE is not in CISA KEV (no confirmed active exploitation), and no public working exploit is identified - only the vendor fix commit, CHANGELOG, overflow unit tests, and the VulnCheck advisory. The vuln.today decision label is 'this_week', not act_now or emergency, consistent with a serious-but-not-actively-exploited library bug. The most important caveat: the AV:N/PR:N rating assumes the host application forwards attacker-controlled crop coordinates to the library; fast_image_resize is a Rust crate with no authentication of its own, so real-world reachability is entirely a function of how downstream applications expose cropping - verify whether your application accepts untrusted crop width/height before treating this as network-exploitable.

Exploit ScenarioDerived

An application built on fast_image_resize lets users supply crop-box coordinates and calls the resize/crop API with those values. An attacker submits a crop box with a very large width or height so that the u32 addition computing the right/bottom edge wraps around in a release build, bypassing check_crop_box validation; the subsequent iter_rows/iter_rows_mut calls then read or write outside the image buffer, corrupting memory or crashing the process. No public working exploit is identified, though the fix commit and overflow regression tests are public and effectively document the trigger.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 30, 2026

Integer overflow in the crop-box validation of the Cykooz fast_image_resize Rust crate before 6.2.0 allows an attacker who controls crop coordinates to bypass bounds checking and drive out-of-bounds reads and writes through the image row iterators, resulting in memory corruption or a crash. Only applications that pass attacker-influenced left/top plus width/height values into check_crop_box are affected, and the wrap only occurs in release builds because debug builds panic on the overflowing u32 addition. The flaw is unauthenticated from the library's perspective (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H), but exploitation hinges on the host application exposing a cropping path for untrusted input; no public exploit has been identified at time of analysis.

RemediationAI

Upgrade fast_image_resize to 6.2.0 or later, which replaces the wrapping u32 additions in check_crop_box() with checked_add and returns CropBoxError::SizeIsOutOfImageBoundaries on overflow (commit 292d3a898d4ab0f3facdfd7c695f15e5ba638190, documented in the v6.2.0 CHANGELOG.md). If upgrading is not immediately possible, callers should validate crop geometry themselves before invoking the library - reject any crop box where left + width or top + height exceeds u32::MAX or the source image dimensions - since that is precisely the arithmetic the library failed to guard; this requires auditing every code path that constructs a CropBox from untrusted input and carries the risk of missed call sites. Running affected services with a debug profile causes Rust to panic on arithmetic overflow rather than wrap, converting the out-of-bounds access into a denial-of-service panic; this is a stopgap with a clear availability cost and is generally unsuitable for production. Applications that hard-code or fully validate crop coordinates, or that do not accept user-supplied crop dimensions, are not exposed and can schedule the upgrade normally.

Affected VersionsENISA

fast_image_resize 0 <6.2.0

Affected Packages

euvd fast_image_resize fix: 6.2.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

fast_image_resize is a Rust image-resizing crate. In versions prior to 6.2.0, the internal helper check_crop_box() computed the right and bottom edges of a crop rectangle with unchecked u32 additions (let right = left + width; let bottom = top + height;) before comparing them against the image dimensions. In release builds those additions wrap silently, so a crop box with a very large width or height can produce small right/bottom values that pass validation; the resulting typed cropped image then hands oversized coordinates to iter_rows and iter_rows_mut, which index outside the underlying pixel buffer. This is CWE-190 (integer overflow or wraparound) acting as a gateway to out-of-bounds read/write. The upstream fix replaces the raw additions with checked_add, mapping overflow to CropBoxError::SizeIsOutOfImageBoundaries and adding unit tests that reject u32::MAX-sized crop widths and heights. Note that Rust's debug profile panics on arithmetic overflow, so the memory-safety consequence is specific to release/optimized builds.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 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
vuln.today AI 7.0 HIGH

AC:H because exploitation needs attacker-controlled oversized crop values reaching a release build and the wrap condition; out-of-bounds read/write yields C:L/I:L while memory corruption/crash drives A:H.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 30, 2026 - 18:34 EUVD
CVE Published
Nov 30, 2026 - 17:18 cve.org
HIGH 8.3

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A high-severity vulnerability in the Cykooz fast_image_resize Rust crate (versions before 6.2.0) can allow attackers to trigger memory corruption via crafted crop coordinates in applications that process untrusted images. Organizations using this library in image upload, processing, or transformation services face potential service disruption and security breaches, emphasizing the need for immediate assessment and mitigation.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include validating crop coordinates against image dimensions and integer limits before passing them to the library, disabling cropping features for untrusted input, and using alternative libraries for crop operations until a fix is available.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
niche Rust image-resizing crate, limited production deployment footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy