Description
OpenSlide is a C library for reading whole slide image files. From 3.4.1 until 4.0.1, OpenSlide's parse_level0_xml() processing in src/openslide-vendor-ventana.c accepts nonpositive row or column tile counts from a crafted Ventana BIF file. The invalid counts produce attacker-controlled relative memory offsets and allow arbitrary values to be written at those offsets, affecting all supported platforms and configurations and resulting in a crash or potential arbitrary code execution. This issue is fixed in version 4.0.1.
Published: 2026-09-17
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary code execution via memory write
Action: Patch Now
AI Analysis

Impact

OpenSlide’s parse_level0_xml() routine, when processing Ventana BIF files, accepts nonpositive row or column tile counts beginning with version 3.4.1. These invalid counts generate attacker‑controlled relative memory offsets that allow arbitrary data to be written at those offsets. The write can corrupt the process’s memory, potentially leading to a crash or remote code execution on any platform or configuration that uses the vulnerable OpenSlide library.

Affected Systems

The vulnerability affects the OpenSlide project and its library, OpenSlide. All supported platforms that use the library from version 3.4.1 up through 4.0.1 are impacted. The issue is fixed in OpenSlide version 4.0.1 and later.

Risk and Exploitability

The CVSS score of 7.7 indicates high severity and the EPSS score of less than 1% suggests a low probability of exploitation at present, but it is still listed as not yet in the CISA Known Exploited Vulnerabilities catalog. The likely attack vector is an attacker supplying a malicious BIF file to any application that loads slide images using the affected OpenSlide library, which could lead to arbitrary code execution. The vulnerability exists due to improper bounds checking of tile count values (CWE-123, CWE-1284, CWE-823).

Generated by OpenCVE AI on September 19, 2026 at 01:26 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenSlide to version 4.0.1 or newer, which removes the vulnerable parsing logic.
  • If an upgrade is not immediately possible, disable Ventana BIF support or block the processing of BIF files that contain nonpositive row or column tile counts before they reach the library.
  • Implement input validation to reject any BIF file where the row or column counts are not positive, effectively preventing the vulnerable code path.
  • If the application can be sandboxed, run the file parsing in a confined environment to limit the impact of a potential exploit.

Generated by OpenCVE AI on September 19, 2026 at 01:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 18 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Openslide
Openslide openslide
Vendors & Products Openslide
Openslide openslide

Fri, 18 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 17 Sep 2026 20:45:00 +0000

Type Values Removed Values Added
Description OpenSlide is a C library for reading whole slide image files. From 3.4.1 until 4.0.1, OpenSlide's parse_level0_xml() processing in src/openslide-vendor-ventana.c accepts nonpositive row or column tile counts from a crafted Ventana BIF file. The invalid counts produce attacker-controlled relative memory offsets and allow arbitrary values to be written at those offsets, affecting all supported platforms and configurations and resulting in a crash or potential arbitrary code execution. This issue is fixed in version 4.0.1.
Title OpenSlide: Arbitrary memory write with crafted Ventana BIF file
Weaknesses CWE-123
CWE-1284
CWE-823
References
Metrics cvssV4_0

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


Subscriptions

Openslide Openslide
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-18T20:07:13.789Z

Reserved: 2026-05-26T23:26:07.974Z

Link: CVE-2026-48977

cve-icon Vulnrichment

Updated: 2026-09-18T20:07:09.988Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-17T21:17:13.323

Modified: 2026-09-23T18:12:04.247

Link: CVE-2026-48977

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-19T01:30:17Z

Weaknesses
  • CWE-123

    Write-what-where Condition

  • CWE-1284

    Improper Validation of Specified Quantity in Input

  • CWE-823

    Use of Out-of-range Pointer Offset