Skip to main content

OpenJDK CVE-2026-10037

| EUVDEUVD-2026-42435 HIGH
Improper Input Validation (CWE-20)
2026-07-08 security@ubuntu.com GHSA-xg8h-3f4m-39v6
8.8
CVSS 3.1 · Vendor: ubuntu
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Compromise sandboxed desktop application
  2. Delivery
    Write malicious .jar via OpenURI portal
  3. Exploit
    Set executable bit on host file
  4. Execution
    Trigger OpenJDK mailcap .jar handler
  5. Persist
    Execute arbitrary code outside sandbox
  6. Impact
    Full host compromise as user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires all of: an Ubuntu system with the vulnerable OpenJDK package installed and its .jar mailcap MIME handler registered, the mailcap package present (this is the precise 'when installed' trigger that makes handlers execute executable-flagged files), xdg-desktop-portal-gtk running to expose the OpenURI portal, and an already-compromised or malicious sandboxed application that has portal access and can write to a host-reachable filesystem location and set the executable bit. Limiting factors: the attacker must already hold code execution inside a sandbox (PR:L, not unauthenticated), access is local (AV:L, not remotely reachable over the network), and no exploitation is possible on systems lacking mailcap or the desktop portal stack - servers and minimal installs without xdg-desktop-portal-gtk are not exposed. No end-user interaction is required (UI:N).

Impact

The supplied CVSS 3.1 vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (8.8) is internally consistent with the description: the attacker is a local, already-running but low-privileged sandboxed process (AV:L, PR:L), needs no victim interaction (UI:N), and the sandbox-to-host break is precisely the scope change (S:C) that drives the high score, with full host C/I/A loss. No EPSS score, KEV listing, or SSVC decision data was provided, and no public exploit is identified - so the real-world signal is 'high technical severity, unproven exploitation.' The practical risk is gated by a specific desktop stack (OpenJDK .jar handlers + mailcap installed + xdg-desktop-portal-gtk + a sandboxed app the attacker already controls), which narrows exposure well below a remote-network flaw of the same score. This is a genuine privilege/boundary escalation worth prioritizing on affected Ubuntu desktops, but the absence of EPSS/KEV/POC data means it is not evidence of active mass exploitation; treat it as a serious defense-in-depth gap rather than a fire-drill.

Exploit ScenarioDerived

An attacker compromises a Flatpak/Snap-confined application on an Ubuntu desktop (for example via a malicious document or a supply-chain-tainted app) and, from inside the sandbox, uses the OpenURI portal exposed by xdg-desktop-portal-gtk to write a crafted .jar to a host-accessible path, mark it executable, and request that it be opened. The OpenJDK mailcap handler then runs the jar outside the sandbox, giving the attacker arbitrary code execution with the desktop user's full host privileges. No public exploit is identified at time of analysis, so this reflects the described mechanism rather than an observed campaign.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 08, 2026

Sandbox escape in the OpenJDK packages shipped by Ubuntu allows a compromised sandboxed application to break out and run arbitrary code on the host. Because the packages' .jar MIME handlers execute any file flagged executable (when the mailcap package is present), an app abusing the OpenURI portal through xdg-desktop-portal-gtk can drop a malicious .jar, set its executable bit, and invoke the handler. There is no public exploit identified at time of analysis, but the flaw carries a CVSS 8.8 with a changed scope, reflecting full loss of host confidentiality, integrity and availability once the sandbox boundary is crossed.

RemediationAI

No vendor-released patch identified at time of analysis; the only reference is the Ubuntu Launchpad tracking bug (https://bugs.launchpad.net/ubuntu/+source/openjdk-25/+bug/2153100), so monitor Ubuntu Security Notices for the fixed openjdk package versions and upgrade as soon as they publish. As compensating controls until a patch lands: remove or avoid installing the mailcap package on desktop systems where it is not required, which disables the .jar MIME handler behavior that makes the file executable (trade-off: other applications relying on mailcap MIME associations may lose default handler resolution); alternatively, remove or neuter the OpenJDK .jar handler entry so archives open as data rather than executing (trade-off: double-clicking .jar files will no longer launch them). Where feasible, restrict or disable the OpenURI capability of xdg-desktop-portal-gtk for untrusted sandboxed apps to close the write-and-trigger path (trade-off: confined apps lose the ability to hand files to host handlers). Ensure host filesystem locations writable by sandboxed apps do not permit setting the executable bit where possible.

Affected VersionsENISA

Ubuntu 0 <3.74ubuntu1.1
Ubuntu 0 <3.75ubuntu1.1
Ubuntu 0 <3.70+nmu1ubuntu1.24.04.1
Ubuntu 0 <3.70+nmu1ubuntu1.22.04.1

Affected Packages

euvd ubuntu fix: 3.70+nmu1ubuntu1.22.04.1, 3.70+nmu1ubuntu1.24.04.1, 3.74ubuntu1.1, 3.75ubuntu1.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The issue lives at the intersection of the Linux desktop portal model and OpenJDK's Freedesktop integration. Ubuntu's OpenJDK packages register .jar (application/x-java-archive) MIME handlers via mailcap; those handler entries execute a file directly if its executable bit is set rather than treating the archive as inert data. xdg-desktop-portal-gtk's OpenURI portal is intended to let confined applications (e.g. Flatpak/Snap) ask the host to open a file or URI with the appropriate handler, mediating access across the sandbox boundary. Here the portal ends up invoking the OpenJDK .jar handler on attacker-controlled, executable-flagged content, converting a 'open this file' request into code execution. CWE-20 (Improper Input Validation) captures the root cause: the handler trusts the executable bit and MIME association without validating that launching the file is safe, and the portal does not prevent a confined app from writing and then executing host-side content. No CPE strings were supplied in the input, so exact package builds must be confirmed from the referenced Launchpad bug (openjdk-25 among the affected sources).

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (ubuntu) PRIMARY 8.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Attacker is an already-running low-privileged sandboxed process (AV:L, PR:L), no user interaction, and the sandbox-to-host break is a scope change (S:C) yielding full host C/I/A loss.

3.1 AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Red Hat 8.8 HIGH

Primary rating from Vendor (ubuntu).

CVSS VectorVendor: ubuntu

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
Patch available
Jul 08, 2026 - 23:04 EUVD

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A critical sandbox escape vulnerability in Ubuntu's OpenJDK packages (CVE-2026-10037) enables compromised applications to break containment and gain full control of host systems. Organizations running Ubuntu with OpenJDK and sandboxed workloads face complete infrastructure compromise if an application is exploited. Leadership should prioritize immediate mitigation as no vendor patch is currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable xdg-desktop-portal-gtk if not operationally required; (2) Restrict access to OpenURI portal for sandboxed applications; (3) Remove or disable .jar MIME handler execution; (4) Uninstall mailcap package if not needed; (5) Isolate affected systems and restrict network access from sandboxed application environments.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Medium
OpenJDK is common, but this needs Ubuntu desktop with mailcap and portal sandbox
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy