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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ansilove | libansilove | ≤ 1.4.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libansilove | No fix yet | — |
| Debian 13 | libansilove | No fix yet | — |
| Debian 12 | libansilove | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libansilove | No fix yet | — |
| Ubuntu 26.04 LTS | libansilove | No fix yet | — |
| Ubuntu 24.04 LTS | libansilove | No fix yet | — |
| Ubuntu 22.04 LTS | libansilove | No fix yet | — |
| Ubuntu 20.04 LTS | libansilove | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libansilove | 1.4.4-1.1 | openSUSE-SU-2026:12419-1 |
Advisories 1
- openSUSE-SU-2026:12419-1 libansilove-devel-1.4.4-1.1 on GA media SUSE / openSUSE Security Updates · Nov 5, 2026
References
- https://hackmd.io/@haind-pwn/libansilove-xbin-rle-oob-read-and-null-font-deref technical-description exploit
- https://github.com/ansilove/libansilove/blob/f1b05447aa566aa4eef9b05ebf8c2aaf1e379cd3/src/loaders/xbin.c#L169-L241 technical-description
- https://github.com/ansilove/libansilove product
- VulnCheck Advisory: Ansilove libansilove through 1.4.2 Out-of-Bounds Read via ansilove_xbin RLE Decoding third-party-advisory