cve.bz

CVE-2026-42046 cacalabs libcaca: Heap-based Buffer Overflow

7.8 highEPSS 0.4%

High (7.8) in cacalabs libcaca. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 31st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-05-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-122 Heap-based Buffer Overflow
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-42046 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42046?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42046?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42046 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
cacalabs libcaca<= 0.99.beta20

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libcaca0.99.beta20-3+deb12u1DEBIAN-CVE-2026-42046
Debian13libcaca0.99.beta20-5+deb13u1DEBIAN-CVE-2026-42046
Debian14libcaca0.99.beta20-7DEBIAN-CVE-2026-42046
Ubuntu22.04:LTSlibcaca0.99.beta19-2.2ubuntu4.2UBUNTU-CVE-2026-42046 USN-8318-1
Ubuntu24.04:LTSlibcaca0.99.beta20-4ubuntu0.2UBUNTU-CVE-2026-42046 USN-8318-1
Ubuntu25.10libcaca0.99.beta20-5ubuntu0.25.10.2UBUNTU-CVE-2026-42046 USN-8318-1
Ubuntu26.04:LTSlibcaca0.99.beta20-6ubuntu2.1UBUNTU-CVE-2026-42046 USN-8318-1
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 1 morelibcacano fix listedUBUNTU-CVE-2026-42046
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morelibcaca0.99.beta19.git20171003-150200.11.12.1SUSE-SU-2026:2424-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6libcaca0.99.beta20-150600.3.3.1SUSE-SU-2026:2423-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5libcaca0.99.beta18-14.15.1SUSE-SU-2026:2394-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0libcaca0.99.beta20-160000.3.1SUSE-SU-2026:22175-1
openSUSELeap 16.0libcaca0.99.beta20-160000.3.1openSUSE-SU-2026:21101-1
openSUSETumbleweedlibcaca0.99.beta20+git.1776622070.7c8e333-1.1openSUSE-SU-2026:10834-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON