CVE catalog

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-bound

[CVE catalog]

Severity
High · CVSS 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.22% · Oct 25, 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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibcacasid0.99.beta20-8fixed
Debianlibcacaforky0.99.beta20-8fixed
Debianlibcacatrixie0.99.beta20-5+deb13u1fixed
Debianlibcacabookworm0.99.beta20-3+deb12u1fixed
CpelibcacaNot reported0.99.beta20-4ubuntu0.2fixed
Cpecaca-utilsNot reported0.99.beta20-4ubuntu0.2fixed
Cpelibcaca-devNot reported0.99.beta20-4ubuntu0.2fixed
Cpelibcaca0Not reported0.99.beta20-4ubuntu0.2fixed
CpelibcacaNot reported0.99.beta20-3+deb12u1fixed
Opensuselibcacaleap 16.00.99.beta20-160000.3.1fixed
Suselibcacalinux enterprise server 16.00.99.beta20-160000.3.1fixed
Suselibcacalinux enterprise server for sap applications 16.00.99.beta20-160000.3.1fixed
Suselibcacalinux enterprise module for basesystem 15 sp70.99.beta20-150600.3.3.1fixed
Suselibcacalinux enterprise server 15 sp6-ltss0.99.beta20-150600.3.3.1fixed
Suselibcacalinux enterprise server for sap applications 15 sp60.99.beta20-150600.3.3.1fixed
Suselibcacalinux enterprise high performance computing 15 sp4-espos0.99.beta19.git20171003-150200.11.12.1fixed
Suselibcacalinux enterprise high performance computing 15 sp4-ltss0.99.beta19.git20171003-150200.11.12.1fixed
Suselibcacalinux enterprise high performance computing 15 sp5-espos0.99.beta19.git20171003-150200.11.12.1fixed
Suselibcacalinux enterprise high performance computing 15 sp5-ltss0.99.beta19.git20171003-150200.11.12.1fixed
Suselibcacalinux enterprise server 15 sp4-ltss0.99.beta19.git20171003-150200.11.12.1fixed
Suselibcacalinux enterprise server 15 sp5-ltss0.99.beta19.git20171003-150200.11.12.1fixed
Suselibcacalinux enterprise server for sap applications 15 sp40.99.beta19.git20171003-150200.11.12.1fixed
Suselibcacalinux enterprise server for sap applications 15 sp50.99.beta19.git20171003-150200.11.12.1fixed
Suselibcacalinux enterprise server 12 sp5-ltss0.99.beta18-14.15.1fixed
Suselibcacalinux enterprise server ltss extended security 12 sp50.99.beta18-14.15.1fixed
Ubuntulibcaca22.040.99.beta19-2.2ubuntu2vulnerable
Ubuntulibcaca22.040.99.beta19-2.2ubuntu3vulnerable
Ubuntulibcaca22.040.99.beta19-2.2ubuntu4vulnerable
Ubuntulibcaca22.040.99.beta19-2.2ubuntu4.1vulnerable
Ubuntulibcaca22.040.99.beta19-2.2ubuntu4.2fixed
Ubuntulibcaca24.040.99.beta20-3build1vulnerable
Ubuntulibcaca24.040.99.beta20-4vulnerable
Ubuntulibcaca24.040.99.beta20-4build1vulnerable
Ubuntulibcaca24.040.99.beta20-4build2vulnerable
Ubuntulibcaca24.040.99.beta20-4ubuntu0.1vulnerable
Ubuntulibcaca24.040.99.beta20-4ubuntu0.2fixed
Ubuntulibcaca25.100.99.beta20-5vulnerable
Ubuntulibcaca25.100.99.beta20-5ubuntu0.25.10.1vulnerable
Ubuntulibcaca25.100.99.beta20-5ubuntu0.25.10.2fixed
Ubuntulibcaca26.040.99.beta20-5vulnerable
Ubuntulibcaca26.040.99.beta20-6vulnerable
Ubuntulibcaca26.040.99.beta20-6ubuntu1vulnerable
Ubuntulibcaca26.040.99.beta20-6ubuntu2vulnerable
Ubuntulibcaca26.040.99.beta20-6ubuntu2.1fixed
Ubuntulibcacapro0.99.beta19-2.1vulnerable
Ubuntulibcacapro0.99.beta19-2.1ubuntu1vulnerable
Ubuntulibcacapro0.99.beta19-2.1ubuntu1.20.04.1vulnerable
Ubuntulibcacapro0.99.beta19-2.1ubuntu1.20.04.2vulnerable
Ubuntulibcacapro0.99.beta19-2.1ubuntu1.20.04.2+esm1vulnerable
Ubuntulibcaca22.040.99.beta19-2.2ubuntu2vulnerable
Ubuntulibcaca22.040.99.beta19-2.2ubuntu3vulnerable
Ubuntulibcaca22.040.99.beta19-2.2ubuntu4vulnerable
Ubuntulibcaca22.040.99.beta19-2.2ubuntu4.1vulnerable
Ubuntulibcaca22.040.99.beta19-2.2ubuntu4.2fixed
Ubuntulibcaca24.040.99.beta20-3build1vulnerable
Ubuntulibcaca24.040.99.beta20-4vulnerable
Ubuntulibcaca24.040.99.beta20-4build1vulnerable
Ubuntulibcaca24.040.99.beta20-4build2vulnerable
Ubuntulibcaca24.040.99.beta20-4ubuntu0.1vulnerable
Ubuntulibcaca24.040.99.beta20-4ubuntu0.2fixed
Ubuntulibcaca25.100.99.beta20-5vulnerable
Ubuntulibcaca25.100.99.beta20-5ubuntu0.25.10.1vulnerable
Ubuntulibcaca25.100.99.beta20-5ubuntu0.25.10.2fixed
Ubuntulibcaca26.040.99.beta20-5vulnerable
Ubuntulibcaca26.040.99.beta20-6vulnerable
Ubuntulibcaca26.040.99.beta20-6ubuntu1vulnerable
Ubuntulibcaca26.040.99.beta20-6ubuntu2vulnerable
Ubuntulibcaca26.040.99.beta20-6ubuntu2.1fixed
Opensuselibcacatumbleweed0.99.beta20+git.1776622070.7c8e333-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibcacasourcesid0.99.beta20-7not yet assignedNot reported[1136952]
Debianlibcacasourceforky0.99.beta20-7not yet assignedNot reported[1136952]
Debianlibcacasourcetrixie0.99.beta20-5+deb13u1not yet assignedNot reported[1136952]
Debianlibcacasourcebookworm0.99.beta20-3+deb12u1not yet assignedNot reported[1136952]
CpelibcacacpeNot reported0.99.beta20-4ubuntu0.2Not reportedNot reportedNot reported
Cpecaca-utilscpeNot reported0.99.beta20-4ubuntu0.2Not reportedNot reportedNot reported
Cpelibcaca-devcpeNot reported0.99.beta20-4ubuntu0.2Not reportedNot reportedNot reported
Cpelibcaca0cpeNot reported0.99.beta20-4ubuntu0.2Not reportedNot reportedNot reported
CpelibcacacpeNot reported0.99.beta20-3+deb12u1Not reportedNot reportedNot reported
Opensuselibcacarpmleap 16.00.99.beta20-160000.3.1Not reportedOPENSUSE-SU-2026:21101-1Not reported
Suselibcacarpmlinux enterprise server 16.00.99.beta20-160000.3.1Not reportedSUSE-SU-2026:22175-1Not reported
Suselibcacarpmlinux enterprise server for sap applications 16.00.99.beta20-160000.3.1Not reportedSUSE-SU-2026:22175-1Not reported
Suselibcacarpmlinux enterprise module for basesystem 15 sp70.99.beta20-150600.3.3.1Not reportedSUSE-SU-2026:2423-1Not reported
Suselibcacarpmlinux enterprise server 15 sp6-ltss0.99.beta20-150600.3.3.1Not reportedSUSE-SU-2026:2423-1Not reported
Suselibcacarpmlinux enterprise server for sap applications 15 sp60.99.beta20-150600.3.3.1Not reportedSUSE-SU-2026:2423-1Not reported
Suselibcacarpmlinux enterprise high performance computing 15 sp4-espos0.99.beta19.git20171003-150200.11.12.1Not reportedSUSE-SU-2026:2424-1Not reported
Suselibcacarpmlinux enterprise high performance computing 15 sp4-ltss0.99.beta19.git20171003-150200.11.12.1Not reportedSUSE-SU-2026:2424-1Not reported
Suselibcacarpmlinux enterprise high performance computing 15 sp5-espos0.99.beta19.git20171003-150200.11.12.1Not reportedSUSE-SU-2026:2424-1Not reported
Suselibcacarpmlinux enterprise high performance computing 15 sp5-ltss0.99.beta19.git20171003-150200.11.12.1Not reportedSUSE-SU-2026:2424-1Not reported
Suselibcacarpmlinux enterprise server 15 sp4-ltss0.99.beta19.git20171003-150200.11.12.1Not reportedSUSE-SU-2026:2424-1Not reported
Suselibcacarpmlinux enterprise server 15 sp5-ltss0.99.beta19.git20171003-150200.11.12.1Not reportedSUSE-SU-2026:2424-1Not reported
Suselibcacarpmlinux enterprise server for sap applications 15 sp40.99.beta19.git20171003-150200.11.12.1Not reportedSUSE-SU-2026:2424-1Not reported
Suselibcacarpmlinux enterprise server for sap applications 15 sp50.99.beta19.git20171003-150200.11.12.1Not reportedSUSE-SU-2026:2424-1Not reported
Suselibcacarpmlinux enterprise server 12 sp5-ltss0.99.beta18-14.15.1Not reportedSUSE-SU-2026:2394-1Not reported
Suselibcacarpmlinux enterprise server ltss extended security 12 sp50.99.beta18-14.15.1Not reportedSUSE-SU-2026:2394-1Not reported
Ubuntulibcacadeb22.040.99.beta19-2.2ubuntu4.2Not reportedUSN-8318-1Not reported
Ubuntulibcacadeb24.040.99.beta20-4ubuntu0.2Not reportedUSN-8318-1Not reported
Ubuntulibcacadeb25.100.99.beta20-5ubuntu0.25.10.2Not reportedUSN-8318-1Not reported
Ubuntulibcacadeb26.040.99.beta20-6ubuntu2.1Not reportedUSN-8318-1Not reported
Ubuntulibcacadeb22.040.99.beta19-2.2ubuntu4.2Not reportedUBUNTU-CVE-2026-42046Not reported
Ubuntulibcacadeb24.040.99.beta20-4ubuntu0.2Not reportedUBUNTU-CVE-2026-42046Not reported
Ubuntulibcacadeb25.100.99.beta20-5ubuntu0.25.10.2Not reportedUBUNTU-CVE-2026-42046Not reported
Ubuntulibcacadeb26.040.99.beta20-6ubuntu2.1Not reportedUBUNTU-CVE-2026-42046Not reported
Opensuselibcacarpmtumbleweed0.99.beta20+git.1776622070.7c8e333-1.1Not reportedOPENSUSE-SU-2026:10834-1Not reported

[Debian bug #1136952]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • [caca-utils]Unknown

    Source package: [libcaca]

    Details (1)
    • 0.99.beta20+git.1776622070.7c8e333-2.3 · x86_64 · tumbleweed

      Unknown · Fixed: 0.99.beta20+git.1776622070.7c8e333-1.1

      Version impact unknown

      nvd · libcaca · opensuse · tumbleweed

  • [libcaca0]Unknown

    Source package: [libcaca]

    Details (1)
    • 0.99.beta20+git.1776622070.7c8e333-2.3 · x86_64 · tumbleweed

      Unknown · Fixed: 0.99.beta20+git.1776622070.7c8e333-1.1

      Version impact unknown

      nvd · libcaca · opensuse · tumbleweed

  • Source package: [libcaca]

    Details (1)
    • 0.99.beta20+git.1776622070.7c8e333-2.3 · x86_64 · tumbleweed

      Unknown · Fixed: 0.99.beta20+git.1776622070.7c8e333-1.1

      Version impact unknown

      nvd · libcaca · opensuse · tumbleweed

  • Source package: [libcaca]

    Details (1)
    • 0.99.beta20+git.1776622070.7c8e333-2.3 · x86_64 · tumbleweed

      Unknown · Fixed: 0.99.beta20+git.1776622070.7c8e333-1.1

      Version impact unknown

      nvd · libcaca · opensuse · tumbleweed

  • Source package: [libcaca]

    Details (1)
    • 0.99.beta20+git.1776622070.7c8e333-2.3 · x86_64 · tumbleweed

      Unknown · Fixed: 0.99.beta20+git.1776622070.7c8e333-1.1

      Version impact unknown

      nvd · libcaca · opensuse · tumbleweed

  • [libcaca-devel]Unknown

    Source package: [libcaca]

    Details (1)
    • 0.99.beta20+git.1776622070.7c8e333-2.3 · x86_64 · tumbleweed

      Unknown · Fixed: 0.99.beta20+git.1776622070.7c8e333-1.1

      Version impact unknown

      nvd · libcaca · opensuse · tumbleweed

  • [libcaca-ruby]Unknown

    Source package: [libcaca]

    Details (1)
    • 0.99.beta20+git.1776622070.7c8e333-2.3 · x86_64 · tumbleweed

      Unknown · Fixed: 0.99.beta20+git.1776622070.7c8e333-1.1

      Version impact unknown

      nvd · libcaca · opensuse · tumbleweed

  • Source package: [libcaca]

    Details (1)
    • 0.99.beta20+git.1776622070.7c8e333-2.3 · noarch · tumbleweed

      Unknown · Fixed: 0.99.beta20+git.1776622070.7c8e333-1.1

      Version impact unknown

      nvd · libcaca · opensuse · tumbleweed

  • Source package: [libcaca]

    Details (1)
    • 0.99.beta20+git.1776622070.7c8e333-2.3 · noarch · tumbleweed

      Unknown · Fixed: 0.99.beta20+git.1776622070.7c8e333-1.1

      Version impact unknown

      nvd · libcaca · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • [caca-utils]Fixed

    Source package: [libcaca]

    Details (2)
    • 0.99.beta20-3+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 0.99.beta20-3+deb12u1

      nvd · libcaca · debian · bookworm; nvd · libcaca · debian · 12

    • 0.99.beta20-3+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 0.99.beta20-3+deb12u1

      nvd · libcaca · debian · bookworm; nvd · libcaca · debian · 12

  • [libcaca0]Fixed

    Source package: [libcaca]

    Details (2)
    • 0.99.beta20-3+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 0.99.beta20-3+deb12u1

      nvd · libcaca · debian · bookworm; nvd · libcaca · debian · 12

    • 0.99.beta20-3+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 0.99.beta20-3+deb12u1

      nvd · libcaca · debian · bookworm; nvd · libcaca · debian · 12

  • Source package: [libcaca]

    Details (2)
    • 0.99.beta20-3+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 0.99.beta20-3+deb12u1

      nvd · libcaca · debian · bookworm; nvd · libcaca · debian · 12

    • 0.99.beta20-3+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 0.99.beta20-3+deb12u1

      nvd · libcaca · debian · bookworm; nvd · libcaca · debian · 12

[Debian 13 (Trixie)]

  • [caca-utils]Fixed

    Source package: [libcaca]

    Details (2)
    • 0.99.beta20-5+deb13u1 · amd64 · trixie

      Fixed · Fixed: 0.99.beta20-5+deb13u1

      nvd · libcaca · debian · 13

    • 0.99.beta20-5+deb13u1 · arm64 · trixie

      Fixed · Fixed: 0.99.beta20-5+deb13u1

      nvd · libcaca · debian · 13

  • [libcaca0]Fixed

    Source package: [libcaca]

    Details (2)
    • 0.99.beta20-5+deb13u1 · amd64 · trixie

      Fixed · Fixed: 0.99.beta20-5+deb13u1

      nvd · libcaca · debian · 13

    • 0.99.beta20-5+deb13u1 · arm64 · trixie

      Fixed · Fixed: 0.99.beta20-5+deb13u1

      nvd · libcaca · debian · 13

  • Source package: [libcaca]

    Details (2)
    • 0.99.beta20-5+deb13u1 · amd64 · trixie

      Fixed · Fixed: 0.99.beta20-5+deb13u1

      nvd · libcaca · debian · 13

    • 0.99.beta20-5+deb13u1 · arm64 · trixie

      Fixed · Fixed: 0.99.beta20-5+deb13u1

      nvd · libcaca · debian · 13

Observed:

References