CVE-2026-10037: Sandbox Escape in Ubuntu OpenJDK Packages via xdg-desktop-portal

Published Jul 8, 2026
·
Updated

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.

Affected Software

16 affected componentsFixes available
Ubuntu OpenJDK packages
ubuntu/openjdk-9*
ubuntu/openjdk-13*
ubuntu/openjdk-16*
ubuntu/mailcap<3.70+nmu1ubuntu1.22.04.1
3.70+nmu1ubuntu1.22.04.1
ubuntu/openjdk-18*
ubuntu/mailcap<3.70+nmu1ubuntu1.24.04.1
3.70+nmu1ubuntu1.24.04.1
ubuntu/mailcap<3.74ubuntu1.1
3.74ubuntu1.1
ubuntu/mailcap*
ubuntu/openjdk-17*
ubuntu/openjdk-17-crac*
ubuntu/openjdk-21*
ubuntu/openjdk-21-crac*
ubuntu/openjdk-8*
ubuntu/openjdk-lts*
ubuntu/mailcap<3.75ubuntu1.1
3.75ubuntu1.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/mailcap to a version that resolves this vulnerability.

    Fixed in 3.70+nmu1ubuntu1.22.04.1
  2. Upgrade

    Upgrade ubuntu/mailcap to a version that resolves this vulnerability.

    Fixed in 3.70+nmu1ubuntu1.24.04.1
  3. Upgrade

    Upgrade ubuntu/mailcap to a version that resolves this vulnerability.

    Fixed in 3.74ubuntu1.1
  4. Upgrade

    Upgrade ubuntu/mailcap to a version that resolves this vulnerability.

    Fixed in 3.75ubuntu1.1
  5. Configuration

    Disable or remove the .jar MIME handler behavior that executes files marked as executable when the mailcap package is installed, to prevent arbitrary code execution via the handler.

    Ubuntu mailcap/package MIME handling executable .jar MIME handler execution = disable or remove the handler behavior that executes files marked as executable when the mailcap package is installed
  6. Compensating control

    Restrict or prevent sandboxed/malicious applications from accessing the OpenURI portal (xdg-desktop-portal-gtk) so they cannot trigger the MIME handler execution outside the sandbox.

Event History

Jul 8, 2026
CVE Published
via MITRE·09:18 PM
Data Sourced
via MITRE·09:18 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·09:18 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-10037?

CVE-2026-10037 has a high severity rating of 8.8.

2

How do I fix CVE-2026-10037?

You can fix CVE-2026-10037 by updating the OpenJDK packages to the latest version provided by Ubuntu.

3

What type of vulnerability is CVE-2026-10037?

CVE-2026-10037 is classified as a sandbox escape vulnerability.

4

What is affected by CVE-2026-10037?

CVE-2026-10037 affects OpenJDK packages provided in Ubuntu.

5

What can an attacker achieve with CVE-2026-10037?

An attacker can execute files marked as executable from a compromised sandboxed application due to CVE-2026-10037.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203