CVE-2026-70377

Source
https://cve.org/CVERecord?id=CVE-2026-70377
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-70377.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-70377
Published
2026-08-05T06:58:47Z
Modified
2026-10-26T02:30:16Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
imagecli - Uncontrolled Memory Allocation via Unbounded scale Ratio Causes Denial of Service
Details

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.

Database specific
{
    "cna_assigner":  "TuranSec",
    "cwe_ids":  [
        "CWE-789"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70377.json"
}
References

Affected packages

Git / github.com/theotherphil/imagecli

Affected ranges

Type
GIT
Repo
https://github.com/theotherphil/imagecli
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "0.2.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

v0.*
v0.1.0
v0.2.0
v0.2.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-70377.json"