# CVE-2022-25903: Denial of Service (DoS)

- Severity: High 7.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.47%, higher than 74% of CVEs (2026-12-01)
- Published: 2022-08-24T05:00:19.697Z
- Modified: 2026-06-17T04:34:28.307Z
- Also known as: GHSA-hgxq-hcrm-c5pm
- Weaknesses: CWE-787
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- opcua: from 0.0.0 before unspecified
- opcua (crates.io): before 0.11.0
- opcua_project opcua: from 0.0.0

## Every score

- snyk: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/locka99/opcua/pull/216> (third-party-advisory, web)
- <https://security.snyk.io/vuln/SNYK-RUST-OPCUA-2988750> (patch, third-party-advisory, web)
- <https://github.com/locka99/opcua/pull/216/commits/e75dada28a40c3fefc4aeee4cdc272e1b748f8dd> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25903> (advisory)
- <https://github.com/locka99/opcua> (package)

## Sources

- CVE List: [CVE-2022-25903](https://www.cve.org/CVERecord?id=CVE-2022-25903), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-hgxq-hcrm-c5pm](https://github.com/advisories/GHSA-hgxq-hcrm-c5pm), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-25903](https://nvd.nist.gov/vuln/detail/CVE-2022-25903), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-25903 · Whole record: https://cve.day/CVE-2022-25903.json · Rebuilt by cve.day 2026-11-25T22:58:14.407Z
