UBUNTU-CVE-2026-42046 (CVE-2026-42046)
Vulnerability from osv_ubuntu – Published: 2026-05-11 22:22 – Updated: 2026-05-27 13:58 – Source websitelibcaca 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.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "caca-utils",
"binary_version": "0.99.beta18-1ubuntu5.1+esm3"
},
{
"binary_name": "libcaca0",
"binary_version": "0.99.beta18-1ubuntu5.1+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "libcaca",
"purl": "pkg:deb/ubuntu/libcaca@0.99.beta18-1ubuntu5.1+esm3?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.99.beta18-1ubuntu2",
"0.99.beta18-1ubuntu3",
"0.99.beta18-1ubuntu4",
"0.99.beta18-1ubuntu5",
"0.99.beta18-1ubuntu5.1",
"0.99.beta18-1ubuntu5.1+esm1",
"0.99.beta18-1ubuntu5.1+esm2",
"0.99.beta18-1ubuntu5.1+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "caca-utils",
"binary_version": "0.99.beta19-2ubuntu0.16.04.2+esm2"
},
{
"binary_name": "libcaca0",
"binary_version": "0.99.beta19-2ubuntu0.16.04.2+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "libcaca",
"purl": "pkg:deb/ubuntu/libcaca@0.99.beta19-2ubuntu0.16.04.2+esm2?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.99.beta19-2build2~gcc5.1",
"0.99.beta19-2build2~gcc5.2",
"0.99.beta19-2ubuntu0.16.04.1",
"0.99.beta19-2ubuntu0.16.04.2",
"0.99.beta19-2ubuntu0.16.04.2+esm1",
"0.99.beta19-2ubuntu0.16.04.2+esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "caca-utils",
"binary_version": "0.99.beta19-2ubuntu0.18.04.3+esm1"
},
{
"binary_name": "libcaca0",
"binary_version": "0.99.beta19-2ubuntu0.18.04.3+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "libcaca",
"purl": "pkg:deb/ubuntu/libcaca@0.99.beta19-2ubuntu0.18.04.3+esm1?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.99.beta19-2build2~gcc5.2",
"0.99.beta19-2build2~gcc5.3",
"0.99.beta19-2ubuntu0.18.04.1",
"0.99.beta19-2ubuntu0.18.04.2",
"0.99.beta19-2ubuntu0.18.04.3",
"0.99.beta19-2ubuntu0.18.04.3+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "caca-utils",
"binary_version": "0.99.beta19-2.1ubuntu1.20.04.2+esm1"
},
{
"binary_name": "libcaca0",
"binary_version": "0.99.beta19-2.1ubuntu1.20.04.2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "libcaca",
"purl": "pkg:deb/ubuntu/libcaca@0.99.beta19-2.1ubuntu1.20.04.2+esm1?arch=source\u0026distro=esm-infra/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.99.beta19-2.1",
"0.99.beta19-2.1ubuntu1",
"0.99.beta19-2.1ubuntu1.20.04.1",
"0.99.beta19-2.1ubuntu1.20.04.2",
"0.99.beta19-2.1ubuntu1.20.04.2+esm1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "caca-utils",
"binary_version": "0.99.beta19-2.2ubuntu4.2"
},
{
"binary_name": "libcaca0",
"binary_version": "0.99.beta19-2.2ubuntu4.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "libcaca",
"purl": "pkg:deb/ubuntu/libcaca@0.99.beta19-2.2ubuntu4.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.99.beta19-2.2ubuntu4.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.99.beta19-2.2ubuntu2",
"0.99.beta19-2.2ubuntu3",
"0.99.beta19-2.2ubuntu4",
"0.99.beta19-2.2ubuntu4.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "caca-utils",
"binary_version": "0.99.beta20-4ubuntu0.2"
},
{
"binary_name": "libcaca0",
"binary_version": "0.99.beta20-4ubuntu0.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "libcaca",
"purl": "pkg:deb/ubuntu/libcaca@0.99.beta20-4ubuntu0.2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.99.beta20-4ubuntu0.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.99.beta20-3build1",
"0.99.beta20-4",
"0.99.beta20-4build1",
"0.99.beta20-4build2",
"0.99.beta20-4ubuntu0.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "caca-utils",
"binary_version": "0.99.beta20-5ubuntu0.25.10.2"
},
{
"binary_name": "libcaca0",
"binary_version": "0.99.beta20-5ubuntu0.25.10.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "libcaca",
"purl": "pkg:deb/ubuntu/libcaca@0.99.beta20-5ubuntu0.25.10.2?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.99.beta20-5ubuntu0.25.10.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.99.beta20-5",
"0.99.beta20-5ubuntu0.25.10.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "caca-utils",
"binary_version": "0.99.beta20-6ubuntu2.1"
},
{
"binary_name": "libcaca0",
"binary_version": "0.99.beta20-6ubuntu2.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "libcaca",
"purl": "pkg:deb/ubuntu/libcaca@0.99.beta20-6ubuntu2.1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.99.beta20-6ubuntu2.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.99.beta20-5",
"0.99.beta20-6",
"0.99.beta20-6ubuntu1",
"0.99.beta20-6ubuntu2"
]
}
],
"aliases": [],
"details": "libcaca is a colour ASCII art library. In 0.99.beta20 and earlier, an integer overflow vulnerability in libcaca\u0027s 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.",
"id": "UBUNTU-CVE-2026-42046",
"modified": "2026-05-27T13:58:01Z",
"published": "2026-05-11T22:22:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-42046"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-42046"
},
{
"type": "REPORT",
"url": "https://github.com/cacalabs/libcaca/security/advisories/GHSA-4vvg-vrqv-m56w"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-8318-1"
}
],
"related": [
"USN-8318-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-42046"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.