Skip to main content

imagecli EUVDEUVD-2026-53197

| CVE-2026-70377 HIGH
Memory Allocation with Excessive Size Value (CWE-789)
2026-08-05 TuranSec GHSA-6mc8-mx43-h2qw
7.5
CVSS 3.1 · Vendor: TuranSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify service embedding imagecli with user-controlled pipeline input
  2. Delivery
    Craft pipeline string containing 'scale 100000'
  3. Exploit
    Submit single HTTP request
  4. Install
    nom::float parses ratio with no range check
  5. C2
    Scale::apply() computes terabyte-scale output dimensions
  6. Execute
    Host process aborts on allocation failure
  7. Impact
    Service unavailable

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
Exploitation Conditions

Exploitation requires that the target application embeds imagecli as a library AND passes user-controlled pipeline strings to imagecli's pipeline processor without first validating or clamping the scale ratio argument. The scale <ratio> pipeline operation must be reachable by attacker-supplied input - this is a non-default configuration in the sense that it requires a developer integration decision to expose user-controlled pipeline strings to the library. CLI-only deployments where the operator controls all input are not at meaningful risk. Once those conditions are met, no authentication, specific OS, image type, or prior access is required - the CVSS vector (AV:N/AC:L/PR:N/UI:N) confirms unauthenticated, low-complexity remote exploitation. The limiting factor for defenders is that only applications with this specific library integration pattern are exposed.

Impact

The CVSS 7.5 High score (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) is well-calibrated for the network-accessible library embedding scenario: no authentication, no attack complexity, full availability impact. However, real-world risk is bounded by the product's deployment context - imagecli must be embedded as a library and its pipeline string interface must be exposed to attacker-controlled input for the network vector to apply; CLI-only deployments where trusted operators control all input carry negligible practical risk. EPSS data was not provided in the available intelligence, limiting probabilistic exploitation forecasting. No CISA KEV listing and no public POC code have been identified, though the vulnerability is fully self-describing from the GitHub issue, making independent reproduction trivial. The combination of trivial exploitability (single crafted string) and complete process abort makes this a high-priority fix for any embedding application, despite the product's narrow footprint.

Exploit ScenarioDerived

An attacker submits a single HTTP request to a web service that passes user input to imagecli's pipeline processor, with a body or parameter containing the pipeline string scale 100000. Scale::apply() computes output dimensions in the hundreds of terabytes, the Rust allocator immediately fails the reservation, and the host process aborts - taking the service offline with no prior foothold, authentication, or repeated requests required. No public POC code has been identified, but the attack is fully specified by the GitHub issue description.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

Uncontrolled memory allocation in imagecli's scale pipeline operation allows remote unauthenticated denial-of-service against any application embedding the library with user-controlled pipeline input. Supplying a large ratio value (e.g., scale 100000) causes Scale::apply() in src/image_ops.rs to compute output dimensions that trigger an attempted allocation of hundreds of terabytes, aborting the host process immediately. No active exploitation (CISA KEV) has been identified, but the attack is self-describing from the public GitHub issue and requires no authentication per the CVSS vector (PR:N, AC:L).

RemediationAI

No vendor-released patch has been identified at time of analysis - the issue is open in the upstream repository at https://github.com/theotherphil/imagecli/issues/66 with no confirmed fix commit or tagged release. As a primary compensating control, applications embedding imagecli should enforce an explicit upper bound on the scale ratio before constructing or passing pipeline strings to imagecli's processor - for example, clamping the ratio to a safe maximum (e.g., ratio ≤ 100.0) at the application layer; this trades some functionality for process safety and is non-breaking for legitimate use cases. Alternatively, if the scale pipeline operation is not required for the application's use case, block or strip scale commands from user-supplied pipeline strings entirely. For deployments where only trusted operators supply pipeline strings, restrict OS-level access to the embedding application. Monitor https://github.com/theotherphil/imagecli for a patch and apply it promptly upon release.

Affected VersionsENISA

imagecli 0 ≤0.2.1

Affected Packages

euvd imagecli no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

imagecli is a Rust-based image processing CLI library authored by theotherphil (CPE: cpe:2.3:a:theotherphil:imagecli:*:*:*:*:*:*:*:*). The vulnerability is in Scale::apply() in src/image_ops.rs, where the output image dimensions are computed as (dimension as f32 * ratio) as u32. The ratio operand is parsed from the user-supplied pipeline string using nom::number::complete::float, a lexical floating-point parser that applies no range constraint. Because the resulting u32 dimension is passed directly to the image buffer allocator without an upper-bound check, an attacker-supplied ratio of 100000 or greater causes the runtime to attempt a terabyte-scale heap allocation, which fails catastrophically and aborts the process. CWE-789 (Uncontrolled Memory Allocation) precisely classifies this root cause: the program sizes an allocation using an unvalidated, attacker-controlled value.

Know when Imagecli gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (TuranSec) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Network-reachable via embedding applications requiring no auth; purely an availability impact (process abort) with no confidentiality or integrity effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

imagecli's scale <ratio> 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. A large ratio (e.g. 100000) causes an attempted allocation of hundreds of terabytes, aborting the process. Any application embedding imagecli as a library and accepting user-controlled pipeline strings is remotely crashable with a single request.

Executive ViewAI

Why It Matters

imagecli library contains an uncontrolled memory allocation vulnerability (CVE-2026-70377, CVSS 7.5) allowing remote unauthenticated denial-of-service attacks against any application embedding it. Publicly available exploit code exists, no vendor patch is available, and all systems using imagecli face immediate production risk from trivial attack vectors.

Business Impact: High
Compensating Controls

Implement strict input validation on scale ratio parameters (enforce reasonable maximums such as 1000x), deploy process resource limits via cgroups or container memory constraints, enable rate limiting on image processing endpoints, and monitor for unusual activity in image processing logs. Disable image scaling if not operationally required. Monitor imagecli repository for security updates.

Threat Intelligence Overview

EPSS Score
0.4%
Top 72% exploitable
Prevalence
Rare
niche Rust image CLI library, minimal enterprise production adoption
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy