Advisory

UBUNTU-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-05-27 14:00 UTC

Affected packages and fixes

libcaca

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 0.99.beta19-2.2ubuntu4.2 (ecosystem)

Fixed versions

0.99.beta19-2.2ubuntu4.2

Fix

  • Fixed version 0.99.beta19-2.2ubuntu4.2
    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) · Ubuntu 24.04

Affected

  • introduced 0, fixed 0.99.beta20-4ubuntu0.2 (ecosystem)

Fixed versions

0.99.beta20-4ubuntu0.2

Fix

  • Fixed version 0.99.beta20-4ubuntu0.2
    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) · Ubuntu 25.10

Affected

  • introduced 0, fixed 0.99.beta20-5ubuntu0.25.10.2 (ecosystem)

Fixed versions

0.99.beta20-5ubuntu0.25.10.2

Fix

  • Fixed version 0.99.beta20-5ubuntu0.25.10.2
    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) · Ubuntu 26.04

Affected

  • introduced 0, fixed 0.99.beta20-6ubuntu2.1 (ecosystem)

Fixed versions

0.99.beta20-6ubuntu2.1

Fix

  • Fixed version 0.99.beta20-6ubuntu2.1
    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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences