Skip to main content
EPSS 0.3%top 82%

CVE-2026-71202: CWE-191 Integer Underflow in kosinix raster

0
High
VulnerabilityCVE-2026-71202cvecve-2026-71202cwe-191
Published: 08/05/2026 (08/05/2026, 06:58:53 UTC)
Source: CVE Database V5
Vendor/Project: kosinix
Product: raster

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.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

kosinix

raster

Affected versions
>=0 <=0.2.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 14:25:03 UTC

Technical Analysis

The raster crate for Rust contains a vulnerability in its crop function located in src/editor.rs. While the crop width and height parameters are properly clamped against the source image dimensions, the offset_x and offset_y parameters are only clamped against zero and not against the maximum source width or height. This can lead to an integer underflow condition (CWE-191) when offset values exceed source dimensions, potentially causing a denial of service or application crash. The CVSS v3.1 score is 7.5 (high severity) with network attack vector, low attack complexity, no privileges or user interaction required, and impact limited to availability.

Potential Impact

The vulnerability can cause an integer underflow leading to a denial of service (application crash or instability) when the crop function is called with offset parameters exceeding source dimensions. There is no reported impact on confidentiality or integrity. No known exploits are currently in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using untrusted input for offset_x and offset_y parameters in the crop function to prevent triggering the integer underflow.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
TuranSec
Date Reserved
2026-08-05T06:56:15.798Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a72e5cbbf8831d53973523a

Added to database: 08/05/2026, 07:27:07 UTC

Last enriched: 08/12/2026, 14:25:03 UTC

Last updated: 09/17/2026, 22:01:38 UTC

Views: 42

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses