CVE-2026-70377

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

State
Published
Severity
7.5 High
Published
Aug 5, 2026
Updated
Aug 10, 2026
Reserved
Aug 4, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HTuranSec

Weaknesses

  • CWE-789 Uncontrolled Memory Allocation

Affected Products

ProductVersions
imageclitheotherphil
  • 0.2.1 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.