Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend HTTP request with crafted pipeline input
-
DeliverySupply negative carve ratio (e.g., carve -5)
-
ExploitFloat-to-uint saturation yields computed width=0
-
ExecutionZero width forwarded to imageproc::seam_carving::shrink_width
-
PersistRuntime panic on width < 2
-
ImpactProcess crash, service availability disrupted
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Input size validation
|
| Exploitation Conditions | Exploitation requires that a target application accepts user-controlled input to imagecli's |
| Impact | The CVSS 7.5 High score is grounded in AV:N/AC:L/PR:N/UI:N/S:U/A:H, which accurately models the worst-case deployment: a web service or API that exposes imagecli pipeline strings to untrusted network users without input sanitization. However, real-world risk is substantially lower for the majority of imagecli deployments, which are CLI-only and operated by trusted users. The product's CPE uses an all-version wildcard, indicating no targeted version intelligence is available. No EPSS score, CISA KEV entry, or public exploit code was identified in the provided intelligence, suggesting this is a research disclosure rather than an actively exploited issue. The impact is strictly availability (C:N/I:N) - a process crash with no code execution, privilege escalation, or data exposure pathway. For organizations running imagecli as an internal CLI tool, risk is negligible; for any service that wraps imagecli and accepts user-controlled pipeline parameters, this is a straightforward crash trigger requiring immediate input validation. The sibling finding in the |
| Exploit ScenarioDerived | An attacker submits a crafted imagecli pipeline string containing |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
Process crash in imagecli's seam-carving pipeline allows denial of service via a negative ratio argument to the carve operation. The Carve::apply() function in src/image_ops.rs validates only that ratio <= 1.0, omitting a positivity check; a negative input saturates to zero through Rust's defined float-to-uint cast, which is forwarded to imageproc::seam_carving::shrink_width - a function that panics on widths below 2, terminating the process. No public exploit code exists and the vulnerability is not listed in CISA KEV, but the CVSS vector (AV:N/AC:L/PR:N/UI:N) reflects that any application exposing imagecli pipeline construction to untrusted input is exploitable with no authentication or interaction.
RemediationAI
The primary fix requires adding an explicit positivity check in Carve::apply() in src/image_ops.rs - asserting or returning an error when ratio <= 0.0 before the float-to-uint width calculation, alongside the existing ratio <= 1.0 upper-bound check. No vendor-released patched version has been confirmed at time of analysis; monitor https://github.com/theotherphil/imagecli/issues/67 and the imagecli GitHub releases page for an official tagged fix. As a compensating control for applications wrapping imagecli, validate and reject any non-positive value for the carve ratio parameter at the application layer before it reaches imagecli - this adds latency negligibly and eliminates the crash path without requiring an imagecli update. If imagecli is used exclusively by trusted operators via CLI, no immediate compensating action is required beyond awareness of the crash trigger.
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 command-line image processing tool authored by theotherphil (CPE: cpe:2.3:a:theotherphil:imagecli:*:*:*:*:*:*:*:*) that supports composable pipeline operations including seam carving for content-aware image resizing. The vulnerability lives in Carve::apply() in src/image_ops.rs and is classified as CWE-1284 (Improper Validation of Specified Quantity in Input): the existing assertion enforces an upper bound (ratio <= 1.0) to prevent upscaling but performs no lower-bound check. In Rust, casting a negative f32/f64 to a u32 is defined behavior that saturates to 0 - unlike C undefined behavior, but semantically incorrect for a dimension calculation. The resulting zero-width value is then passed to imageproc::seam_carving::shrink_width, which contains an explicit runtime panic requiring a minimum input width of 2, producing an unrecoverable process crash. The CVE description notes this shares its root cause with a sibling scale finding in the same file, indicating systemic missing input validation across image_ops.rs pipeline operations.
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
AV:N and PR:N apply to the network-service deployment scenario; A:H reflects unrecoverable process crash; C:N/I:N confirmed as no data exposure or write impact exists.
Primary rating from Vendor (TuranSec).
CVSS VectorVendor: TuranSec
DescriptionCVE.org
imagecli's carve <ratio> pipeline operation (Carve::apply() in src/image_ops.rs) only asserts ratio <= 1.0, never validating that the ratio is positive. A negative ratio (e.g. -5) causes the computed target width to saturate to 0 via Rust's defined float-to-uint cast, which is then passed to imageproc::seam_carving::shrink_width - a function that panics when given a width below 2, crashing the process. This shares the same missing-input-validation root cause as the sibling scale finding in the same file but is an independently fixable, distinct code path.
Executive ViewAI
imagecli, used in production image processing pipelines, contains a vulnerability allowing unauthenticated remote attackers to crash service processes on demand, causing service outages. Organizations relying on imagecli-based image processing face immediate availability risk without a vendor-provided patching option. The vulnerability requires minimal technical effort to exploit and is accessible over the network, necessitating compensating controls and architectural changes to protect services.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Application-level input validation to reject negative or zero ratio values before imagecli seam-carving invocations; (2) Network segmentation and access control limiting image processing requests to trusted internal sources only; (3) Rate limiting and request throttling to reduce denial-of-service effectiveness; (4) Service auto-restart and monitoring to recover quickly from process terminations.
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-53198
GHSA-6gxc-w5rp-4g3p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB