
CVE catalog
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-bound
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.22% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libcaca | sid | 0.99.beta20-8 | fixed |
| Debian | libcaca | forky | 0.99.beta20-8 | fixed |
| Debian | libcaca | trixie | 0.99.beta20-5+deb13u1 | fixed |
| Debian | libcaca | bookworm | 0.99.beta20-3+deb12u1 | fixed |
| Cpe | libcaca | Not reported | 0.99.beta20-4ubuntu0.2 | fixed |
| Cpe | caca-utils | Not reported | 0.99.beta20-4ubuntu0.2 | fixed |
| Cpe | libcaca-dev | Not reported | 0.99.beta20-4ubuntu0.2 | fixed |
| Cpe | libcaca0 | Not reported | 0.99.beta20-4ubuntu0.2 | fixed |
| Cpe | libcaca | Not reported | 0.99.beta20-3+deb12u1 | fixed |
| Opensuse | libcaca | leap 16.0 | 0.99.beta20-160000.3.1 | fixed |
| Suse | libcaca | linux enterprise server 16.0 | 0.99.beta20-160000.3.1 | fixed |
| Suse | libcaca | linux enterprise server for sap applications 16.0 | 0.99.beta20-160000.3.1 | fixed |
| Suse | libcaca | linux enterprise module for basesystem 15 sp7 | 0.99.beta20-150600.3.3.1 | fixed |
| Suse | libcaca | linux enterprise server 15 sp6-ltss | 0.99.beta20-150600.3.3.1 | fixed |
| Suse | libcaca | linux enterprise server for sap applications 15 sp6 | 0.99.beta20-150600.3.3.1 | fixed |
| Suse | libcaca | linux enterprise high performance computing 15 sp4-espos | 0.99.beta19.git20171003-150200.11.12.1 | fixed |
| Suse | libcaca | linux enterprise high performance computing 15 sp4-ltss | 0.99.beta19.git20171003-150200.11.12.1 | fixed |
| Suse | libcaca | linux enterprise high performance computing 15 sp5-espos | 0.99.beta19.git20171003-150200.11.12.1 | fixed |
| Suse | libcaca | linux enterprise high performance computing 15 sp5-ltss | 0.99.beta19.git20171003-150200.11.12.1 | fixed |
| Suse | libcaca | linux enterprise server 15 sp4-ltss | 0.99.beta19.git20171003-150200.11.12.1 | fixed |
| Suse | libcaca | linux enterprise server 15 sp5-ltss | 0.99.beta19.git20171003-150200.11.12.1 | fixed |
| Suse | libcaca | linux enterprise server for sap applications 15 sp4 | 0.99.beta19.git20171003-150200.11.12.1 | fixed |
| Suse | libcaca | linux enterprise server for sap applications 15 sp5 | 0.99.beta19.git20171003-150200.11.12.1 | fixed |
| Suse | libcaca | linux enterprise server 12 sp5-ltss | 0.99.beta18-14.15.1 | fixed |
| Suse | libcaca | linux enterprise server ltss extended security 12 sp5 | 0.99.beta18-14.15.1 | fixed |
| Ubuntu | libcaca | 22.04 | 0.99.beta19-2.2ubuntu2 | vulnerable |
| Ubuntu | libcaca | 22.04 | 0.99.beta19-2.2ubuntu3 | vulnerable |
| Ubuntu | libcaca | 22.04 | 0.99.beta19-2.2ubuntu4 | vulnerable |
| Ubuntu | libcaca | 22.04 | 0.99.beta19-2.2ubuntu4.1 | vulnerable |
| Ubuntu | libcaca | 22.04 | 0.99.beta19-2.2ubuntu4.2 | fixed |
| Ubuntu | libcaca | 24.04 | 0.99.beta20-3build1 | vulnerable |
| Ubuntu | libcaca | 24.04 | 0.99.beta20-4 | vulnerable |
| Ubuntu | libcaca | 24.04 | 0.99.beta20-4build1 | vulnerable |
| Ubuntu | libcaca | 24.04 | 0.99.beta20-4build2 | vulnerable |
| Ubuntu | libcaca | 24.04 | 0.99.beta20-4ubuntu0.1 | vulnerable |
| Ubuntu | libcaca | 24.04 | 0.99.beta20-4ubuntu0.2 | fixed |
| Ubuntu | libcaca | 25.10 | 0.99.beta20-5 | vulnerable |
| Ubuntu | libcaca | 25.10 | 0.99.beta20-5ubuntu0.25.10.1 | vulnerable |
| Ubuntu | libcaca | 25.10 | 0.99.beta20-5ubuntu0.25.10.2 | fixed |
| Ubuntu | libcaca | 26.04 | 0.99.beta20-5 | vulnerable |
| Ubuntu | libcaca | 26.04 | 0.99.beta20-6 | vulnerable |
| Ubuntu | libcaca | 26.04 | 0.99.beta20-6ubuntu1 | vulnerable |
| Ubuntu | libcaca | 26.04 | 0.99.beta20-6ubuntu2 | vulnerable |
| Ubuntu | libcaca | 26.04 | 0.99.beta20-6ubuntu2.1 | fixed |
| Ubuntu | libcaca | pro | 0.99.beta19-2.1 | vulnerable |
| Ubuntu | libcaca | pro | 0.99.beta19-2.1ubuntu1 | vulnerable |
| Ubuntu | libcaca | pro | 0.99.beta19-2.1ubuntu1.20.04.1 | vulnerable |
| Ubuntu | libcaca | pro | 0.99.beta19-2.1ubuntu1.20.04.2 | vulnerable |
| Ubuntu | libcaca | pro | 0.99.beta19-2.1ubuntu1.20.04.2+esm1 | vulnerable |
| Ubuntu | libcaca | 22.04 | 0.99.beta19-2.2ubuntu2 | vulnerable |
| Ubuntu | libcaca | 22.04 | 0.99.beta19-2.2ubuntu3 | vulnerable |
| Ubuntu | libcaca | 22.04 | 0.99.beta19-2.2ubuntu4 | vulnerable |
| Ubuntu | libcaca | 22.04 | 0.99.beta19-2.2ubuntu4.1 | vulnerable |
| Ubuntu | libcaca | 22.04 | 0.99.beta19-2.2ubuntu4.2 | fixed |
| Ubuntu | libcaca | 24.04 | 0.99.beta20-3build1 | vulnerable |
| Ubuntu | libcaca | 24.04 | 0.99.beta20-4 | vulnerable |
| Ubuntu | libcaca | 24.04 | 0.99.beta20-4build1 | vulnerable |
| Ubuntu | libcaca | 24.04 | 0.99.beta20-4build2 | vulnerable |
| Ubuntu | libcaca | 24.04 | 0.99.beta20-4ubuntu0.1 | vulnerable |
| Ubuntu | libcaca | 24.04 | 0.99.beta20-4ubuntu0.2 | fixed |
| Ubuntu | libcaca | 25.10 | 0.99.beta20-5 | vulnerable |
| Ubuntu | libcaca | 25.10 | 0.99.beta20-5ubuntu0.25.10.1 | vulnerable |
| Ubuntu | libcaca | 25.10 | 0.99.beta20-5ubuntu0.25.10.2 | fixed |
| Ubuntu | libcaca | 26.04 | 0.99.beta20-5 | vulnerable |
| Ubuntu | libcaca | 26.04 | 0.99.beta20-6 | vulnerable |
| Ubuntu | libcaca | 26.04 | 0.99.beta20-6ubuntu1 | vulnerable |
| Ubuntu | libcaca | 26.04 | 0.99.beta20-6ubuntu2 | vulnerable |
| Ubuntu | libcaca | 26.04 | 0.99.beta20-6ubuntu2.1 | fixed |
| Opensuse | libcaca | tumbleweed | 0.99.beta20+git.1776622070.7c8e333-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libcaca | source | sid | 0.99.beta20-7 | not yet assigned | Not reported | [1136952] |
| Debian | libcaca | source | forky | 0.99.beta20-7 | not yet assigned | Not reported | [1136952] |
| Debian | libcaca | source | trixie | 0.99.beta20-5+deb13u1 | not yet assigned | Not reported | [1136952] |
| Debian | libcaca | source | bookworm | 0.99.beta20-3+deb12u1 | not yet assigned | Not reported | [1136952] |
| Cpe | libcaca | cpe | Not reported | 0.99.beta20-4ubuntu0.2 | Not reported | Not reported | Not reported |
| Cpe | caca-utils | cpe | Not reported | 0.99.beta20-4ubuntu0.2 | Not reported | Not reported | Not reported |
| Cpe | libcaca-dev | cpe | Not reported | 0.99.beta20-4ubuntu0.2 | Not reported | Not reported | Not reported |
| Cpe | libcaca0 | cpe | Not reported | 0.99.beta20-4ubuntu0.2 | Not reported | Not reported | Not reported |
| Cpe | libcaca | cpe | Not reported | 0.99.beta20-3+deb12u1 | Not reported | Not reported | Not reported |
| Opensuse | libcaca | rpm | leap 16.0 | 0.99.beta20-160000.3.1 | Not reported | OPENSUSE-SU-2026:21101-1 | Not reported |
| Suse | libcaca | rpm | linux enterprise server 16.0 | 0.99.beta20-160000.3.1 | Not reported | SUSE-SU-2026:22175-1 | Not reported |
| Suse | libcaca | rpm | linux enterprise server for sap applications 16.0 | 0.99.beta20-160000.3.1 | Not reported | SUSE-SU-2026:22175-1 | Not reported |
| Suse | libcaca | rpm | linux enterprise module for basesystem 15 sp7 | 0.99.beta20-150600.3.3.1 | Not reported | SUSE-SU-2026:2423-1 | Not reported |
| Suse | libcaca | rpm | linux enterprise server 15 sp6-ltss | 0.99.beta20-150600.3.3.1 | Not reported | SUSE-SU-2026:2423-1 | Not reported |
| Suse | libcaca | rpm | linux enterprise server for sap applications 15 sp6 | 0.99.beta20-150600.3.3.1 | Not reported | SUSE-SU-2026:2423-1 | Not reported |
| Suse | libcaca | rpm | linux enterprise high performance computing 15 sp4-espos | 0.99.beta19.git20171003-150200.11.12.1 | Not reported | SUSE-SU-2026:2424-1 | Not reported |
| Suse | libcaca | rpm | linux enterprise high performance computing 15 sp4-ltss | 0.99.beta19.git20171003-150200.11.12.1 | Not reported | SUSE-SU-2026:2424-1 | Not reported |
| Suse | libcaca | rpm | linux enterprise high performance computing 15 sp5-espos | 0.99.beta19.git20171003-150200.11.12.1 | Not reported | SUSE-SU-2026:2424-1 | Not reported |
| Suse | libcaca | rpm | linux enterprise high performance computing 15 sp5-ltss | 0.99.beta19.git20171003-150200.11.12.1 | Not reported | SUSE-SU-2026:2424-1 | Not reported |
| Suse | libcaca | rpm | linux enterprise server 15 sp4-ltss | 0.99.beta19.git20171003-150200.11.12.1 | Not reported | SUSE-SU-2026:2424-1 | Not reported |
| Suse | libcaca | rpm | linux enterprise server 15 sp5-ltss | 0.99.beta19.git20171003-150200.11.12.1 | Not reported | SUSE-SU-2026:2424-1 | Not reported |
| Suse | libcaca | rpm | linux enterprise server for sap applications 15 sp4 | 0.99.beta19.git20171003-150200.11.12.1 | Not reported | SUSE-SU-2026:2424-1 | Not reported |
| Suse | libcaca | rpm | linux enterprise server for sap applications 15 sp5 | 0.99.beta19.git20171003-150200.11.12.1 | Not reported | SUSE-SU-2026:2424-1 | Not reported |
| Suse | libcaca | rpm | linux enterprise server 12 sp5-ltss | 0.99.beta18-14.15.1 | Not reported | SUSE-SU-2026:2394-1 | Not reported |
| Suse | libcaca | rpm | linux enterprise server ltss extended security 12 sp5 | 0.99.beta18-14.15.1 | Not reported | SUSE-SU-2026:2394-1 | Not reported |
| Ubuntu | libcaca | deb | 22.04 | 0.99.beta19-2.2ubuntu4.2 | Not reported | USN-8318-1 | Not reported |
| Ubuntu | libcaca | deb | 24.04 | 0.99.beta20-4ubuntu0.2 | Not reported | USN-8318-1 | Not reported |
| Ubuntu | libcaca | deb | 25.10 | 0.99.beta20-5ubuntu0.25.10.2 | Not reported | USN-8318-1 | Not reported |
| Ubuntu | libcaca | deb | 26.04 | 0.99.beta20-6ubuntu2.1 | Not reported | USN-8318-1 | Not reported |
| Ubuntu | libcaca | deb | 22.04 | 0.99.beta19-2.2ubuntu4.2 | Not reported | UBUNTU-CVE-2026-42046 | Not reported |
| Ubuntu | libcaca | deb | 24.04 | 0.99.beta20-4ubuntu0.2 | Not reported | UBUNTU-CVE-2026-42046 | Not reported |
| Ubuntu | libcaca | deb | 25.10 | 0.99.beta20-5ubuntu0.25.10.2 | Not reported | UBUNTU-CVE-2026-42046 | Not reported |
| Ubuntu | libcaca | deb | 26.04 | 0.99.beta20-6ubuntu2.1 | Not reported | UBUNTU-CVE-2026-42046 | Not reported |
| Opensuse | libcaca | rpm | tumbleweed | 0.99.beta20+git.1776622070.7c8e333-1.1 | Not reported | OPENSUSE-SU-2026:10834-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [caca-utils]Unknown
Source package: [libcaca]
Details (1)
0.99.beta20+git.1776622070.7c8e333-2.3· x86_64 · tumbleweedUnknown · Fixed:
0.99.beta20+git.1776622070.7c8e333-1.1Version impact unknown
nvd · libcaca · opensuse · tumbleweed
- [libcaca0]Unknown
Source package: [libcaca]
Details (1)
0.99.beta20+git.1776622070.7c8e333-2.3· x86_64 · tumbleweedUnknown · Fixed:
0.99.beta20+git.1776622070.7c8e333-1.1Version impact unknown
nvd · libcaca · opensuse · tumbleweed
- [libcaca0-32bit]Unknown
Source package: [libcaca]
Details (1)
0.99.beta20+git.1776622070.7c8e333-2.3· x86_64 · tumbleweedUnknown · Fixed:
0.99.beta20+git.1776622070.7c8e333-1.1Version impact unknown
nvd · libcaca · opensuse · tumbleweed
- [libcaca0-plugins]Unknown
Source package: [libcaca]
Details (1)
0.99.beta20+git.1776622070.7c8e333-2.3· x86_64 · tumbleweedUnknown · Fixed:
0.99.beta20+git.1776622070.7c8e333-1.1Version impact unknown
nvd · libcaca · opensuse · tumbleweed
- [libcaca0-plugins-32bit]Unknown
Source package: [libcaca]
Details (1)
0.99.beta20+git.1776622070.7c8e333-2.3· x86_64 · tumbleweedUnknown · Fixed:
0.99.beta20+git.1776622070.7c8e333-1.1Version impact unknown
nvd · libcaca · opensuse · tumbleweed
- [libcaca-devel]Unknown
Source package: [libcaca]
Details (1)
0.99.beta20+git.1776622070.7c8e333-2.3· x86_64 · tumbleweedUnknown · Fixed:
0.99.beta20+git.1776622070.7c8e333-1.1Version impact unknown
nvd · libcaca · opensuse · tumbleweed
- [libcaca-ruby]Unknown
Source package: [libcaca]
Details (1)
0.99.beta20+git.1776622070.7c8e333-2.3· x86_64 · tumbleweedUnknown · Fixed:
0.99.beta20+git.1776622070.7c8e333-1.1Version impact unknown
nvd · libcaca · opensuse · tumbleweed
- [python313-caca]Unknown
Source package: [libcaca]
Details (1)
0.99.beta20+git.1776622070.7c8e333-2.3· noarch · tumbleweedUnknown · Fixed:
0.99.beta20+git.1776622070.7c8e333-1.1Version impact unknown
nvd · libcaca · opensuse · tumbleweed
- [python314-caca]Unknown
Source package: [libcaca]
Details (1)
0.99.beta20+git.1776622070.7c8e333-2.3· noarch · tumbleweedUnknown · Fixed:
0.99.beta20+git.1776622070.7c8e333-1.1Version impact unknown
nvd · libcaca · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [caca-utils]Fixed
Source package: [libcaca]
Details (2)
0.99.beta20-3+deb12u1· amd64 · bookwormFixed · Fixed:
0.99.beta20-3+deb12u1nvd · libcaca · debian · bookworm; nvd · libcaca · debian · 12
0.99.beta20-3+deb12u1· arm64 · bookwormFixed · Fixed:
0.99.beta20-3+deb12u1nvd · libcaca · debian · bookworm; nvd · libcaca · debian · 12
- [libcaca0]Fixed
Source package: [libcaca]
Details (2)
0.99.beta20-3+deb12u1· amd64 · bookwormFixed · Fixed:
0.99.beta20-3+deb12u1nvd · libcaca · debian · bookworm; nvd · libcaca · debian · 12
0.99.beta20-3+deb12u1· arm64 · bookwormFixed · Fixed:
0.99.beta20-3+deb12u1nvd · libcaca · debian · bookworm; nvd · libcaca · debian · 12
- [libcaca-dev]Fixed
Source package: [libcaca]
Details (2)
0.99.beta20-3+deb12u1· amd64 · bookwormFixed · Fixed:
0.99.beta20-3+deb12u1nvd · libcaca · debian · bookworm; nvd · libcaca · debian · 12
0.99.beta20-3+deb12u1· arm64 · bookwormFixed · Fixed:
0.99.beta20-3+deb12u1nvd · libcaca · debian · bookworm; nvd · libcaca · debian · 12
[Debian 13 (Trixie)]
- [caca-utils]Fixed
Source package: [libcaca]
Details (2)
0.99.beta20-5+deb13u1· amd64 · trixieFixed · Fixed:
0.99.beta20-5+deb13u1nvd · libcaca · debian · 13
0.99.beta20-5+deb13u1· arm64 · trixieFixed · Fixed:
0.99.beta20-5+deb13u1nvd · libcaca · debian · 13
- [libcaca0]Fixed
Source package: [libcaca]
Details (2)
0.99.beta20-5+deb13u1· amd64 · trixieFixed · Fixed:
0.99.beta20-5+deb13u1nvd · libcaca · debian · 13
0.99.beta20-5+deb13u1· arm64 · trixieFixed · Fixed:
0.99.beta20-5+deb13u1nvd · libcaca · debian · 13
- [libcaca-dev]Fixed
Source package: [libcaca]
Details (2)
0.99.beta20-5+deb13u1· amd64 · trixieFixed · Fixed:
0.99.beta20-5+deb13u1nvd · libcaca · debian · 13
0.99.beta20-5+deb13u1· arm64 · trixieFixed · Fixed:
0.99.beta20-5+deb13u1nvd · libcaca · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10834-1.json]
- [https://github.com/cacalabs/libcaca/commit/fb77acff9ba6bb01d53940da34fb10f20b156a23]
- [https://github.com/cacalabs/libcaca/issues/86]
- [https://github.com/cacalabs/libcaca/security/advisories/GHSA-4vvg-vrqv-m56w]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-42046]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-42046]
- [https://osv.dev/vulnerability/SUSE-SU-2026:22175-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:2394-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:2423-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:2424-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-42046]
- [https://osv.dev/vulnerability/USN-8318-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10834-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:21101-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-42046]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42046.json]
- [https://ubuntu.com/security/notices/USN-8318-1]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]