Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-54604 EUVD-2026-82437

OpenSlide: openslide_read_region() returns uninitialized memory with libtiff 4.7.1

Published Sep 17, 2026 · Updated Sep 18, 2026 · Assigned by GitHub_M

Description

OpenSlide is a C library for reading whole slide image files. Prior to 4.0.1, a behavior change in libtiff 4.7.1 causes the indirect TIFF tile path in src/openslide-decode-tiff.c and _openslide_tiff_read_tile() to request a full-height destination for a partial bottom tile row, allowing uninitialized heap memory to enter pixel data returned by openslide_read_region(). A crafted but valid slide can trigger the issue in TIFF-based formats other than Hamamatsu NDPI when a network service renders attacker-provided slides. Successful extraction depends on pixel transparency handling and recompression, OpenSlide with libtiff 4.7.0 or earlier is not affected, and official binary builds 4.0.0.10 and 4.0.0.11 are affected. This issue is fixed in OpenSlide 4.0.1 and official binary build 4.0.0.12.

Affected products

VendorProductAffectedFixed
openslide openslide < 4.0.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openslide 4.0.1+dfsg-1 —
Debian 13 openslide No fix yet —
Debian 12 openslide No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 openslide No fix yet —
Ubuntu 26.04 LTS openslide No fix yet —
Ubuntu 25.10 openslide No fix yet —
Ubuntu 24.04 LTS openslide No fix yet —
Ubuntu 22.04 LTS openslide No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS openslide No fix yet —
Ubuntu 18.04 LTS openslide No fix yet —
Ubuntu 16.04 LTS openslide No fix yet —

References