CVE-2026-10037Sandbox Escape in Ubuntu OpenJDK Packages via xdg-desktop-portal
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | mailcap | Fix pending | UBUNTU-CVE-2026-10037 | |
| Ubuntu 26.10 | openjdk-17 | Fix pending | UBUNTU-CVE-2026-10037 | |
| Ubuntu 26.10 | openjdk-17-crac | Fix pending | UBUNTU-CVE-2026-10037 | |
| Ubuntu 26.10 | openjdk-21 | Fix pending | UBUNTU-CVE-2026-10037 | |
| Ubuntu 26.10 | openjdk-21-crac | Fix pending | UBUNTU-CVE-2026-10037 | |
| Ubuntu 26.10 | openjdk-8 | Fix pending | UBUNTU-CVE-2026-10037 | |
| Ubuntu 26.10 | openjdk-lts | Fix pending | UBUNTU-CVE-2026-10037 | |
| Ubuntu 26.04 | mailcap | Fixed | 3.75ubuntu1.1 | UBUNTU-CVE-2026-10037 |
| Ubuntu 26.04 | openjdk-17 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | openjdk-17-crac | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | openjdk-21 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | openjdk-21-crac | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | openjdk-25 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | openjdk-8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | openjdk-lts | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | mailcap | Fixed | 3.74ubuntu1.1 | UBUNTU-CVE-2026-10037 |
| Ubuntu 25.10 | openjdk-17 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | openjdk-17-crac | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | openjdk-21 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | openjdk-21-crac | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | openjdk-25 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | openjdk-8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | openjdk-lts | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | mailcap | Fixed | 3.70+nmu1ubuntu1.24.04.1 | UBUNTU-CVE-2026-10037 |
| Ubuntu 24.04 | openjdk-17 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | openjdk-21 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | openjdk-25 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | openjdk-8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | mailcap | Fixed | 3.70+nmu1ubuntu1.22.04.1 | UBUNTU-CVE-2026-10037 |
| Ubuntu 22.04 | openjdk-17 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | openjdk-18 | Will 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.04 | openjdk-21 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | openjdk-25 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | openjdk-8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | openjdk-lts | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | openjdk-13 | Fix pending | UBUNTU-CVE-2026-10037 | |
| Ubuntu 20.04 | openjdk-16 | Fix pending | UBUNTU-CVE-2026-10037 | |
| Ubuntu 16.04 | openjdk-9 | Fix pending | UBUNTU-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.
- Canonical Ubuntu
- Canonical Ubuntu: affected: before 3.70+nmu1ubuntu1.22.04.1, before 3.70+nmu1ubuntu1.24.04.1, before 3.74ubuntu1.1, before 3.75ubuntu1.1; fixed in
3.70+nmu1ubuntu1.22.04.1,3.70+nmu1ubuntu1.24.04.1,3.74ubuntu1.1,3.75ubuntu1.1
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.