Heap-based buffer overflow in libcaca - CVE-2026-42046
Published: April 25, 2026
libcaca
Caca Labs
Description
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to a heap-based buffer overflow caused by integer overflow in the canvas import functions when parsing a crafted file in the "caca" format. A remote attacker can supply a specially crafted file to execute arbitrary code.
User interaction is required to open or import the crafted file, and the impact may depend on the build configuration and memory allocator.