Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify service embedding imagecli with user-controlled pipeline input
-
DeliveryCraft pipeline string containing 'scale 100000'
-
ExploitSubmit single HTTP request
-
Installnom::float parses ratio with no range check
-
C2Scale::apply() computes terabyte-scale output dimensions
-
ExecuteHost process aborts on allocation failure
-
ImpactService 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 |
| 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-reachable via embedding applications requiring no auth; purely an availability impact (process abort) with no confidentiality or integrity effect.
Primary rating from Vendor (TuranSec).
CVSS VectorVendor: TuranSec
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-53197
GHSA-6mc8-mx43-h2qw
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB