Uncontrolled Memory Allocation in CODESYS Gateway Server V2 - CVE-2022-31804

 

Uncontrolled Memory Allocation in CODESYS Gateway Server V2 - CVE-2022-31804

Published: July 2, 2025


Vulnerability identifier: #VU112096
CSH Severity: High
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-31804
CWE-ID: CWE-789
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to the affected application does not verify the size of a request is within expected limits. A remote attacker can cause a denial of service (DoS) condition on the target system.


Affected software

CODESYS Gateway Server V2

How to mitigate CVE-2022-31804

Install updates from vendor's website.

CODESYS Gateway Server V2 - update to 2.3.9.38

External References

Related Security Bulletins