CVE-2026-42046

HIGH CVSS 3.1: 7.8 EPSS 0.37%
Updated Oct 26, 2026
libcaca
Parameter Value
CVSS 7.8 (HIGH)
Type CWE-787 (Out-of-bounds Write), CWE-190 (Integer Overflow), CWE-122 (Heap-based Buffer Overflow)
Vendor libcaca
Public PoC No

libcaca is a colour ASCII art library. In 0.99.beta20 and earlier, an integer overflow vulnerability in libcaca's canvas import functionality allows an attacker to cause a controlled heap out-of-bounds write (heap overflow) by supplying a crafted file in the "caca" format. Depending on the build configuration and memory allocator, this may lead to memory corruption or remote code execution.

This is the same vulnerability as CVE-2021-3410 but the fix at that time was not fully correct. Commit fb77acff9ba6bb01d53940da34fb10f20b156a23 fixes this vulnerability.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1