---
id: CVE-2026-111144
title: >-
  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
summary: >-
  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 custo…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cwe:
  - CWE-476
vendor: ansilove
product: libansilove
affected:
  - libansilove >= 1.3.0 <= 1.4.2
published: '2026-10-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T19:17:28.707'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-111144'
references:
  - url: 'https://github.com/ansilove/libansilove'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/ansilove/libansilove/blob/f1b05447aa566aa4eef9b05ebf8c2aaf1e379cd3/src/drawchar.c#L28-L35
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/ansilove/libansilove/blob/f1b05447aa566aa4eef9b05ebf8c2aaf1e379cd3/src/loaders/xbin.c#L119-L166
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/ansilove/libansilove/blob/f1b05447aa566aa4eef9b05ebf8c2aaf1e379cd3/src/loaders/xbin.c#L224-L232
    label: disclosure@vulncheck.com
  - url: >-
      https://hackmd.io/@haind-pwn/libansilove-xbin-rle-oob-read-and-null-font-deref
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/libansilove-1.3.0-through-1.4.2-null-pointer-dereference-via-ansilove-xbin
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-15T19:25:46.413Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
