{"id":"CVE-2026-70378","state":"PUBLISHED","title":"imagecli - Negative carve Ratio Bypasses Bounds Check and Crashes Process via Reachable Panic","description":"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.","publishedAt":"2026-08-05T06:58:50.621Z","updatedAt":"2026-08-10T11:44:56.994Z","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/67"],"weaknesses":["CWE-1284"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/70xxx/CVE-2026-70378.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-70378","state":"PUBLISHED","datePublished":"2026-08-05T06:58:50.621Z","dateUpdated":"2026-08-10T11:44:56.994Z","assignerShortName":"TuranSec","assignerOrgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateReserved":"2026-08-04T07:13:07.993Z"},"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."}],"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/67","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-1284","lang":"en","description":"CWE-1284 Improper Validation of Specified Quantity in Input","type":"CWE"}]}],"providerMetadata":{"shortName":"TuranSec","orgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateUpdated":"2026-08-10T11:44:56.994Z"},"credits":[{"lang":"en","value":"agrresore","type":"finder"}],"source":{"discovery":"EXTERNAL"},"datePublic":"2026-08-05T06:58:50.621Z"},"adp":[{"title":"CISA ADP Vulnrichment","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"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-05T13:15:02.291Z"}}]}}}