Vulnerability · Published Aug 5, 2026 · Assigned by TuranSec
CVE-2026-70377imagecli - Uncontrolled Memory Allocation via Unbounded scale Ratio Causes Denial of Service
High 7.5
In plain English
A high-severity security flaw in imagecli from theotherphil. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities).
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| theotherphil | imagecli | 0 – through 0.2.1 |
Weakness: CWE-789 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/theotherphil/imagecli/issues/66 third-party-advisory