CVE-2026-70378
7.5 HIGHpublic exploit availablePublished 2026-08-05 · Updated 2026-08-10
AI risk analysis
- Summary
- The flaw allows a negative ratio to cause image processing functions to fail, potentially crashing the application due to invalid width values.
- Exploitability
- Exploitation requires crafting specific input with a negative ratio; moderate difficulty as it involves understanding the image processing pipeline.
- Blast radius
- If exploited, this could lead to service disruptions or crashes affecting applications relying on image processing functionalities.
- Prioritized remediation
- Update to the latest version of imagecli that addresses the validation issue in Carve::apply.
image-processingcrashvalidation
Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
imagecli's pipeline operation (Carve::apply in src/image_ops.rs) only asserts , never validating that the ratio is positive. A negative ratio (e.g. -5) causes the computed target width to saturate to 0 via Rust's defined float-to-uint cast, which is then passed to imageproc::seam_carving::shrink_width — a function that panics when given a width below 2, crashing the process.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-1284
Public exploit & PoC references
All references
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.