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.
Published: 2026-10-15
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Out-of-Bounds Read
Action: Apply Patch
AI Analysis

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.

Generated by OpenCVE AI on October 16, 2026 at 18:13 UTC.

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 yet.

History

Thu, 15 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 15 Oct 2026 19:00:00 +0000

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'}


Subscriptions

Ansilove Libansilove
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-15T19:44:00.388Z

Reserved: 2026-10-15T17:03:57.541Z

Link: CVE-2026-111143

cve-icon Vulnrichment

Updated: 2026-10-15T19:43:57.119Z

cve-icon NVD

Status : Deferred

Published: 2026-10-15T19:17:28.563

Modified: 2026-10-16T18:25:45.343

Link: CVE-2026-111143

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T15:30:06Z

Weaknesses