{"id":"CVE-2026-70377","state":"PUBLISHED","title":"imagecli - Uncontrolled Memory Allocation via Unbounded scale Ratio Causes Denial of Service","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.","publishedAt":"2026-08-05T06:58:47.554Z","updatedAt":"2026-08-10T11:44:54.942Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"TuranSec"},"assigner":"TuranSec","products":["theotherphil imagecli"],"affected":[{"vendor":"theotherphil","product":"imagecli","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.2.1","versionType":"custom"}],"programFiles":["src/image_ops.rs"]}],"references":["https://github.com/theotherphil/imagecli/issues/66"],"weaknesses":["CWE-789"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/70xxx/CVE-2026-70377.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-70377","state":"PUBLISHED","datePublished":"2026-08-05T06:58:47.554Z","dateUpdated":"2026-08-10T11:44:54.942Z","assignerShortName":"TuranSec","assignerOrgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateReserved":"2026-08-04T07:13:07.993Z"},"containers":{"cna":{"title":"imagecli - Uncontrolled Memory Allocation via Unbounded scale Ratio Causes Denial of Service","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"theotherphil","product":"imagecli","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.2.1","versionType":"custom"}],"programFiles":["src/image_ops.rs"]}],"references":[{"url":"https://github.com/theotherphil/imagecli/issues/66","tags":["third-party-advisory"]}],"metrics":[{"other":{"type":"CVSS_3.1_severity","content":{"value":"HIGH"}}},{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-789","lang":"en","description":"CWE-789 Uncontrolled Memory Allocation","type":"CWE"}]}],"providerMetadata":{"shortName":"TuranSec","orgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateUpdated":"2026-08-10T11:44:54.942Z"},"credits":[{"lang":"en","value":"agrresore","type":"finder"}],"source":{"discovery":"EXTERNAL"},"datePublic":"2026-08-05T06:58:47.554Z"},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/theotherphil/imagecli/issues/66","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-05T13:13:31.920666Z","id":"CVE-2026-70377","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-05T13:14:14.216Z"}}]}}}