# CVE-2026-71202: raster - Integer Underflow in crop() Offset Handling Causes Capacity-Overflow Panic

- Severity: High 7.5 (CVSS:3.1, scored by TuranSec) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-05T06:58:53.827Z
- Modified: 2026-10-24T15:10:00.190Z
- Weaknesses: CWE-191
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- kosinix raster: up to 0.2.1

## References

- <https://github.com/kosinix/raster/issues/30> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2026-71202](https://www.cve.org/CVERecord?id=CVE-2026-71202), CVE Terms of Use, modified 2026-08-10
- NVD: [CVE-2026-71202](https://nvd.nist.gov/vuln/detail/CVE-2026-71202), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-71202 · Whole record: https://cve.day/CVE-2026-71202.json · Rebuilt by cve.day 2026-11-25T22:59:31.080Z
