What’s Vulnerable › Vulnerabilities
CVE-2026-70377: imagecli - Uncontrolled Memory Allocation via Unbounded scale Ratio Causes Denial of Service
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-05 · updated 2026-10-24
- Weakness: CWE-789
Description
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.
Affected products
- theotherphil imagecli: through 0.2.1
References
- https://github.com/theotherphil/imagecli/issues/66
- https://github.com/theotherphil/imagecli/issues/66
Get alerted when CVE-2026-70377 or the next vulnerability affects your stack