{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-70378","assignerOrgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","state":"PUBLISHED","assignerShortName":"TuranSec","dateReserved":"2026-08-04T07:13:07.993Z","datePublished":"2026-08-05T06:58:50.621Z","dateUpdated":"2026-08-10T11:44:56.994Z"},"containers":{"cna":{"title":"imagecli - Negative carve Ratio Bypasses Bounds Check and Crashes Process via Reachable Panic","descriptions":[{"lang":"en","value":"imagecli's pipeline operation (Carve::apply in src/image_ops.rs) only asserts , never validating that the ratio is positive. A negative ratio (e.g. -5) causes the computed target width to saturate to 0 via Rust's defined float-to-uint cast, which is then passed to imageproc::seam_carving::shrink_width — a function that panics when given a width below 2, crashing the process.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p>imagecli's pipeline operation (Carve::apply in src/image_ops.rs) only asserts , never validating that the ratio is positive. A negative ratio (e.g. -5) causes the computed target width to saturate to 0 via Rust's defined float-to-uint cast, which is then passed to imageproc::seam_carving::shrink_width — a function that panics when given a width below 2, crashing the process.</p>"}]}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-1284 Improper Validation of Specified Quantity in Input","cweId":"CWE-1284","type":"CWE"}]}],"affected":[{"vendor":"theotherphil","product":"imagecli","programFiles":["src/image_ops.rs"],"versions":[{"version":"0","lessThanOrEqual":"0.2.1","versionType":"custom","status":"affected"}],"defaultStatus":"unknown"}],"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"}}],"references":[{"url":"https://github.com/theotherphil/imagecli/issues/67","tags":["third-party-advisory"]}],"credits":[{"lang":"en","value":"agrresore","type":"finder"}],"providerMetadata":{"orgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","shortName":"TuranSec","dateUpdated":"2026-08-10T11:44:56.994Z"},"source":{"discovery":"EXTERNAL"},"datePublic":"2026-08-05T06:58:50.621Z"},"adp":[{"references":[{"url":"https://github.com/theotherphil/imagecli/issues/67","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-05T13:14:40.565849Z","id":"CVE-2026-70378","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-08-05T13:15:02.291Z"}}]}}