Skip to main content
Public proof of conceptFix available

CVE-2026-42046

A public proof of concept exists; no exploitation attested.

  • Published2026-05-11
  • WeaknessCWE-122 · CWE-190 · CWE-787

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-05-1122:22CVE publishedNVD

Versions per branch

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • cacalabs libcaca
    Affected
    • = <= 0.99.beta20no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-05-11

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • libcacaUbuntu:Pro:20.04:LTSall versions · no fixed version listed
  • libcacaUbuntu:Pro:18.04:LTSall versions · no fixed version listed
  • libcacaUbuntu:Pro:16.04:LTSall versions · no fixed version listed
  • libcacaUbuntu:Pro:14.04:LTSall versions · no fixed version listed
  • libcacaUbuntu:26.04:LTSall versions · fixed in 0.99.beta20-6ubuntu2.1
  • libcacaUbuntu:25.10all versions · fixed in 0.99.beta20-5ubuntu0.25.10.2
  • libcacaUbuntu:24.04:LTSall versions · fixed in 0.99.beta20-4ubuntu0.2
  • libcacaUbuntu:22.04:LTSall versions · fixed in 0.99.beta19-2.2ubuntu4.2

22 more package ranges on OSV.dev

Full record on NVD

Fix

No fix published by the sources we read yet. NVD record

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-27
  • CISA-ADPSSVC decisionpoc2026-05-12
  • CNACVSS 3.17.8known since 2026-10-27
  • CNAweakness (CWE)CWE-122, CWE-190, CWE-787known since 2026-10-27
  • FIRST EPSSEPSS score0.4 %2026-11-08
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2026-05-11
Last Modified
2026-10-26
NVD status
Deferred

Frequently asked questions

What is 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-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.

Is CVE-2026-42046 actively exploited?

A proof-of-concept exploit exists for CVE-2026-42046, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-42046?

CVE-2026-42046 has a CVSS v3 base score of 7.8 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running libcaca? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record