CVE-2026-71202 raster - Integer Underflow in crop() Offset Handling Causes Capacity-Overflow Panic
An integer underflow in the raster crate's crop function causes a panic, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-71202?
CVE-2026-71202 is a high-severity vulnerability in kosinix raster, published on 5 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-191
Which versions are affected by CVE-2026-71202?
How do I fix CVE-2026-71202?
No fix has been published for CVE-2026-71202 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-71202 being exploited?
There is no known exploitation of CVE-2026-71202 in the wild and no public exploit code.
Sources
Also known as GHSA-hjwh-6x9j-wjwq.