Vulnerability · Published Aug 5, 2026 · Assigned by TuranSec

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

High 7.5

In plain English

A high-severity security flaw in raster from kosinix. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities).

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 59.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected products (as reported)

VendorProductVersions
kosinix raster 0 – through 0.2.1

Weakness: CWE-191 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References