CVE-2026-111144

libansilove 1.3.0 through 1.4.2 NULL Pointer Dereference via ansilove_xbin

Published Oct 15, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability is a NULL pointer dereference in libansilove versions 1.3.0 through 1.4.2. A specially crafted XBIN file can cause the library to index a NULL high_font_data_xbin pointer during drawing, which terminates the host process. This results in a denial of service because the application handling the file crashes.

Affected Systems

Any installation of the ansilove library, specifically libansilove versions 1.3.0 to 1.4.2, is vulnerable. Applications that load XBIN files via libansilove are affected, as the flaw resides in the core loader and character drawing routines. The problem exists in the upstream source released on GitHub and is present in all builds of the affected range.

Risk and Exploitability

The CVSS score of 6.8 indicates medium severity for denial of service. The EPSS score of less than 1% implies that automated exploitation is currently unlikely, but a determined attacker could craft a malicious XBIN file to target vulnerable software. Since the flaw requires the delivery of a specific file, exploitation would typically involve supplying the payload to an application that processes XBIN data. The vulnerability is not listed in the CISA KEV catalog, so it is not yet a known exploited vulnerability in the wild.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libansilove to a version newer than 1.4.2 or apply an upstream patch that fixes the NULL dereference in ansilove_xbin().
  • If an immediate upgrade is not possible, validate XBIN files before passing them to libansilove, rejecting any file that sets the 512‑character flag without the custom‑font flag or that otherwise appears malformed.
  • Wrap libansilove calls inside a sandbox or sandbox‑aware process to isolate the library so that a crash does not bring down the entire application.

Generated by OpenCVE AI on October 16, 2026 at 17:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title libansilove 1.3.0 through 1.4.2 NULL Pointer Dereference via ansilove_xbin
First Time appeared Ansilove
Ansilove libansilove
Weaknesses CWE-476
CPEs cpe:2.3:a:ansilove:libansilove:*:*:*:*:*:*:*:*
Vendors & Products Ansilove
Ansilove libansilove
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 26, 2026, 2:02 PM
Reserved
Oct 15, 2026, 5:03 PM
Status
Deferred
Published
Oct 15, 2026, 7:17 PM
Modified
Oct 26, 2026, 3:16 PM