# CVE-2026-70377: imagecli - Uncontrolled Memory Allocation via Unbounded scale Ratio Causes Denial of Service

- Severity: High 7.5 (CVSS:3.1, scored by TuranSec) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-05T06:58:47.554Z
- Modified: 2026-10-24T16:10:00.153Z
- Weaknesses: CWE-789
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: TuranSec

## 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.

(As written by CVE List.)

## Affected

- theotherphil imagecli: up to 0.2.1

## References

- <https://github.com/theotherphil/imagecli/issues/66> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2026-70377](https://www.cve.org/CVERecord?id=CVE-2026-70377), CVE Terms of Use, modified 2026-08-10
- NVD: [CVE-2026-70377](https://nvd.nist.gov/vuln/detail/CVE-2026-70377), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-70377 · Whole record: https://cve.day/CVE-2026-70377.json · Rebuilt by cve.day 2026-11-25T22:59:31.080Z
