The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-22187

CVE-2026-22187: Bio-Formats Unsafe Deserialization RCE

CVE-2026-22187 is a remote code execution vulnerability in Bio-Formats caused by unsafe Java deserialization of memoization cache files. This article covers the technical details, affected versions, and mitigation strategies.

Updated: January 22, 2026

CVE-2026-22187 Overview

Bio-Formats versions up to and including 8.3.0 contain an insecure deserialization vulnerability in the loci.formats.Memoizer class. The library performs unsafe Java deserialization of attacker-controlled memoization cache files (.bfmemo) during image processing operations. When Bio-Formats loads an image, it automatically loads and deserializes associated memo files without proper validation, integrity checks, or trust enforcement. An attacker who can supply a crafted .bfmemo file alongside an image can trigger deserialization of untrusted data, potentially resulting in denial of service, logic manipulation, or remote code execution in environments where suitable gadget chains exist on the classpath.

Critical Impact

Attackers can achieve denial of service, application logic manipulation, or potentially remote code execution by supplying malicious .bfmemo cache files alongside images processed by Bio-Formats.

Affected Products

  • Bio-Formats versions up to and including 8.3.0
  • Applications and systems utilizing Bio-Formats for image processing
  • Scientific imaging workflows that process untrusted image files

Discovery Timeline

  • 2026-01-07 - CVE-2026-22187 published to NVD
  • 2026-01-08 - Last updated in NVD database

Technical Details for CVE-2026-22187

Vulnerability Analysis

This vulnerability falls under CWE-502 (Deserialization of Untrusted Data), a well-known class of security issues in Java applications. The Bio-Formats library implements a memoization caching system designed to improve performance when repeatedly processing the same image files. When an image is loaded, the loci.formats.Memoizer class checks for a corresponding .bfmemo file and, if found, deserializes its contents using Java's native object serialization mechanism.

The fundamental security flaw lies in the absence of validation or integrity verification before deserializing these cache files. Java's ObjectInputStream will instantiate arbitrary classes during deserialization, and if an attacker can control the serialized data, they can leverage existing classes on the application's classpath (known as "gadget chains") to execute arbitrary code.

The attack requires local access, meaning the attacker must be able to place a malicious .bfmemo file in a location where Bio-Formats will discover it when processing an associated image. This could occur through file uploads, shared network drives, or other file delivery mechanisms in environments processing untrusted image data.

Root Cause

The root cause is the automatic deserialization of .bfmemo cache files without any form of trust verification. The loci.formats.Memoizer class blindly trusts cache files found alongside images, using Java's native serialization to reconstruct objects from potentially attacker-controlled data. This design assumes that cache files originate from legitimate prior processing operations, an assumption that fails in adversarial scenarios where attackers can supply their own files.

Attack Vector

The attack vector requires local file system access to position a malicious .bfmemo file where the application will discover and process it. An attacker would:

  1. Create a malicious serialized Java object payload containing a gadget chain appropriate for the target environment
  2. Save this payload as a .bfmemo file with a filename corresponding to a target image
  3. Deliver both the image and the malicious memo file to a system running Bio-Formats
  4. When the application processes the image, the Memoizer class automatically loads and deserializes the malicious cache file
  5. Depending on available gadget chains, this can result in denial of service, data manipulation, or code execution

The vulnerability is particularly concerning in scientific and research environments where Bio-Formats is commonly deployed to process large datasets of microscopy images from various sources. For additional technical details, see the Full Disclosure posting and VulnCheck Security Advisory.

Detection Methods for CVE-2026-22187

Indicators of Compromise

  • Presence of unexpected .bfmemo files alongside image files, especially from external sources
  • .bfmemo files with unusual sizes or creation timestamps inconsistent with legitimate caching operations
  • Java application crashes or unexpected behavior when processing images with associated memo files
  • Evidence of deserialization gadget chain execution in application logs or system monitoring

Detection Strategies

  • Monitor file system activity for creation of .bfmemo files in image processing directories
  • Implement file integrity monitoring for directories where Bio-Formats processes images
  • Deploy Java deserialization attack detection tools that can identify common gadget chain patterns
  • Audit application classpath for libraries containing known deserialization gadget chains (e.g., Commons Collections, Spring, etc.)

Monitoring Recommendations

  • Enable verbose logging for Bio-Formats operations to track memo file loading behavior
  • Implement application-level monitoring to detect abnormal memory usage or CPU spikes during image processing
  • Configure security monitoring tools to alert on unexpected child process creation from Java applications
  • Review network connections initiated by image processing applications for signs of post-exploitation activity

How to Mitigate CVE-2026-22187

Immediate Actions Required

  • Upgrade Bio-Formats to a patched version when available from the Open Microscopy Environment project
  • Disable memoization caching functionality if not operationally required
  • Implement strict file validation to reject or quarantine .bfmemo files from untrusted sources
  • Isolate image processing workflows from critical systems and sensitive data
  • Review and minimize the application classpath to reduce available gadget chains

Patch Information

As of the last NVD update on 2026-01-08, organizations should monitor the Open Microscopy Documentation for official patch releases and upgrade guidance. The VulnCheck Security Advisory provides additional context on the vulnerability and recommended mitigations.

Workarounds

  • Configure file processing pipelines to strip or reject .bfmemo files from incoming image datasets before processing
  • Implement Java Security Manager policies to restrict deserialization operations (note: Security Manager is deprecated in newer Java versions)
  • Deploy Java agent-based deserialization filters to block dangerous gadget chain classes
  • Process untrusted images in sandboxed or containerized environments with limited capabilities
  • Use file system permissions to prevent creation of memo files in image directories
bash
# Configuration example
# Remove existing .bfmemo files and prevent new ones in image directories
find /path/to/images -name "*.bfmemo" -type f -delete

# Set directory permissions to prevent memo file creation (Unix/Linux)
# Note: This may impact Bio-Formats caching functionality
chmod 555 /path/to/images

# Alternative: Use inotifywait to monitor and remove .bfmemo files
inotifywait -m -e create /path/to/images | while read path action file; do
    if [[ "$file" == *.bfmemo ]]; then
        rm -f "${path}${file}"
        logger "Removed suspicious .bfmemo file: ${path}${file}"
    fi
done

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechBio Formats

  • SeverityMEDIUM

  • CVSS Score6.8

  • EPSS Probability0.34%

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityHigh
  • CWE References
  • CWE-502
  • Technical References
  • Open Microscopy Documentation

  • Full Disclosure Mailing List Post

  • VulnCheck Security Advisory
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English