Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-70378
VULNERABILITY

CVE-2026-70378

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

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

Timeline

Published
Aug 5, 2026 08:16
Modified
Oct 24, 2026 16:10
Last observed
Oct 24, 2026 12:59

CWE

CWE-1284

References