{"id":"CVE-2026-71202","aliases":["CVE-2026-71202"],"related":[],"kind":"vulnerability","state":"published","title":"raster - Integer Underflow in crop() Offset Handling Causes Capacity-Overflow Panic","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"La función ’crop()’ del crate ’raster’ de Rust (src/editor.rs) limita el ancho/alto del recorte con respecto a las dimensiones de origen, pero solo limita los parámetros ’offset_x’/’offset_y’ con respecto a 0, nunca con respecto al ancho/alto de origen. Cuando un desplazamiento excede la dimensión de origen correspondiente, ’width2 - offset_x’ (o el equivalente para la altura) sufre un desbordamiento negativo a un ’i32’ negativo, lo cual las compilaciones de lanzamiento no interceptan; el valor negativo se castea luego a ’usize’ dentro de la llamada a ’Vec::with_capacity()’ de ’Image::blank()’, lo que desencadena un pánico por desbordamiento de capacidad y bloquea el proceso con una única solicitud de recorte manipulada.","source":"nvd"}],"published":"2026-08-05T06:58:53.827Z","modified":"2026-10-24T15:10:00.190Z","severity":{"scorer":"TuranSec","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"TuranSec","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-191"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"0.2.1","status":"affected"}],"vendor":"kosinix","product":"raster","source":"cvelist"}],"references":[{"url":"https://github.com/kosinix/raster/issues/30","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["agrresore"],"assigner":"TuranSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-05T13:24:48.832Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-71202","url":"https://www.cve.org/CVERecord?id=CVE-2026-71202","licence":"CVE Terms of Use","modified":"2026-08-10T11:44:59.049Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-71202","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71202","licence":"Public domain","modified":"2026-10-24T15:10:00.190Z"}],"updatedAt":"2026-11-25T22:59:31.080Z","epss":{"score":0.00263,"percentile":0.19341,"date":"2026-12-01T12:00:22.000Z"}}