Skip to main content
Vulnerability Database/CVE-2026-111130

CVE-2026-111130: OpenSlide Buffer Overflow Vulnerability

CVE-2026-111130 is a heap out-of-bounds read flaw in OpenSlide MIRAX reader that allows attackers to crash applications and corrupt tile geometry through crafted slides. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-111130 Overview

CVE-2026-111130 is a heap out-of-bounds read vulnerability in OpenSlide through version 4.0.1. The flaw resides in the MIRAX slide format reader, specifically in how the library computes tile positions from Slidedat.ini metadata. When the CameraImageDivisionsPerSide value does not evenly divide the image counts, the reader indexes past the end of the slide_positions array on the heap. An attacker who convinces a user to open a crafted MIRAX slide can crash the host application and corrupt tile geometry. OpenSlide is widely deployed in digital pathology pipelines, so affected systems include medical imaging viewers, research tools, and automated whole-slide image processors.

Critical Impact

A crafted MIRAX Slidedat.ini triggers a heap out-of-bounds read that crashes the consuming application and corrupts tile geometry during whole-slide image processing.

Affected Products

  • OpenSlide versions up to and including 4.0.1
  • Applications embedding the OpenSlide MIRAX vendor driver (openslide-vendor-mirax.c)
  • Digital pathology viewers and pipelines that process MIRAX (.mrxs) slides via OpenSlide

Discovery Timeline

  • 2026-10-15 - CVE-2026-111130 published to NVD
  • 2026-10-21 - Last updated in NVD database

Technical Details for CVE-2026-111130

Vulnerability Analysis

The vulnerability is classified as an Out-of-Bounds Read [CWE-125] within the MIRAX reader in src/openslide-vendor-mirax.c. OpenSlide parses the Slidedat.ini configuration bundled with a MIRAX slide to determine the layout of image tiles. The reader uses the CameraImageDivisionsPerSide value together with the image counts to compute an index into a heap-allocated slide_positions array. When these values are inconsistent, the computed index exceeds the allocated size. The read then returns adjacent heap memory as tile position data, which both corrupts geometry calculations and typically terminates the host process.

Root Cause

The root cause is missing validation of attacker-controlled Slidedat.ini fields before they are used in index arithmetic. The mirax_get_tile_position logic assumes CameraImageDivisionsPerSide evenly divides the image counts, so no bounds check is performed against the slide_positions allocation. Any divisor mismatch produces an index that falls outside the allocated buffer. See the vendor source at openslide-vendor-mirax.c lines 1033-1034 and lines 611-635.

Attack Vector

Exploitation is local and requires user interaction. An attacker crafts a MIRAX slide bundle with a Slidedat.ini whose CameraImageDivisionsPerSide does not evenly divide the declared image counts. The victim opens the slide in any application built on OpenSlide. The library performs the invalid index computation during tile lookup and reads past the slide_positions array, crashing the process. The flaw affects availability of the consuming application and may produce incorrect imaging output when crashes are suppressed. Full technical analysis is available in the HackMD write-up and the VulnCheck advisory.

No verified public exploit code is available at this time. Readers should consult the linked references for technical details rather than synthetic proof-of-concept material.

Detection Methods for CVE-2026-111130

Indicators of Compromise

  • MIRAX slide bundles (.mrxs with associated directory) where Slidedat.ini sets a CameraImageDivisionsPerSide value that does not evenly divide IMAGENUMBER_X or IMAGENUMBER_Y.
  • Unexpected crashes or segmentation faults in processes linked against libopenslide when opening third-party slides.
  • AddressSanitizer or heap debugger reports flagging out-of-bounds reads inside openslide-vendor-mirax.c.

Detection Strategies

  • Parse incoming Slidedat.ini files and reject slides where image counts are not integer multiples of CameraImageDivisionsPerSide.
  • Run OpenSlide-based ingestion pipelines under ASan or Valgrind in staging to surface the OOB read before production exposure.
  • Hash and inventory the OpenSlide library version in use across pathology workstations and compare against versions <= 4.0.1.

Monitoring Recommendations

  • Alert on repeated crash events in whole-slide viewer processes, especially those correlated with new or external slide uploads.
  • Monitor file ingestion directories for MIRAX bundles originating from untrusted sources and route them to isolated validation sandboxes.
  • Centralize application crash telemetry so repeated faults in openslide modules can be triaged quickly.

How to Mitigate CVE-2026-111130

Immediate Actions Required

  • Inventory all systems that embed OpenSlide (version <= 4.0.1), including custom pathology viewers, research notebooks, and ETL pipelines.
  • Restrict MIRAX slide ingestion to trusted sources until a fixed OpenSlide release is deployed.
  • Pre-validate Slidedat.ini values at the ingestion boundary and quarantine any slide with inconsistent CameraImageDivisionsPerSide and image counts.

Patch Information

At the time of publication, the enriched CVE data does not list a fixed OpenSlide release. Monitor the OpenSlide GitHub repository and the VulnCheck advisory for upstream commits that add bounds checks to mirax_get_tile_position and validation of CameraImageDivisionsPerSide.

Workarounds

  • Process untrusted MIRAX slides inside sandboxed or containerized workers so a crash cannot affect the primary viewer or server.
  • Add an ingestion-time check that computes IMAGENUMBER_X % CameraImageDivisionsPerSide and IMAGENUMBER_Y % CameraImageDivisionsPerSide and rejects non-zero results.
  • Disable automatic opening of MIRAX files from email, shared drives, or external portals until the library is updated.
bash
# Configuration example: pre-flight validation of MIRAX Slidedat.ini
# Reject slides where CameraImageDivisionsPerSide does not evenly divide image counts
awk -F= '
  /^CameraImageDivisionsPerSide/ {d=$2+0}
  /^IMAGENUMBER_X/ {x=$2+0}
  /^IMAGENUMBER_Y/ {y=$2+0}
  END {
    if (d == 0 || x % d != 0 || y % d != 0) {
      print "REJECT: inconsistent MIRAX geometry"; exit 1
    } else {
      print "OK"
    }
  }
' Slidedat.ini

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.