CVE-2026-70378 imagecli - Negative carve Ratio Bypasses Bounds Check and Crashes Process via Reachable Panic
HighCVSS 7.5
EPSS 0.33%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| theotherphil imagecli | <= 0.2.1 | after 0.2.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| theotherphil imagecli | <= 0.2.1 | No fix listed |
References
- github.com exploit third-party-advisory
- ENISA EUVD EUVD-2026-53198 third-party-advisory