{"id":4664,"date":"2026-09-04T18:46:41","date_gmt":"2026-09-04T10:46:41","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-70378"},"modified":"2026-09-04T18:46:41","modified_gmt":"2026-09-04T10:46:41","slug":"cve-2026-70378","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-70378","title":{"rendered":"CVE-2026-70378 [HIGH] &#8211; imagecli&#8217;s pipeline operation (Carve::apply in src\/image_ops.rs) only asserts , never vali"},"content":{"rendered":"<p>imagecli&#8217;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&#8217;s defined float-to-uint cast, which is then passed to imageproc::seam_carving::shrink_width \u2014 a function that panics when given a width below 2, crashing the process.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>imagecli&#8217;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 <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-4664","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/4664","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4664"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4664"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}