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

High 7.5 Published Updated

Attackers can cause denial of service in applications using imagecli by supplying unbounded scale ratios that trigger excessive memory allocation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-70377?

CVE-2026-70377 is a high-severity denial of service vulnerability in theotherphil imagecli, published on 5 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-789

Which versions are affected by CVE-2026-70377?

How do I fix CVE-2026-70377?

No fix has been published for CVE-2026-70377 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-70377 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-70377 exists.

Sources

Also known as GHSA-6mc8-mx43-h2qw.

Is CVE-2026-70377 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free