Permalink
CVE-2026-42046
7.8 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): Required (R)
- Scope (S): Unchanged (U)
- Confidentiality (C): High (H)
- Integrity (I): High (H)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Required (R)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): High (H)
by @LeSuisse Activity log
- Created suggestion
- @LeSuisse ignored package libcacard
- @LeSuisse accepted
- @LeSuisse published on GitHub
libcaca: Heap OOB write in canvas import functions caused by int overflow
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.
References
-
https://github.com/cacalabs/libcaca/security/advisories/GHSA-4vvg-vrqv-m56w x_refsource_CONFIRM
-
https://github.com/cacalabs/libcaca/issues/86 x_refsource_MISC
Affected products
libcaca
- ==<= 0.99.beta20
Matching in nixpkgs
pkgs.libcaca
Graphics library that outputs text instead of pixels
-
nixos-unstable 0.99.beta20
- nixpkgs-unstable 0.99.beta20
- nixos-unstable-small 0.99.beta20