CVE-2022-31804: CODESYS Gateway server prone to denial of service attack due to excessive memory allocation
Vulnerability summary
CVE-2022-31804 is a high (CVSS 7.5) vulnerability in codesys codesys gateway server v2. EPSS estimates a 1.18% chance of exploitation in the next 30 days, higher than 68.7% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 24-06-2022PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.18%
Chance of exploitation in the next 30 days
Percentile
69%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 1.16% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Codesys2 products
- codesys gateway server v2≥ unspecified, < V2.3.9.38
- gateway≥ 2.0, < 2.3.9.38
1 vendor · 2 products