CVE-2026-111144
CVE-2026-111144 · libansilove 1.3.0 through 1.4.2 NULL Pointer Dereference via ansilove_xbin
This page contains facts from public vulnerability sources. Check the original advisory before updating.
libansilove 1.3.0 through 1.4.2 contains a NULL pointer dereference vulnerability in ansilove_xbin() that allows attackers to crash applications by supplying a crafted XBIN file. Attackers can set the 512-character flag without the custom-font flag, causing drawchar() to index a NULL high_font_data_xbin pointer and terminate the process.
CVSS 6.8 · Medium · EPSS 0.1%
- Published
- Updated
Stack: system
Affected products and versions
libansilove
- Versions
- ≥ 1.3.0, ≤ 1.4.2: Affected (semver)
No fix published
libansilove Debian:12
- Versions
- 1.3.1-1
- 1.4.1-1
- 1.4.1-2
- 1.4.2-1
- 1.4.2-2
- 1.4.3-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libansilove Debian:13
- Versions
- 1.4.1-2
- 1.4.2-1
- 1.4.2-2
- 1.4.3-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libansilove Debian:14
- Versions
- 1.4.1-2
- 1.4.2-1
- 1.4.2-2
- 1.4.3-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libansilove Ubuntu:20.04:LTS
- Versions
- 1.1.2-1
- 1.1.5-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libansilove Ubuntu:22.04:LTS
- Versions
- 1.2.8-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libansilove Ubuntu:24.04:LTS
- Versions
- 1.4.1-1
- 1.4.1-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libansilove Ubuntu:26.10
- Versions
- 1.4.2-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libansilove Ubuntu:26.04:LTS
- Versions
- 1.4.1-2
- 1.4.2-1
- 1.4.2-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://hackmd.io/@haind-pwn/libansilove-xbin-rle-oob-read-and-null-font-deref
- https://github.com/ansilove/libansilove/blob/f1b05447aa566aa4eef9b05ebf8c2aaf1e379cd3/src/loaders/xbin.c#L119-L166
- https://github.com/ansilove/libansilove/blob/f1b05447aa566aa4eef9b05ebf8c2aaf1e379cd3/src/loaders/xbin.c#L224-L232
- https://github.com/ansilove/libansilove/blob/f1b05447aa566aa4eef9b05ebf8c2aaf1e379cd3/src/drawchar.c#L28-L35
- https://github.com/ansilove/libansilove
- https://www.vulncheck.com/advisories/libansilove-1.3.0-through-1.4.2-null-pointer-dereference-via-ansilove-xbin
- https://nvd.nist.gov/vuln/detail/CVE-2026-111144