CVEfocus › CVE database › CVE-2026-10037

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

CVSS 8.8 HighEPSS 0.2% (higher than 4% of CVEs)Published 2026-07-08Updated 2026-07-14Assigner: canonical

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.

CWE-20

What to do

Fixed builds are available from Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
10Fix pending
1Will not fix
23Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10mailcapFix pendingUBUNTU-CVE-2026-10037
Ubuntu 26.10openjdk-17Fix pendingUBUNTU-CVE-2026-10037
Ubuntu 26.10openjdk-17-cracFix pendingUBUNTU-CVE-2026-10037
Ubuntu 26.10openjdk-21Fix pendingUBUNTU-CVE-2026-10037
Ubuntu 26.10openjdk-21-cracFix pendingUBUNTU-CVE-2026-10037
Ubuntu 26.10openjdk-8Fix pendingUBUNTU-CVE-2026-10037
Ubuntu 26.10openjdk-ltsFix pendingUBUNTU-CVE-2026-10037
Ubuntu 26.04mailcapFixed3.75ubuntu1.1UBUNTU-CVE-2026-10037
Ubuntu 26.04openjdk-17Not affected
vulnerable_code_not_present
Ubuntu 26.04openjdk-17-cracNot affected
vulnerable_code_not_present
Ubuntu 26.04openjdk-21Not affected
vulnerable_code_not_present
Ubuntu 26.04openjdk-21-cracNot affected
vulnerable_code_not_present
Ubuntu 26.04openjdk-25Not affected
vulnerable_code_not_present
Ubuntu 26.04openjdk-8Not affected
vulnerable_code_not_present
Ubuntu 26.04openjdk-ltsNot affected
vulnerable_code_not_present
Ubuntu 25.10mailcapFixed3.74ubuntu1.1UBUNTU-CVE-2026-10037
Ubuntu 25.10openjdk-17Not affected
vulnerable_code_not_present
Ubuntu 25.10openjdk-17-cracNot affected
vulnerable_code_not_present
Ubuntu 25.10openjdk-21Not affected
vulnerable_code_not_present
Ubuntu 25.10openjdk-21-cracNot affected
vulnerable_code_not_present
Ubuntu 25.10openjdk-25Not affected
vulnerable_code_not_present
Ubuntu 25.10openjdk-8Not affected
vulnerable_code_not_present
Ubuntu 25.10openjdk-ltsNot affected
vulnerable_code_not_present
Ubuntu 24.04mailcapFixed3.70+nmu1ubuntu1.24.04.1UBUNTU-CVE-2026-10037
Ubuntu 24.04openjdk-17Not affected
vulnerable_code_not_present
Ubuntu 24.04openjdk-21Not affected
vulnerable_code_not_present
Ubuntu 24.04openjdk-25Not affected
vulnerable_code_not_present
Ubuntu 24.04openjdk-8Not affected
vulnerable_code_not_present
Ubuntu 22.04mailcapFixed3.70+nmu1ubuntu1.22.04.1UBUNTU-CVE-2026-10037
Ubuntu 22.04openjdk-17Not affected
vulnerable_code_not_present
Ubuntu 22.04openjdk-18Will not fix
The mailcap package has been updated to block jar file execution. This make the openjdk packages not vulnerable to this issue.
UBUNTU-CVE-2026-10037
Ubuntu 22.04openjdk-21Not affected
vulnerable_code_not_present
Ubuntu 22.04openjdk-25Not affected
vulnerable_code_not_present
Ubuntu 22.04openjdk-8Not affected
vulnerable_code_not_present
Ubuntu 22.04openjdk-ltsNot affected
vulnerable_code_not_present
Ubuntu 20.04openjdk-13Fix pendingUBUNTU-CVE-2026-10037
Ubuntu 20.04openjdk-16Fix pendingUBUNTU-CVE-2026-10037
Ubuntu 16.04openjdk-9Fix pendingUBUNTU-CVE-2026-10037

What the vendor says

As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.