imagecli - Negative carve Ratio Bypasses Bounds Check and Crashes Process via Reachable Panic
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| theotherphil | imagecli | up to 0.2.1 | — | No fix listed | CNA |
- imagecli Vendortheotherphil Affected up to 0.2.1 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-70378
- 2026-10-03 Alias added: GHSA-6gxc-w5rp-4g3p
References
More theotherphil vulnerabilities
- TI-2026-49180 imagecli - Uncontrolled Memory Allocation via Unbounded scale Ratio Causes Denial of Service CVSS 3.1HIGH 7.5
Sources
- CVE-2026-70378 · CVE Program
- CVE-2026-70378 · NVD
- FIRST EPSS
- GHSA-6gxc-w5rp-4g3p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences