Skip to content
OpenAdvisories
High · 7.5 CVE-2026-71202 EUVD-2026-53199GHSA-hjwh-6x9j-wjwq

raster - Integer Underflow in crop() Offset Handling Causes Capacity-Overflow Panic

Published Aug 5, 2026 · Updated Aug 10, 2026 · Assigned by TuranSec

Description

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.

Affected products

VendorProductAffectedFixed
kosinix raster ≤ 0.2.1 —

References