CVE-2026-48977
Description
A flaw was found in OpenSlide, a C library for reading whole slide image files. A remote attacker could exploit a vulnerability in the parse_level0_xml() function by providing a specially crafted Ventana BIF file with nonpositive row or column tile counts. This manipulation leads to attacker-controlled memory offsets, allowing arbitrary values to be written at those locations. Successful exploitation could result in a system crash or potentially enable arbitrary code execution.
Statement
This vulnerability is rated as Important rather than Moderate because parsing a malformed slide image can allow an attacker to overwrite arbitrary memory locations and potentially execute arbitrary code in the context of the running application. OpenSlide is not shipped in core Red Hat Enterprise Linux repositories, restricting exposure to environments where EPEL or external packages are actively utilized. Exploitation requires a vulnerable application to ingest untrusted Ventana whole-slide images from an external source.
Understanding the Weakness (CWE)
Integrity
Technical Impact: Modify Memory; Execute Unauthorized Code or Commands
Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.
Availability
Technical Impact: DoS: Crash, Exit, or Restart
Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.
Other
Technical Impact: Unexpected State
Subsequent write operations can produce undefined or unexpected results.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.