{"id":"CVE-2026-70377","summary":"imagecli - Uncontrolled Memory Allocation via Unbounded scale Ratio Causes Denial of Service","details":"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.","modified":"2026-08-30T03:30:21.525253439Z","published":"2026-08-05T06:58:47.554Z","database_specific":{"cna_assigner":"TuranSec","cwe_ids":["CWE-789"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70377.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70377.json"},{"type":"ADVISORY","url":"https://github.com/theotherphil/imagecli/issues/66"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70377"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/theotherphil/imagecli","events":[{"introduced":"0"},{"last_affected":"4e46f496cd8d18b8e830ae476e53feac4ed00738"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"0.2.1"}]}}],"versions":["v0.2.1","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-70377.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}