{"id":"CVE-2026-70378","published":"2026-08-05T08:16:41.957","lastModified":"2026-08-10T12:17:23.827","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.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwes":["CWE-1284"],"vendors":[],"products":[],"references":[{"url":"https://github.com/theotherphil/imagecli/issues/67","tags":[]},{"url":"https://github.com/theotherphil/imagecli/issues/67","tags":[]}],"exploitRefs":[{"url":"https://github.com/theotherphil/imagecli/issues/67","tags":[]},{"url":"https://github.com/theotherphil/imagecli/issues/67","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows a negative ratio to cause image processing functions to fail, potentially crashing the application due to invalid width values.","exploitability":"Exploitation requires crafting specific input with a negative ratio; moderate difficulty as it involves understanding the image processing pipeline.","blast_radius":"If exploited, this could lead to service disruptions or crashes affecting applications relying on image processing functionalities.","remediation":"Update to the latest version of imagecli that addresses the validation issue in Carve::apply.","tags":["image-processing","crash","validation"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-08-11T06:58:49.121Z"}}