CVE-2022-25903
HIGH 7.5CVSS 3.1opcua Vulnerable to Out-of-bounds Write
The package opcua from 0.0.0 are vulnerable to Denial of Service (DoS) via the ExtensionObjects and Variants objects, when it allows unlimited nesting levels, which could result in a stack overflow even if the message size is less than the maximum allowed.
- Published
- 24 Aug 2022
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-787
- Also known as
- GHSA-hgxq-hcrm-c5pm
- Sources
- NVDJSONOSV GHSA-hgxq-hcrm-c5pmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | opcua_project | opcuacpe:2.3:a:opcua_project:opcua:*:*:*:*:*:rust:*:* |
>= 0.0.0 | |
| OSV | crates.io | opcua | < 0.11.0 | 0.11.0 |
References
- https://github.com/locka99/opcua/pull/216 · Third Party Advisory, WEB
- https://github.com/locka99/opcua/pull/216/commits/e75dada28a40c3fefc4aeee4cdc272e1b748f8dd · Patch, Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-RUST-OPCUA-2988750 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25903 · ADVISORY
- https://github.com/locka99/opcua · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 24 Aug 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2022)