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.
References
Configurations
No configuration.
History
23 Oct 2026, 21:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
10 Aug 2026, 12:17
| Type | Values Removed | Values Added |
|---|---|---|
| Summary | (en) 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. |
05 Aug 2026, 14:17
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/theotherphil/imagecli/issues/67 - |
05 Aug 2026, 08:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-08-05 08:16
Updated : 2026-10-24 16:10
NVD link : CVE-2026-70378
Mitre link : CVE-2026-70378
CVE.ORG link : CVE-2026-70378
JSON object : View
Products Affected
No product.
CWE
CWE-1284
Improper Validation of Specified Quantity in Input
