CVE-2026-48977

OpenSlide: Arbitrary memory write with crafted Ventana BIF file

Published Sep 17, 2026 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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).

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 available
History
Type Values Removed Values Added
First Time appeared Openslide
Openslide openslide
Vendors & Products Openslide
Openslide openslide
Type Values Removed Values Added
Metrics ssvc

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

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

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 18, 2026, 8:07 PM
Reserved
May 26, 2026, 11:26 PM
Status
Awaiting Analysis
Published
Sep 17, 2026, 9:17 PM
Modified
Sep 23, 2026, 6:12 PM