Skip to main content

open62541 EUVDEUVD-2026-51336

| CVE-2026-63362 HIGH
Integer Underflow (CWE-191)
8.2
CVSS 4.0 · Vendor
View

Attack ChainAIDerived

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

  1. Access
    Identify OPC UA server with PubSub encryption and signing ReaderGroup
  2. Delivery
    Craft undersized UDP datagram targeting PubSub receive path
  3. Exploit
    Deliver packet to server's PubSub UDP socket
  4. Execution
    Unsigned subtraction underflows to near SIZE_MAX in verifyAndDecrypt()
  5. Persist
    mbedTLS HMAC reads past buffer into unmapped memory
  6. Impact
    Server process crashes (denial of service)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
Exploitation Conditions

Three specific conditions must all be satisfied simultaneously. First, open62541 must be compiled with PubSub encryption support enabled - this is not a default build option and must be explicitly selected at compile time. Second, the running server must have at least one ReaderGroup configured in SIGN or SIGNANDENCRYPT security mode - again non-default and requiring deliberate operator configuration. Third, the attacker must have network-level access to send UDP packets to the server's PubSub endpoint (or potentially MQTT, which the researcher noted reaches the same code path but did not test). Exploitation limits: no session establishment, no authentication, and no valid OPC UA credentials are required - the underflow occurs before any signature is validated. Default open62541 builds without PubSub encryption compiled in are not affected by this CVE. The non-default build and configuration requirement is the primary limiting factor that keeps real-world exposure narrower than a raw AV:N/PR:N reading would suggest.

Impact

The published CVSS v3.1 score of 5.9 Medium (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H) reflects the high attack complexity imposed by the non-default configuration prerequisite - PubSub encryption must be compiled in and a signing ReaderGroup must be configured. CVSS v4.0 scores it higher at 8.2, reflecting the updated framework's treatment of attack requirements as a separate dimension from complexity. EPSS data is not present in the available intelligence; given the OPC UA/ICS deployment context and the configuration prerequisite, opportunistic mass exploitation is unlikely. This vulnerability is not listed in the CISA KEV catalog, so active exploitation in the wild is not confirmed. However, the real-world severity in qualifying environments is higher than the 5.9 score implies: the researcher confirmed that a single undersized UDP datagram reliably terminates both sanitizer and release builds, making denial of service trivially automatable against servers meeting the configuration conditions. In critical manufacturing, energy, and transportation sectors - the sectors CISA specifically names in ICSA-26-211-08 - availability loss can have significant operational consequences. Organizations that have deployed open62541 with PubSub security enabled should treat this as a priority patching event; those on default builds without PubSub encryption are not affected.

Exploit ScenarioDerived

An attacker with UDP network access to an open62541 server compiled with PubSub encryption support and at least one ReaderGroup in SIGN or SIGNANDENCRYPT mode sends a single undersized UDP datagram to the PubSub endpoint. The malformed packet enters verifyAndDecrypt() where the unsigned subtraction of the signature size from the short buffer length wraps to near SIZE_MAX, which is then passed to the mbedTLS HMAC routine; the routine reads far past the buffer boundary into unmapped memory and the server process crashes immediately. No proof-of-concept code is publicly available (withheld at vendor request), but the researcher confirmed reliable reproduction against release builds with a single packet.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
No patch listed yet 1.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 30, 2026

Unsigned integer underflow in open62541's PubSub signature verification path enables an unauthenticated remote attacker to crash an OPC UA server with a single crafted UDP packet. Affected across versions 1.3.0-1.3.18, 1.4.0-1.4.17, and 1.5.0-1.5.5 on Windows and Linux, exploitation requires a non-default build with PubSub encryption enabled and a ReaderGroup in SIGN or SIGNANDENCRYPT mode - but demands no session, credentials, or prior authentication. Patches were released 2026-07-27 and CISA published ICS advisory ICSA-26-211-08 on 2026-07-30; proof-of-concept code is withheld at o6 Automation's request and no KEV listing is present, meaning active exploitation is not confirmed at time of analysis.

RemediationAI

Upgrade to open62541 v1.3.19, v1.4.18, or v1.5.6, released 2026-07-27, which introduce the buffer-length bounds check in verifyAndDecrypt() that prevents the underflow. Release tags are confirmed at https://github.com/open62541/open62541/releases/tag/v1.3.19, https://github.com/open62541/open62541/releases/tag/v1.4.18, and https://github.com/open62541/open62541/releases/tag/v1.5.6. Organizations that vendor open62541 into their own products must check the specific embedded copy they ship and rebuild against a fixed release - the build host's package manager version may differ from what is deployed. If immediate patching is not feasible, disabling PubSub security (removing SIGN or SIGNANDENCRYPT mode from all ReaderGroups) eliminates the vulnerable code path, at the trade-off of unprotected PubSub traffic on the wire. Additionally, restricting OPC UA PubSub UDP endpoints to trusted network segments reduces exposure to crafted packets and is recommended regardless of patch status. The full o6 Automation security advisory is referenced under SA-2026-0014.

Affected VersionsENISA

Open62541 master
Open62541 1.5.0 ≤1.5.4
Open62541 1.4.0 ≤1.4.16
Open62541 1.3.0 ≤1.3.17

Affected Packages

euvd open62541 no fix

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

open62541 is a widely embedded open-source C implementation of OPC UA (IEC 62541), the interoperability protocol for industrial automation maintained by o6 Automation GmbH and used in controllers, gateways, and edge devices across critical infrastructure. The root cause is CWE-191 (Integer Underflow / Wrap-around): the function verifyAndDecrypt() computes the length of the signed region by subtracting the signature size from the total buffer length using unsigned arithmetic, without first confirming the buffer is long enough to contain the signature. When a short message is received, the subtraction wraps to a value near SIZE_MAX. This near-maximum length is passed directly into the mbedTLS HMAC routine, which then reads far past the end of the actual allocation into unmapped memory, crashing the process. The flaw is pre-authentication by design: the receive path decodes OPC UA headers and matches them against a configured DataSetReader before calling verifyAndDecrypt(), so the underflow is triggered before any signature validity is established. The affected code path is reachable via crafted UDP PubSub datagrams; source review by the researcher suggests the MQTT transport reaches the same path, though this was not independently tested.

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 (CNA) PRIMARY 8.2 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

Network-reachable with no auth required (AV:N, PR:N), but AC:H because a non-default PubSub signing build and ReaderGroup configuration are prerequisites; impact is availability-only crash with no information disclosure or integrity effect (A:H, C:N, I:N).

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

Primary rating from Vendor (CNA).

CVSS VectorVendor

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

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

CVE-2026-63362 is a critical denial-of-service vulnerability in open62541, a widely-deployed OPC UA server library used in industrial control systems and IoT infrastructure, affecting versions 1.3.0-1.3.18, 1.4.0-1.4.17, and 1.5.0-1.5.5. Unauthenticated remote attackers can crash vulnerable servers with a single UDP packet when PubSub encryption is enabled, disrupting operational technology and critical systems. Patches were released 2026-07-27, and CISA has published ICS advisory ICSA-26-211-08 requiring immediate remediation across affected deployments.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
1.5%
Top 28% exploitable
Prevalence
Medium
widely used open-source OPC UA library embedded across ICS/industrial automation products
Threat Intel
1
1 sources
Data Quality
9 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CISA Vendor GitHub 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 1.5%
Patch available No
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
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
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Partial

Priority Score

53
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

Threat IntelligenceMISP

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

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