← Vulnerability feed

Vulnerability record · CVE-2022-31804 · published 24 June 2022

CVE-2022-31804: Codesys gateway vulnerability

Codesys · Gateway

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.

7.5 CVSS 3.1 High EPSS 1.1% · top 34.8% CWE-789 · CWE-789
7.5CVSS 3.1 base score, v2 5.0
1.1%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References
17 Jun 2026Last modified by NVD

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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-31804 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2022-31802Codesys gateway vulnerabilityIn CODESYS Gateway Server V2 for versions prior to V2.3.9.38 only a part of the the specified password is been compared to the real CODESYS Gateway p…EPSS 1.3%9.8CVE-2019-9010Codesys control for beaglebone sl vulnerabilityAn issue was discovered in 3S-Smart CODESYS V3 products. The CODESYS Gateway does not correctly verify the ownership of a communication channel. All …EPSS 1.9%7.5CVE-2022-30791Codesys control for beaglebone uncontrolled resource consumption vulnerabilityIn CmpBlkDrvTcp of CODESYS V3 in multiple versions an uncontrolled ressource consumption allows an unauthorized attacker to block new TCP connections…EPSS 0.89%7.5CVE-2022-30792Codesys control for beaglebone uncontrolled resource consumption vulnerabilityIn CmpChannelServer of CODESYS V3 in multiple versions an uncontrolled ressource consumption allows an unauthorized attacker to block new communicati…EPSS 0.89%7.5CVE-2022-31805Codesys development system vulnerabilityIn the CODESYS Development System multiple components in multiple versions transmit the passwords for the communication between clients and servers u…EPSS 1.0%7.5CVE-2022-22517Codesys control for beaglebone sl vulnerabilityAn unauthenticated, remote attacker can disrupt existing communication channels between CODESYS products by guessing a valid channel ID and injecting…EPSS 1.3%7.5CVE-2021-36764Codesys gateway null pointer dereference vulnerabilityIn CODESYS Gateway V3 before 3.5.17.10, there is a NULL Pointer Dereference. Crafted communication requests may cause a Null pointer dereference in t…EPSS 0.99%7.5CVE-2021-29241Codesys control for beaglebone sl null pointer dereference vulnerabilityCODESYS Gateway 3 before 3.5.16.70 has a NULL pointer dereference that may result in a denial of service (DoS).EPSS 1.4%

Source: NIST National Vulnerability Database (record CVE-2022-31804), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.