CVE-2026-22187 Bio-Formats <= 8.3.0 Memoizer Unsafe Deserialization via .bfmemo Cache Files
Attackers can trigger unsafe Java deserialization via crafted cache files, potentially leading to remote code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-22187?
CVE-2026-22187 is a medium-severity unsafe deserialization vulnerability in Open Microscopy Environment Bio-Formats, published on 7 Jan 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Bio-Formats versions up to and including 8.3.0 perform unsafe Java deserialization of attacker-controlled memoization cache files (.bfmemo) during image processing. The loci.formats.Memoizer class automatically loads and deserializes memo files associated with images without validation, integrity checks, or trust enforcement. An attacker who can supply a crafted .bfmemo file alongside an image can trigger deserialization of untrusted data, which may result in denial of service, logic manipulation, or potentially remote code execution in environments where suitable gadget chains are present on the classpath.
Weakness: CWE-502
Which versions are affected by CVE-2026-22187?
2 open source packages ship an affected version, including ome:pom-bio-formats. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ome:pom-bio-formats Maven | All versions to 8.3.0 | None |
ome:pom-bio-formats Maven | All versions to 8.3.0 | None |
Products include Openmicroscopy Bio-Formats.
How do I fix CVE-2026-22187?
No fix has been published for CVE-2026-22187 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2026-22187 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22187 exists.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Open Microscopy Environment Bio-Formats
Sources
Also known as GHSA-qjm3-cvp9-3jj3.