CVE-2026-54604

NameCVE-2026-54604
DescriptionOpenSlide 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1146705

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
openslide (PTS)bookworm3.4.1+dfsg-6+deb12u1vulnerable
trixie3.4.1+dfsg-7+deb13u1vulnerable
forky, sid4.0.1+dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
openslidesourceexperimental4.0.1+dfsg-1~0exp2
openslidesource(unstable)4.0.1+dfsg-11146705

Notes

[trixie] - openslide <ignored> (Minor issue; only an exploitable issue with behaviour change of libtiff in 4.7.1)
[bookworm] - openslide <ignored> (Minor issue; only exploitable with the libtiff 4.7.1 behaviour change)
[bullseye] - openslide <ignored> (Minor issue; only exploitable with the libtiff 4.7.1 behaviour change)
https://github.com/openslide/openslide/security/advisories/GHSA-f734-jv98-5677

Search for package or bug name: Reporting problems