← Back

CVE-2026-70378

nvd nist
Published: Aug 5, 2026Modified: Aug 28, 2026Deferred

JSON object

Loading...
7.5
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Exploitability: 3.9 / Impact: 3.6
Source: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c (Secondary)

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.

References (2)

Source: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0

Timeline

No history available yet.