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

Tue, 12 May 2026 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 12 May 2026 10:45:00 +0000

Type Values Removed Values Added
First Time appeared Cacalabs
Cacalabs libcaca
Vendors & Products Cacalabs
Cacalabs libcaca

Mon, 11 May 2026 22:00:00 +0000

Type Values Removed Values Added
Description 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.
Title libcaca: Heap OOB write in canvas import functions caused by int overflow
Weaknesses CWE-122
CWE-190
CWE-787
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2026-05-11T21:23:35.259Z

Updated: 2026-05-12T13:16:37.138Z

Reserved: 2026-04-23T16:05:01.709Z

Link: CVE-2026-42046

cve-icon Vulnrichment

Updated: 2026-05-12T13:16:23.098Z

cve-icon NVD

Status : Received

Published: 2026-05-11T22:22:11.130

Modified: 2026-05-12T14:17:04.820

Link: CVE-2026-42046

cve-icon Redhat

No data.