CVE-2026-48977

OpenSlide: Arbitrary memory write with crafted Ventana BIF file

State
Published
Severity
7.7 High
Published
Sep 17, 2026
Updated
Sep 18, 2026
Reserved
May 26, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.7 HighCVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-123 Write-what-where Condition
  • CWE-823 Use of Out-of-range Pointer Offset
  • CWE-1284 Improper Validation of Specified Quantity in Input

Affected Products

ProductVersions
openslideopenslide
  • >= 3.4.1, < 4.0.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.