CVE-2026-42046

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.
Configurations

No configuration.

History

12 May 2026, 14:17

Type Values Removed Values Added
References () https://github.com/cacalabs/libcaca/security/advisories/GHSA-4vvg-vrqv-m56w - () https://github.com/cacalabs/libcaca/security/advisories/GHSA-4vvg-vrqv-m56w -

11 May 2026, 22:22

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-11 22:22

Updated : 2026-05-13 18:31


NVD link : CVE-2026-42046

Mitre link : CVE-2026-42046

CVE.ORG link : CVE-2026-42046


JSON object : View

Products Affected

No product.

CWE
CWE-122

Heap-based Buffer Overflow

CWE-190

Integer Overflow or Wraparound

CWE-787

Out-of-bounds Write