Description
OpenSlide through 4.0.1 contains a heap out-of-bounds read vulnerability in the MIRAX reader that allows attackers to read past the slide_positions array via crafted Slidedat.ini values. Attackers can supply a MIRAX slide whose CameraImageDivisionsPerSide does not evenly divide the image counts, crashing applications that open it and corrupting tile geometry.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | openslide | No fix yet | — |
| Debian 13 | openslide | No fix yet | — |
| Debian 12 | openslide | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | openslide | No fix yet | — |
| Ubuntu 26.04 LTS | openslide | No fix yet | — |
| Ubuntu 24.04 LTS | openslide | No fix yet | — |
| Ubuntu 22.04 LTS | openslide | No fix yet | — |
| Ubuntu 20.04 LTS | openslide | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | openslide | No fix yet | — |
| Ubuntu 16.04 LTS | openslide | No fix yet | — |
References
- https://hackmd.io/@haind-pwn/openslide-mirax-slide-position-index-oob-read technical-description
- https://github.com/openslide/openslide/blob/fe79a9713bef2bfd64bbfefd15704060764b1274/src/openslide-vendor-mirax.c#L611-L635 technical-description
- https://github.com/openslide/openslide/blob/fe79a9713bef2bfd64bbfefd15704060764b1274/src/openslide-vendor-mirax.c#L1033-L1034 technical-description
- https://github.com/openslide/openslide product
- VulnCheck Advisory: OpenSlide through 4.0.1 Heap Out-of-Bounds Read via MIRAX get_tile_position third-party-advisory