CVE-2026-42046

high
Published 2026-05-11 Β· Modified 2026-05-13
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4 NEW
β€”
not yet in upstream
VIR risk
7.8

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.

Predictions

Exploit likelihood
75%
Patch ETA
β€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker Β· View original β†— Β· DFSG

CVE-2026-42046 NameCVE-2026-42046 Descriptionlibcaca 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…

CVE-2026-42046

NameCVE-2026-42046
Descriptionlibcaca 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1136952

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libcaca (PTS)bullseye0.99.beta19-2.2vulnerable
bullseye (security)0.99.beta19-2.2+deb11u1vulnerable
bookworm0.99.beta20-3vulnerable
trixie0.99.beta20-5vulnerable
forky0.99.beta20-6vulnerable
sid0.99.beta20-7fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libcacasource(unstable)0.99.beta20-71136952

Notes

[trixie] - libcaca <no-dsa> (Minor issue)
[bookworm] - libcaca <no-dsa> (Minor issue)
https://github.com/cacalabs/libcaca/security/advisories/GHSA-4vvg-vrqv-m56w
https://github.com/cacalabs/libcaca/issues/86
Fixed by: https://github.com/cacalabs/libcaca/commit/fb77acff9ba6bb01d53940da34fb10f20b156a23

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
[trixie] - libcaca <no-dsa> (Minor issue)[bookworm] - libcaca <no-dsa> (Minor issue)https://github.com/cacalabs/libcaca/security/advisories/GHSA-4vvg-vrqv-m56whttps://github.com/cacalabs/libcaca/issues/86Fixed by: https://github.com/cacalabs/libcaca/commit/fb77acff9ba6bb01d53940da34fb10f20b156a23

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
β€” Affected β€”
debian Debian Mixed 5 releases
VersionStatusFixed in
trixie Affected β€”
sid Fixed 0.99.beta20-7
forky Fixed 0.99.beta20-7
bullseye Affected β€”
bookworm Affected β€”

References

CWEs

CWE-122 CWE-190 CWE-787

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.