CVE-2026-10037
Awaiting Analysis Awaiting Analysis - Queue

Sandbox Escape in OpenJDK via Mailcap MIME Handlers

Vulnerability report for CVE-2026-10037, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-08

Last updated on: 2026-07-10

Assigner: Canonical Ltd.

Description

A sandbox escape vulnerability exists in the OpenJDK packages provided in Ubuntu. The .jar MIME handlers installed by these packages execute files marked as executable when the mailcap package is installed. A compromised or malicious sandboxed application with access to the OpenURI portal via xdg-desktop-portal-gtk can write a malicious .jar file to the host file system, set its executable bit, and trigger the handler to execute arbitrary code outside of the sandbox environment.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-08
Last Modified
2026-07-10
Generated
2026-07-11
AI Q&A
2026-07-09
EPSS Evaluated
2026-07-09
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
ubuntu openjdk *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-20 The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a sandbox escape issue found in the OpenJDK packages provided by Ubuntu. It involves the .jar MIME handlers that execute files marked as executable when the mailcap package is installed. A malicious or compromised sandboxed application that can access the OpenURI portal via xdg-desktop-portal-gtk can write a harmful .jar file to the host system, set it as executable, and cause the handler to run arbitrary code outside the sandbox.

Impact Analysis

This vulnerability can allow an attacker to execute arbitrary code outside of the sandbox environment, potentially leading to full system compromise. Because the attacker can run code with the privileges of the user, this can result in unauthorized access, data theft, or disruption of system operations.

Compliance Impact

The vulnerability allows a sandboxed application to escape its restricted environment and execute arbitrary code on the host system. This could lead to unauthorized access, modification, or disclosure of sensitive data.

Such unauthorized access and potential data breaches can impact compliance with data protection regulations like GDPR and HIPAA, which require strict controls to protect personal and health information from unauthorized access or disclosure.

Therefore, exploitation of this vulnerability could result in violations of these standards due to failure to maintain adequate security boundaries and protect sensitive data.

Detection Guidance

This vulnerability involves the execution of .jar files marked as executable when the mailcap package is installed and the OpenJDK runtime is present. Detection can focus on identifying executable .jar files on the system and monitoring their execution, especially from sandboxed applications like Firefox Snap.

  • Check for executable .jar files on the system using: find / -type f -name "*.jar" -executable
  • Verify if the mailcap package is installed: dpkg -l | grep mailcap
  • Monitor processes launched by sandboxed applications (e.g., Firefox Snap) that execute .jar files.
  • Check for presence of xdg-desktop-portal-gtk which is used to open files outside the sandbox: dpkg -l | grep xdg-desktop-portal-gtk
Mitigation Strategies

To mitigate this vulnerability, update the mailcap package to the fixed version that blocks execution of .jar files, as provided by Ubuntu's security update USN-8518-1.

  • Run system updates to apply the security patch: sudo apt update && sudo apt upgrade
  • Ensure only one OpenJDK runtime is installed to avoid triggering the vulnerability conditions.
  • Consider restricting or monitoring sandboxed applications' ability to write executable .jar files to the host filesystem.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-10037. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart