CVE Explorer
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-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 fb7
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:8778a103c82da5a374ed10f299bd59e8fba1c21c93bd8d540cde1983d8bb96b6 · sha256:4556ab401458a875… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:8778a103c82da5a374ed10f299bd59e8fba1c21c93bd8d540cde1983d8bb96b6 · sha256:4556ab401458a875… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-190","description":"CWE-190: Integer Overflow or Wraparound","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:8778a103c82da5a374ed10f299bd59e8fba1c21c93bd8d540cde1983d8bb96b6 · sha256:4556ab401458a875… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"libcaca","vendor":"cacalabs","versions":[{"status":"affected","version":"<= 0.99.beta20"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:8778a103c82da5a374ed10f299bd59e8fba1c21c93bd8d540cde1983d8bb96b6 · sha256:4556ab401458a875… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:8778a103c82da5a374ed10f299bd59e8fba1c21c93bd8d540cde1983d8bb96b6 · sha256:4556ab401458a875… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:8778a103c82da5a374ed10f299bd59e8fba1c21c93bd8d540cde1983d8bb96b6 · sha256:4556ab401458a875… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:8778a103c82da5a374ed10f299bd59e8fba1c21c93bd8d540cde1983d8bb96b6 · sha256:4556ab401458a875… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-190","description":"CWE-190: Integer Overflow or Wraparound","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:8778a103c82da5a374ed10f299bd59e8fba1c21c93bd8d540cde1983d8bb96b6 · sha256:4556ab401458a875… · /containers/cna/problemTypes/1/descriptions/0
Source references
4 source assertions{"name":"https://github.com/cacalabs/libcaca/commit/fb77acff9ba6bb01d53940da34fb10f20b156a23","tags":["x_refsource_MISC"],"url":"https://github.com/cacalabs/libcaca/commit/fb77acff9ba6bb01d53940da34fb10f20b156a23"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8778a103c82da5a374ed10f299bd59e8fba1c21c93bd8d540cde1983d8bb96b6 · sha256:4556ab401458a875… · /containers/cna/references/2
{"name":"https://github.com/cacalabs/libcaca/issues/86","tags":["x_refsource_MISC"],"url":"https://github.com/cacalabs/libcaca/issues/86"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8778a103c82da5a374ed10f299bd59e8fba1c21c93bd8d540cde1983d8bb96b6 · sha256:4556ab401458a875… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/cacalabs/libcaca/security/advisories/GHSA-4vvg-vrqv-m56w"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8778a103c82da5a374ed10f299bd59e8fba1c21c93bd8d540cde1983d8bb96b6 · sha256:4556ab401458a875… · /containers/adp/0/references/0
{"name":"https://github.com/cacalabs/libcaca/security/advisories/GHSA-4vvg-vrqv-m56w","tags":["x_refsource_CONFIRM"],"url":"https://github.com/cacalabs/libcaca/security/advisories/GHSA-4vvg-vrqv-m56w"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8778a103c82da5a374ed10f299bd59e8fba1c21c93bd8d540cde1983d8bb96b6 · sha256:4556ab401458a875… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.