VYPR
High severityNVD Advisory· Published Aug 23, 2022· Updated Sep 16, 2024

Denial of Service (DoS)

CVE-2022-25888

Description

The opcua Rust crate is vulnerable to DoS via unlimited large chunks without a final chunk, exhausting server resources.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

The opcua Rust crate is vulnerable to DoS via unlimited large chunks without a final chunk, exhausting server resources.

Vulnerability

Details

The opcua crate (a Rust implementation of the OPC UA protocol) is vulnerable to a Denial of Service (DoS) attack because it lacks a limitation on the number of received chunks per session or across all concurrent sessions [1]. The server does not enforce a maximum number of chunks, allowing an attacker to send an unlimited number of huge chunks (e.g., 2 GB each) without ever sending the required Final closing chunk [1]. This missing constraint is the root cause of the vulnerability.

Exploitation

An attacker can exploit this by establishing a session (or multiple sessions) and sending a continuous stream of large chunks without completing the message. No authentication is required if the server accepts unauthenticated sessions, and the attacker can be remote as long as network connectivity to the OPC UA endpoint exists. The vulnerability is triggered purely by network traffic; no special privileges are needed beyond the ability to initiate a connection [1].

Impact

Successful exploitation leads to unbounded memory or resource consumption on the server, causing a Denial of Service (DoS). The server may become unresponsive or crash, disrupting legitimate OPC UA clients and any industrial control or monitoring systems relying on the service [1].

Mitigation

The maintainers addressed the issue in pull request #216, which introduced configurable limits for chunk counts and other resource constraints [2][4]. The fix adds a max_chunk_count (or similar) limit and a decoding depth limit to prevent resource exhaustion [2]. Users are advised to upgrade to a patched version of the crate that includes these changes. As of the publication date, no CVE-assigned patch version is explicitly listed, but the commit history shows the fix was merged into the mainline [4].

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
opcuacrates.io
< 0.11.00.11.0

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

5

News mentions

0

No linked articles in our index yet.