CVE-2026-70377
imagecli: Uncontrolled Memory Allocation via Unbounded scale Ratio Causes Denial of Service
CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th
imagecli's `scale <ratio>` 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. A large ratio (e.g. 100000) causes an attempted allocation of hundreds of terabytes, aborting the process. Any application embedding imagecli as a library and accepting user-controlled pipeline strings is remotely crashable with a single request.
| CWE | CWE-789 |
| Vendor | theotherphil |
| Product | imagecli |
| Published | Aug 5, 2026 |
Stay Ahead of the Next One
Get instant alerts for theotherphil imagecli
Be the first to know when new high vulnerabilities affecting theotherphil imagecli are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Affected Versions
theotherphil / imagecli
0 โค 0.2.1
References
Credits
agrresore