Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-42046

Type: advisorySource: OSV1 source record

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.

Announced Group revision 1
Original source ↗

DEBIAN-CVE-2026-42046

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-42046

libcaca

Source reference: /affected/0/package/name

Affected versions
0.99.beta20-3

Source reference: /affected/0/versions

Fixed versions
0.99.beta20-3+deb12u1

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

libcaca

Source reference: /affected/1/package/name

Affected versions
0.99.beta20-5

Source reference: /affected/1/versions

Fixed versions
0.99.beta20-5+deb13u1

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

libcaca

Source reference: /affected/2/package/name

Affected versions
0.99.beta20-5

Source reference: /affected/2/versions

0.99.beta20-6

Source reference: /affected/2/versions

Fixed versions
0.99.beta20-7

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "0.99.beta20-3+deb12u1"
          }
        ]
      }
    ],
    "package": {
      "name": "libcaca",
      "purl": "pkg:deb/debian/libcaca?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "0.99.beta20-3"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42046.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "0.99.beta20-5+deb13u1"
          }
        ]
      }
    ],
    "package": {
      "name": "libcaca",
      "purl": "pkg:deb/debian/libcaca?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "0.99.beta20-5"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42046.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "0.99.beta20-7"
          }
        ]
      }
    ],
    "package": {
      "name": "libcaca",
      "purl": "pkg:deb/debian/libcaca?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "0.99.beta20-5",
      "0.99.beta20-6"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42046.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#57669 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement