# CVE-2026-54604: OpenSlide: openslide\_read\_region() returns uninitialized memory with libtiff 4.7.1

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: None; Confidentiality impact: Low; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.53% (percentile 38, 2026-11-26)
- **CWE:** CWE-758, CWE-908
- **Published:** 2026-09-17T20:29:15.840Z
- **Modified:** 2026-09-23T18:12:04.247Z

## Who should check

- Anyone running openslide \< 4.0.1

## 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 and fixed versions

- openslide: \< 4.0.1 (cvelist)

## Mitigation

- Upgrade openslide to 4.0.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-54604. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-54604.md
Affected: openslide < 4.0.1
Fixed in: openslide 4.0.1

Steps:
1. Search this machine and project for openslide: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-54604 being exploited?

There is no confirmed exploitation: CVE-2026-54604 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-54604?

Medium: CVSS 5.3 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-54604?

openslide \< 4.0.1.

### Is there a fix for CVE-2026-54604?

Yes. Fixed in openslide 4.0.1. Upgrade openslide to 4.0.1 or later.

### How do I check if I'm affected by CVE-2026-54604?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/openslide/openslide/security/advisories/GHSA-f734-jv98-5677>
- patch: <https://github.com/openslide/openslide-bin/pull/436>
- patch: <https://github.com/openslide/openslide/pull/706>
- patch: <https://github.com/openslide/openslide/commit/a4f0fb0ec462edcea97ff22288f606ac6cd370f5>
- other: <https://github.com/openslide/openslide-bin/issues/433>
- other: <https://github.com/openslide/openslide/releases/tag/v4.0.1>
- other: <https://gitlab.com/libtiff/libtiff/-/work_items/791>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-54604>

HTML: <https://flawdb.com/CVE-2026-54604> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-54604>
