High severity · published Aug 5, 2026
CVE-2026-70377
imagecli - Uncontrolled Memory Allocation via Unbounded scale Ratio Causes Denial of Service
7.5
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 33% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
IM
imagecli · theotherphil
through 0.2.1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-70377
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-70377
github.com
https://github.com/theotherphil/imagecli/issues/66
More from imagecli
7.5
CVE-2026-70378
imagecli - Negative carve Ratio Bypasses Bounds Check and Crashes Process via Reachable Panic
