Vulnerabilidades do Theotherphil Imagecli
🔔 Criar alerta RSS Verificador de versão
CVEs publicadas que afetam Theotherphil Imagecli: 2 registro(s), com versões afetadas e correções.
CVE-2026-70378
Alta · 7.5
CWE-1284 05/08/2026
imagecli - Negative carve Ratio Bypasses Bounds Check and Crashes Process via Reachable Panic
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-70377
Alta · 7.5
CWE-789 05/08/2026
imagecli - Uncontrolled Memory Allocation via Unbounded scale Ratio Causes Denial of Service
imagecli's pipeline operation (Scale::apply in src/image_ops.rs) computes output width/height as (dimension as f32 * ratio) as u32 with no upper-bound validation on the CLI-supplied ratio, which is parsed via nom::number::complete::float with no range check. Any application embedding imagecli as a library and accepting user-controlled pipeline strings is remotely crashable with a single request.