云虫漏洞库

CVE-2026-70378 - 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. - 漏洞详情

漏洞编号:CVE-2026-70378

风险等级:高危

漏洞来源:CVE

CVE 编号:CVE-2026-70378

CNNVD 编号:-

厂商/产品:- / -

影响范围:-

CWE:CWE-1284

发布/更新时间:2026-08-05 / 2026-08-28

漏洞描述

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.

相关链接

相关漏洞

« 返回首页