Affected versions
Ubuntu20.04:LTS/libansilove
- Affected versions
- * || =1.1.2-1 || =1.1.5-1
- Fixed version
- Not reported
Ubuntu22.04:LTS/libansilove
- Affected versions
- * || =1.2.8-1
- Fixed version
- Not reported
Ubuntu24.04:LTS/libansilove
- Affected versions
- * || =1.4.1-1 || =1.4.1-1build1
- Fixed version
- Not reported
Ubuntu26.04:LTS/libansilove
- Affected versions
- * || =1.4.1-2 || =1.4.2-1 || =1.4.2-2
- Fixed version
- Not reported
Ubuntu26.10/libansilove
- Affected versions
- * || =1.4.2-2
- Fixed version
- Not reported
Description
Ansilove libansilove through 1.4.2 contains an out-of-bounds read vulnerability in ansilove_xbin() in src/loaders/xbin.c that lacks bounds checks for compressed run-length records. Attackers can supply a crafted compressed XBIN file ending in a control byte such as 0x7F to read past the input buffer, crashing applications that render untrusted XBIN art.
Links
- https://github.com/ansilove/libansilove
- https://github.com/ansilove/libansilove/blob/f1b05447aa566aa4eef9b05ebf8c2aaf1e379cd3/src/loaders/xbin.c#L169-L241
- https://hackmd.io/@haind-pwn/libansilove-xbin-rle-oob-read-and-null-font-deref
- https://ubuntu.com/security/CVE-2026-111143
- https://www.cve.org/CVERecord?id=CVE-2026-111143
- https://www.vulncheck.com/advisories/ansilove-libansilove-through-1.4.2-out-of-bounds-read-via-ansilove-xbin-rle-decoding

