Vulnerabilities

CVE-2026-70378

High 7.5 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-08-05
Last modified
2026-10-24
Assigned by
309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored by
309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
Fix available
Not registered in the sources

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities