Skip to main content

Eclipse Milo EUVDEUVD-2026-52659

| CVE-2026-61387 MEDIUM
Improper Cleanup on Thrown Exception (CWE-460)
2026-08-04 eclipse GHSA-54cr-fx8f-gpc5
6.9
CVSS 4.0 · Vendor: eclipse
View

Attack ChainAIDerived

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

  1. Access
    Connect to OPC UA endpoint (port 4840)
  2. Delivery
    Craft CreateMonitoredItems with deeply nested PubSub ExtensionObjects
  3. Exploit
    Decoding triggers JVM StackOverflowError
  4. Execution
    Exception-unsafe quota code leaks one reservation per request
  5. Persist
    Repeat until global quota exhausted
  6. Impact
    All clients denied new monitored-item creation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception cleanup procedures
Exploitation Conditions

The server must run Eclipse Milo versions 1.0.0 through 1.1.4 and its OPC UA endpoint must be network-reachable by the attacker. No authentication is required - the CVSS 4.0 vector PR:N confirms unauthenticated exploitation. The attacker must be able to issue a CreateMonitoredItems request with a PubSub event filter embedding deeply nested ExtensionObjects; nesting depth must be sufficient to exhaust the JVM thread stack, which depends on the server's configured thread stack size (JVM default is typically 512 KB-1 MB). Exploitation requires multiple repeated requests - one per quota slot - meaning the number of requests needed equals the server's configured global monitored-item quota limit. Recovery from a successful attack requires a server restart; the leaked reservations are not reclaimed at runtime. Existing monitored items and all non-CreateMonitoredItems OPC UA services remain unaffected throughout the attack.

Impact

The CVSS 4.0 score of 6.9 (Medium) with vector AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N accurately models the risk envelope. The attack surface is maximally accessible - no authentication, no complexity, no user interaction - but the blast radius is narrow: VA:L reflects that only new monitored-item creation is denied; existing subscriptions, data reads, and other OPC UA services remain functional. EPSS data was not provided in the input and cannot be inferred. The CVE is not in the CISA KEV catalog and no public exploit code has been identified at time of analysis. In industrial OPC UA environments, monitored items underpin all subscription-based data delivery, so quota exhaustion could disrupt operator visibility and alarm systems without disrupting the underlying process - a meaningful but partial operational impact. The lack of C or I impact in the CVSS vector is consistent with the description explicitly stating existing items are unaffected. Priority should be elevated for internet-exposed OPC UA endpoints or production environments where unscheduled server restarts carry operational cost; for air-gapped or access-controlled deployments the urgency is lower. No conflicting signals exist between the CVSS vector and the description.

Exploit ScenarioDerived

An attacker with TCP connectivity to the OPC UA endpoint (port 4840) sends a CreateMonitoredItems service request containing a PubSub event filter with hundreds of recursively nested ExtensionObjects, sufficient to overflow the JVM call stack during decoding. Because the StackOverflowError escapes the exception-safe quota cleanup, each such request permanently consumes one quota slot. Repeating this across all available quota slots exhausts the server's global limit, after which every OPC UA client - including legitimate operator workstations - receives a rejection when attempting to create new monitored items, degrading visibility into the monitored process until an operator restarts the server.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 04, 2026

Unauthenticated remote clients can permanently exhaust the global monitored-item quota in Eclipse Milo OPC UA SDK versions 1.0.0 through 1.1.4, effectively preventing all clients from creating new monitored items until the server is restarted. The attack combines two defects: the server's ExtensionObject decoder lacks recursion-depth enforcement, enabling deeply nested PubSub structures in a CreateMonitoredItems event filter to trigger a JVM StackOverflowError, and the quota accounting code is not exception-safe against unchecked JVM Errors, so the reserved slot is never reclaimed. No public exploit code has been identified and this CVE is absent from the CISA KEV catalog; however, the CVSS 4.0 vector AV:N/AC:L/PR:N/UI:N confirms the attack is network-reachable with no authentication or complexity barriers.

RemediationAI

Upgrade Eclipse Milo by incorporating the two upstream fix commits: 587e35669f519b2d7f6d850a5f86ee5a76c3a2c5 (recursion-depth guard in ExtensionObject) and 5f3f6da2a5ea80682e1da7c58f7a1870b09d2b43 (exception-safe quota accounting), available at https://github.com/eclipse-milo/milo/commit/587e35669f519b2d7f6d850a5f86ee5a76c3a2c5 and https://github.com/eclipse-milo/milo/commit/5f3f6da2a5ea80682e1da7c58f7a1870b09d2b43. The first tagged release version incorporating these fixes is not confirmed in the available data - consult the Eclipse Milo GitHub releases page and the advisory at https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/598 to identify the patched release before upgrading. As a compensating control prior to patching, restrict network access to the OPC UA endpoint (default TCP port 4840) to known, trusted client hosts using firewall rules or network segmentation; this reduces exposure but does not eliminate risk from compromised trusted hosts. If the deployed version exposes a configurable EncodingLimits.maxRecursionDepth parameter, setting a low value (e.g., 4-8) limits the stack depth achievable during decoding and may prevent StackOverflowError, though this is not a full fix for the non-exception-safe quota accounting. Note that quota recovery after exploitation requires a server restart.

Affected VersionsENISA

Eclipse Milo 1.0.0 <1.1.5

Affected Packages

euvd eclipse_milo fix: 1.1.5

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

Eclipse Milo is an open-source OPC UA (IEC 62541) SDK for Java maintained by the Eclipse Foundation, used in industrial automation, SCADA, and IIoT deployments. The vulnerability arises from two interacting defects in the opc-ua-stack module. First, the ExtensionObject.decode() method in org.eclipse.milo.opcua.stack.core.types.builtin.ExtensionObject had no recursion-depth guard: arbitrarily nested ExtensionObjects supplied in PubSub event filters would recurse through the Java call stack until a StackOverflowError was thrown - a subclass of java.lang.Error, not Exception. Second, the server's monitored-item quota accounting code did not handle unchecked Errors in its cleanup path (CWE-460: Improper Cleanup on Thrown Exception), so the StackOverflowError escaped without restoring the reserved quota slot. The upstream fix (commit 587e3566) introduces a ThreadLocal integer depth counter in ExtensionObject, checked against context.getEncodingLimits().getMaxRecursionDepth() before each decode call, converting uncontrolled recursion into a catchable UaSerializationException with status Bad_EncodingLimitsExceeded. A companion commit (5f3f6da2) addresses the exception-safe quota restoration. The CPE cpe:2.3:a:eclipse_foundation:eclipse_milo:*:*:*:*:*:*:*:* covers all versions; the stated range is 1.0.0 through 1.1.4.

Know when Eclipse Milo gets its next vulnerability

  • 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 (eclipse) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Network-reachable unauthenticated attack with no complexity; impact is limited availability only (partial DoS, no confidentiality or integrity loss, scope unchanged).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (eclipse).

CVSS VectorVendor: eclipse

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Aug 04, 2026 - 13:16 EUVD

DescriptionCVE.org

In Eclipse Milo versions 1.0.0 through 1.1.4, monitored-item quota accounting is not exception-safe: if item creation fails with an unchecked error, the server-global reservation is not restored. Deeply nested PubSub ExtensionObjects in a CreateMonitoredItems event filter can trigger a StackOverflowError during decoding, allowing an unauthenticated remote client to exhaust a finite global monitored-item quota and prevent all clients from creating new monitored items until restart. Existing monitored items and other server functions remain unaffected.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Low
niche OPC UA Java SDK used primarily in industrial/IIoT deployments
Threat Intel
1
1 sources
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CISA GitHub

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat Yes
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Threat IntelligenceMISP

CISA Advisories
Sources: CISA Vulnrichment, CISA (public domain)

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