Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/theotherphil/imagecli/issues/66
- https://github.com/theotherphil/imagecli/issues/66
FAQ
What is CVE-2026-70377?
CVE-2026-70377 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 ...
How severe is CVE-2026-70377?
CVE-2026-70377 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-70377?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.