{"answers":{"affected":"2 open source packages ship an affected version, including ome:pom-bio-formats. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22187 exists.","fix":"No fix has been published for CVE-2026-22187 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-22187 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22187 exists.\n\nAffected packages and fixed versions:\n- ome:pom-bio-formats (Maven): affected all versions up to 8.3.0; no fix listed\n- ome:pom-bio-formats (Maven): affected all versions up to 8.3.0; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-22187/ (Markdown: https://insights.sbomify.com/CVE-2026-22187/index.md)","id":"CVE-2026-22187","markdown":"https://insights.sbomify.com/CVE-2026-22187/index.md","name":"CVE-2026-22187","record":{"aliases":["GHSA-qjm3-cvp9-3jj3"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Java image processing library","requires_auth":"none","summary":"Attackers can trigger unsafe Java deserialization via crafted cache files, potentially leading to remote code execution or denial of service.","user_interaction":"required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"bio-formats","vendor":"openmicroscopy"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2026-02-09","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-02-09T23:39:31Z","kind":"github_poc","ref":"https://github.com/George0Papasotiriou/CVE-2026-22187-Bio-Formats-unsafe-Java-deserialization-via-.bfmemo","stars":1,"title":"Bio-Formats ≤ 8.3.0 performs unsafe Java deserialization of attacker-controlled .bfmemo cache files during image processing; crafted .bfmemo can trigger deserialization of untrusted data (DoS/logic manipulation; potentially RCE if gadget chains exist)."}],"tier":"weaponised"},"has_fix":false,"headline":"Bio-Formats \u003c= 8.3.0 Memoizer Unsafe Deserialization via .bfmemo Cache Files","id":"CVE-2026-22187","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"deserialization","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Panda3D \u003c= 1.10.16 Deploy-Stub Stack Exhaustion via Unbounded alloca()","id":"CVE-2026-22188"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["8.3.0"],"package":"ome:pom-bio-formats","purl":null,"source":"GHSA-qjm3-cvp9-3jj3"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["8.3.0"],"package":"ome:pom-bio-formats","purl":"pkg:maven/ome/pom-bio-formats","source":"GHSA-qjm3-cvp9-3jj3"}],"prev":{"headline":"Bio-Formats \u003c= 8.3.0 XXE in Leica XLEF Metadata Parser","id":"CVE-2026-22186"},"products":["Bio-Formats"],"published":"2026-01-07","related":[{"cvss_score":4.6,"headline":"Bio-Formats \u003c= 8.3.0 XXE in Leica XLEF Metadata Parser","id":"CVE-2026-22186","kev_date_added":null,"published":"2026-01-07"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["Open Microscopy Environment"]},"summary":"Attackers can trigger unsafe Java deserialization via crafted cache files, potentially leading to remote code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2026-22187/"}