CVE Catalog

CVE-2026-70378

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.28%

20th percentile - higher than 20% of all known CVEs

Summary

imagecli's pipeline operation only asserts, never validating that the ratio is positive. A negative ratio causes the target width to saturate to 0, which is passed to imageproc::seam_carving::shrink_width, a function that panics when given a width below 2, crashing the process.

Risk Assessment

An attacker can cause a denial of service by providing a negative ratio, potentially leading to service unavailability.

Recommendation

Add validation for the ratio (positive value) before use and handle errors gracefully instead of panicking.

Other vulnerabilities in imagecli

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS