CVE-2026-70378 HIGH

CVE-2026-70378: imagecli - Negative carve Ratio Bypasses Bounds Check and Crashes Process via Reachable Panic

Vendor Theotherphil
Product imagecli
Weakness CWE-1284
Published August 5, 2026
Last update August 10, 2026

CVSS base score

7.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 5, 2026 CVE published
August 10, 2026 Record updated

Related vulnerabilities

04Related CVE