CVE-2026-70378
published high CVSS 3.1 · 7.5imagecli - Negative carve Ratio Bypasses Bounds Check and Crashes Process via Reachable Panic
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| theotherphil | — | imagecli0 through 0.2.1 · Other versions: unknown | Affected | Not stated | TuranSec |
Description
imagecli's pipeline operation (Carve::apply in src/image_ops.rs) only asserts , 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- TuranSec · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| theotherphil | imagecli | 0 through 0.2.1 (affected · custom)Default: unknown | TuranSec · cna |
Weaknesses
1- CWE-1284 CWE-1284 Improper Validation of Specified Quantity in Input
References
1Provider assertions
2TuranSec · cna
imagecli - Negative carve Ratio Bypasses Bounds Check and Crashes Process via Reachable Panic
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6b6c5cdfbb46c035ab87587763fbea8e8a88b2372bb50d1e244903db38d8e991
- Ingested
- 23 Sep 2026, 09:28:47 UTC
- Source record
- Official CVE record