๐Ÿ” CVE Alert

CVE-2026-70378

HIGH 7.5

imagecli - Negative carve Ratio Bypasses Bounds Check and Crashes Process via Reachable Panic

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-1284
Vendor theotherphil
Product imagecli
Published Aug 5, 2026
Last Updated Aug 10, 2026
Stay Ahead of the Next One

Get instant alerts for theotherphil imagecli

Be the first to know when new high vulnerabilities affecting theotherphil imagecli are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

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

Affected Versions

theotherphil / imagecli
0 โ‰ค 0.2.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/theotherphil/imagecli/issues/67

Credits

agrresore