CVE-2026-70377
imagecli - Uncontrolled Memory Allocation via Unbounded scale Ratio Causes Denial of Service
- State
- Published
- Severity
- 7.5 High
- Published
- Aug 5, 2026
- Updated
- Aug 10, 2026
- Reserved
- Aug 4, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | TuranSec |
Weaknesses
- CWE-789 Uncontrolled Memory Allocation
Affected Products
| Product | Versions |
|---|---|
imageclitheotherphil |
|
References
- https://github.com/theotherphil/imagecli/issues/66third-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.