VDB

CVE-2026-42046

CVE-2026-42046 PUBLISHED CVSS 7.8 HIGH

libcaca: Heap OOB write in canvas import functions caused by int overflow

Reported by github_m · Published May 11, 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.

EPSS 0.37% · 31.1th percentile

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score
0.37%
31.1th percentile

Affected products

VendorProductVersions
cacalabslibcaca<= 0.99.beta20
cacalabslibcaca<= 0.99.beta20

Timeline

  • May 11, 2026 CVE Published
  • May 12, 2026 CVE Updated
  • May 15, 2026 Security Advisory
  • May 18, 2026 EPSS Score (30 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-42046
vulnetix vdb fixes CVE-2026-42046

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-42046/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›