๐Ÿ” CVE Alert

CVE-2026-42046

HIGH 7.8

libcaca: Heap OOB write in canvas import functions caused by int overflow

CVSS Score
7.8
EPSS Score
0.1%
EPSS Percentile
20th

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.

CWE CWE-122 CWE-190 CWE-787
Vendor cacalabs
Product libcaca
Published May 11, 2026
Last Updated May 12, 2026
Stay Ahead of the Next One

Get instant alerts for cacalabs libcaca

Be the first to know when new high vulnerabilities affecting cacalabs libcaca are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

cacalabs / libcaca
<= 0.99.beta20

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/cacalabs/libcaca/security/advisories/GHSA-4vvg-vrqv-m56w github.com: https://github.com/cacalabs/libcaca/issues/86 github.com: https://github.com/cacalabs/libcaca/commit/fb77acff9ba6bb01d53940da34fb10f20b156a23