Skip to content
OpenAdvisories

Product · theotherphil

imagecli

2 known vulnerabilities.

2 results · Clear filters · Feed

  • High 7.5

    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 pass…

  • High 7.5

    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. …