Skip to content

CVE-2026-70377 imagecli - Uncontrolled Memory Allocation via Unbounded scale Ratio Causes Denial of Service

HighCVSS 7.5 EPSS 0.39%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
theotherphil imagecli <= 0.2.1 after 0.2.1 Fixed

Affected products

ProductAffected versionsFixed in
theotherphil imagecli <= 0.2.1 No fix listed

References