Bug 2511381 (CVE-2026-71202) - CVE-2026-71202 raster: Raster: Denial of Service via integer underflow in image cropping function
Summary: CVE-2026-71202 raster: Raster: Denial of Service via integer underflow in ima...
Keywords:
Status: NEW
Alias: CVE-2026-71202
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-05 08:02 UTC by OSIDB Bzimport
Modified: 2026-08-06 08:43 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-05 08:02:16 UTC
The raster Rust crate's crop() function (src/editor.rs) clamps the crop width/height against source dimensions but only clamps the offset_x/offset_y parameters against 0, never against the source width/height. When an offset exceeds the corresponding source dimension, `width2 - offset_x` (or the height equivalent) underflows to a negative i32, which release builds do not trap; the negative value is then cast to usize inside Image::blank()'s Vec::with_capacity() call, triggering a capacity-overflow panic and crashing the process on a single crafted crop request.


Note You need to log in before you can comment on or make changes to this bug.