Skip to main content
CVE-2026-42046VulnerabilityPublished Updated

In 0.99.beta20 and earlier, an integer overflow vulnerability in libcaca's canvas import functionality allows an

Affects libcacaSource GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2026-42046· High 7.8

Not known to be exploited · CVSS 7.8 High · fixed in 0.99.beta19-2.2ubuntu4.2 : patch libcaca soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
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.
Patch
Available – fixed in 0.99.beta19-2.2ubuntu4.2, 0.99.beta20-4ubuntu0.2, 0.99.beta20-5ubuntu0.25.10.2 +1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSlibcacapkg:deb/ubuntu/libcaca?arch=source&distro=resoluteOther threatsAffected
  • <0.99.beta20-6ubuntu2.1
Fixed in
  • 0.99.beta20-6ubuntu2.1
Ubuntu 25.10libcacapkg:deb/ubuntu/libcaca?arch=source&distro=questingOther threatsAffected
  • <0.99.beta20-5ubuntu0.25.10.2
Fixed in
  • 0.99.beta20-5ubuntu0.25.10.2
Ubuntu 24.04 LTSlibcacapkg:deb/ubuntu/libcaca?arch=source&distro=nobleOther threatsAffected
  • <0.99.beta20-4ubuntu0.2
Fixed in
  • 0.99.beta20-4ubuntu0.2
Ubuntu 22.04 LTSlibcacapkg:deb/ubuntu/libcaca?arch=source&distro=jammyOther threatsAffected
  • <0.99.beta19-2.2ubuntu4.2
Fixed in
  • 0.99.beta19-2.2ubuntu4.2
Ubuntu Pro 20.04 LTSlibcacapkg:deb/ubuntu/libcaca?arch=source&distro=esm-infra/focalOther threatsAffected
  • 0.99.beta19-2.1 – 0.99.beta19-2.1ubuntu1.20.04.2+esm1
5 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSlibcacapkg:deb/ubuntu/libcaca?arch=source&distro=esm-infra/bionicOther threatsAffected
  • 0.99.beta19-2build2~gcc5.2 – 0.99.beta19-2ubuntu0.18.04.3+esm1
6 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…