CVE-2026-111143

Ansilove libansilove through 1.4.2 Out-of-Bounds Read via ansilove_xbin RLE Decoding

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

Analysis

AI-generated

Technical impact

Ansilove libansilove through version 1.4.2 contains an out‑of‑bounds read during the processing of compressed XBIN run‑length records. The routine fails to verify that a record’s length fits within the remaining input buffer, which allows an attacker to craft a file ending in a control byte such as 0x7F that causes the library to read past the buffer boundary. This flaw can trigger a crash in applications rendering the malicious artwork and may expose adjacent memory content to the process, potentially leaking sensitive data.

Affected Systems

Any installation of ansilove libansilove that accepts XBIN files is affected. The library is embedded in graphic editors, image viewers, and other software that support the XBIN format, including both desktop clients and server‑side components that might receive untrusted artwork.

Risk and Exploitability

The CVSS score of 6.8 marks moderate severity, and the EPSS score of less than 1% suggests current exploitation risk is low. The vulnerability is not listed in CISA’s KEV catalog. An attacker only needs to supply a crafted XBIN file; no special privileges or authentication are required beyond the user or system rendering the file. Successful exploitation leads to a crash and the potential disclosure of memory content.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ansilove libansilove to the latest available version provided by the vendor.
  • If upgrading is not immediately possible, avoid rendering XBIN files from untrusted sources: disable XBIN support in your application or run the viewer/editing tool in a sandboxed environment.
  • Implement input validation so that any run‑length record whose claimed length exceeds the remaining bytes in the input stream is rejected or causes the parsing to abort.

Generated by OpenCVE AI on October 16, 2026 at 18:13 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 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.
Title Ansilove libansilove through 1.4.2 Out-of-Bounds Read via ansilove_xbin RLE Decoding
First Time appeared Ansilove
Ansilove libansilove
Weaknesses CWE-125
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 15, 2026, 7:44 PM
Reserved
Oct 15, 2026, 5:03 PM
Status
Deferred
Published
Oct 15, 2026, 7:17 PM
Modified
Oct 16, 2026, 6:25 PM