CVE-2026-42046: cacalabs libcaca · Heap-based Buffer Overflow
Affects cacalabs libcacaSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 7.8 High.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 30% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 11 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| cacalabslibcaca | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The vulnerability is fixed in commit fb77acff9ba6bb01d53940da34fb10f20b156a23, so upgrading libcaca to a version including this commit is recommended once available. Until then, avoid processing untrusted 'caca' format files. Monitor official vendor channels for an official patch release and apply it promptly.
Description
CVE-2026-42046 is a heap-based buffer overflow vulnerability in libcaca versions 0.99.beta20 and earlier. It arises from an integer overflow in the canvas import functionality when processing crafted 'caca' format files. This vulnerability can lead to controlled heap out-of-bounds writes, potentially causing memory corruption or remote code execution depending on the build and memory allocator. It is a recurrence of CVE-2021-3410, with the previous fix being incomplete. A specific commit (fb77acff9ba6bb01d53940da34fb10f20b156a23) addresses this issue. The CVSS score is 7.8, indicating high severity.