Advisory

DEBIAN-CVE-2026-42046

Also known as: CVE-2026-42046

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2026-05-11 22:22 UTC
Modified
2026-10-27 09:47 UTC

Affected packages and fixes

libcaca

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 0.99.beta20-3+deb12u1 (ecosystem)

Fixed versions

0.99.beta20-3+deb12u1

Fix

  • Fixed version 0.99.beta20-3+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libcaca

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 0.99.beta20-5+deb13u1 (ecosystem)

Fixed versions

0.99.beta20-5+deb13u1

Fix

  • Fixed version 0.99.beta20-5+deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libcaca

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 0.99.beta20-7 (ecosystem)

Fixed versions

0.99.beta20-7

Fix

  • Fixed version 0.99.beta20-7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences