# CVE-2022-31804: CODESYS Gateway server prone to denial of service attack due to excessive memory allocation

- Severity: High 7.5 (CVSS:3.1, scored by CERTVDE) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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.18%, higher than 68% of CVEs (2026-12-01)
- Published: 2022-06-24T07:46:13.080Z
- Modified: 2026-06-17T04:46:20.533Z
- Weaknesses: CWE-789
- Assigned by: CERTVDE

## Description

The CODESYS Gateway Server V2 does not verifiy that the size of a request is within expected limits. An unauthenticated attacker may allocate an arbitrary amount of memory, which may lead to a crash of the Gateway due to an out-of-memory condition.

(As written by CVE List.)

## Affected

- CODESYS CODESYS Gateway Server V2: from unspecified before V2.3.9.38
- codesys gateway: from 2.0 before 2.3.9.38

## Every score

- CERTVDE: 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:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://customers.codesys.com/index.php?eID=dumpFile&t=f&f=17141&token=17867e35cfd30c77ba0137f9a17b3a557a4b7b66&download=> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-31804](https://www.cve.org/CVERecord?id=CVE-2022-31804), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2022-31804](https://nvd.nist.gov/vuln/detail/CVE-2022-31804), Public domain, modified 2026-06-17

---

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