Input Validation Vulnerability in imagecli by TheOtherPhil
CVE-2026-70378

7.5HIGH

Key Information:

Status
Vendor
CVE Published:
5 August 2026

What is CVE-2026-70378?

The imagecli tool contains an input validation flaw in its 'carve ' pipeline operation. Specifically, the function Carve::apply() does not properly validate the input ratio, allowing a negative value to be processed. When a negative ratio is passed, the resulting target width is inaccurately computed as 0, leading to a panic in the seam_carving::shrink_width function. This issue can cause the image processing task to fail and crash the application, highlighting the critical need for input validation to prevent improper function execution.

Affected Version(s)

imagecli 0 <= 0.2.1

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

agrresore
.