CVE-2026-70377: CWE-789 Uncontrolled Memory Allocation in theotherphil imagecli
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.
AI Analysis
Technical Summary
The vulnerability in imagecli's Scale::apply function (src/image_ops.rs) involves computing output dimensions by multiplying a dimension by a ratio parsed from user input without any range checks. The ratio is parsed using nom::number::complete::float but lacks validation on its value, leading to uncontrolled memory allocation (CWE-789). This can cause remote denial of service by crashing applications embedding imagecli that accept user-controlled pipeline strings.
Potential Impact
The vulnerability can cause a denial of service by crashing the affected application remotely. There is no impact on confidentiality or integrity reported. The CVSS score of 7.5 reflects a high severity denial of service vulnerability exploitable remotely without privileges or user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, applications embedding imagecli should avoid processing untrusted user-controlled pipeline strings or implement input validation to restrict the ratio parameter to safe bounds.
CVE-2026-70377: CWE-789 Uncontrolled Memory Allocation in theotherphil imagecli
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.
CVSS v3.1
Score 7.5high
Affected software
theotherphil
imagecli
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in imagecli's Scale::apply function (src/image_ops.rs) involves computing output dimensions by multiplying a dimension by a ratio parsed from user input without any range checks. The ratio is parsed using nom::number::complete::float but lacks validation on its value, leading to uncontrolled memory allocation (CWE-789). This can cause remote denial of service by crashing applications embedding imagecli that accept user-controlled pipeline strings.
Potential Impact
The vulnerability can cause a denial of service by crashing the affected application remotely. There is no impact on confidentiality or integrity reported. The CVSS score of 7.5 reflects a high severity denial of service vulnerability exploitable remotely without privileges or user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, applications embedding imagecli should avoid processing untrusted user-controlled pipeline strings or implement input validation to restrict the ratio parameter to safe bounds.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- TuranSec
- Date Reserved
- 2026-08-04T07:13:07.993Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a72e5cbbf8831d539735234
Added to database: 08/05/2026, 07:27:07 UTC
Last enriched: 08/12/2026, 14:24:38 UTC
Last updated: 09/17/2026, 22:01:37 UTC
Views: 25
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.