# CVE-2026-42046: libcaca: libcaca is a colour ASCII art library

CVE-2026-42046 is fixed in 3 products on 1 platform, first by caca-utils 0.99.beta19-2.2ubuntu4.2, released May 11, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-42046
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0037
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 11, 2026

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | caca-utils Ubuntu 22.04.1 LTS (jammy) | 0.99.beta19-2.2ubuntu4.2 | [caca-utils 0.99.beta19-2.2ubuntu4.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-caca-utils-0.99.beta19-2.2ubuntu4.2.md) | May 11, 2026 |
| Linux | caca-utils Ubuntu 24.04.5 LTS (noble) | 0.99.beta20-4ubuntu0.2 | [caca-utils 0.99.beta20-4ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-caca-utils-0.99.beta20-4ubuntu0.2.md) | May 11, 2026 |
| Linux | caca-utils Ubuntu 25.10 (questing) | 0.99.beta20-5ubuntu0.25.10.2 | [caca-utils 0.99.beta20-5ubuntu0.25.10.2](https://patchblox.com/security/data/fix/linux/ubuntu-questing-caca-utils-0.99.beta20-5ubuntu0.25.10.2.md) | May 11, 2026 |
| Linux | caca-utils Ubuntu 26.04.1 LTS (resolute) | 0.99.beta20-6ubuntu2.1 | [caca-utils 0.99.beta20-6ubuntu2.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-caca-utils-0.99.beta20-6ubuntu2.1.md) | May 11, 2026 |
| Linux | libcaca Debian 12.15 (bookworm) | 0.99.beta20-3+deb12u1 | [DEBIAN-CVE-2026-42046](https://patchblox.com/security/data/fix/linux/debian-cve-2026-42046.md) | May 11, 2026 |
| Linux | libcaca Debian 13.5 (trixie) | 0.99.beta20-5+deb13u1 | [DEBIAN-CVE-2026-42046](https://patchblox.com/security/data/fix/linux/debian-cve-2026-42046.md) | May 11, 2026 |
| Linux | libcaca Debian 14 | 0.99.beta20-7 | [DEBIAN-CVE-2026-42046](https://patchblox.com/security/data/fix/linux/debian-cve-2026-42046.md) | May 11, 2026 |
| Linux | libcaca opensuse-leap 16.0 | 0.99.beta20-160000.3.1 | [OPENSUSE-SU-2026:21101-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21101-1.md) | Jun 19, 2026 |
| Linux | libcaca sles 15.6 | 0.99.beta20-150600.3.3.1 | [SUSE-SU-2026:2423-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2423-1.md) | Jun 16, 2026 |
| Linux | libcaca sles 15.7 | 0.99.beta20-150600.3.3.1 | [SUSE-SU-2026:2423-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2423-1.md) | Jun 16, 2026 |
| Linux | libcaca sles 16.0 | 0.99.beta20-160000.3.1 | [SUSE-SU-2026:22175-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22175-1.md) | Jun 19, 2026 |
| Linux | libcaca0 Ubuntu 22.04.1 LTS (jammy) | 0.99.beta19-2.2ubuntu4.2 | [libcaca0 0.99.beta19-2.2ubuntu4.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libcaca0-0.99.beta19-2.2ubuntu4.2.md) | May 11, 2026 |
| Linux | libcaca0 Ubuntu 24.04.5 LTS (noble) | 0.99.beta20-4ubuntu0.2 | [libcaca0 0.99.beta20-4ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libcaca0-0.99.beta20-4ubuntu0.2.md) | May 11, 2026 |
| Linux | libcaca0 Ubuntu 25.10 (questing) | 0.99.beta20-5ubuntu0.25.10.2 | [libcaca0 0.99.beta20-5ubuntu0.25.10.2](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libcaca0-0.99.beta20-5ubuntu0.25.10.2.md) | May 11, 2026 |
| Linux | libcaca0 Ubuntu 26.04.1 LTS (resolute) | 0.99.beta20-6ubuntu2.1 | [libcaca0 0.99.beta20-6ubuntu2.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libcaca0-0.99.beta20-6ubuntu2.1.md) | May 11, 2026 |

---

Data as of 2026-11-09T07:25:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
