imagecli - Uncontrolled Memory Allocation via Unbounded scale Ratio Causes Denial of Service
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-789.
Summary
imagecli's pipeline operation (Scale::apply in src/image_ops.rs) computes output width/height as (dimension as f32 * ratio) as u32 with no upper-bound validation on the CLI-supplied ratio, which is parsed via nom::number::complete::float with no range check. Any application embedding imagecli as a library and accepting user-controlled pipeline strings is remotely crashable with a single request.
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-70377
- 2026-10-03 Alias added: GHSA-6mc8-mx43-h2qw
References
More theotherphil vulnerabilities
- TI-2026-49181 imagecli - Negative carve Ratio Bypasses Bounds Check and Crashes Process via Reachable Panic CVSS 3.1HIGH 7.5
Sources
- CVE-2026-70377 · CVE Program
- CVE-2026-70377 · NVD
- FIRST EPSS
- GHSA-6mc8-mx43-h2qw · 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