Read the docs

Memory leak in CODESYS Control RTE lets UDP packets exhaust buffers

Priority MEDIUM 41CWE-401Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-401.

Summary

CODESYS Control RTE (SL) and CODESYS Control RTE (for Beckhoff CX) SL from 3.5.16.0 before 3.5.22.50 contain a memory leak in packet processing of the network stack. The missing release of memory (CWE-401) lets an unauthenticated remote attacker exhaust packet buffers by sending crafted UDP packets. Successful exploitation leaves the affected device unable to process any network traffic.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

The affected products contain a memory leak in the packet processing of the network stack. An unauthenticated remote attacker can send specially crafted UDP packets to exhaust available packet buffers. Successful exploitation results in a denial-of-service condition in which the affected device no longer processes any network traffic.

Why it matters now

EPSS 0.01626 76th percentileScored 2026-11-30
Fix Fixed Control RTE (SL) (CODESYS): 3.5.22.50Control RTE (for Beckhoff CX) SL (CODESYS): 3.5.22.50

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
CODESYSControl RTE (SL)3.5.16.0 to before 3.5.22.503.5.22.50Patch availableCNA
CODESYSControl RTE (for Beckhoff CX) SL3.5.16.0 to before 3.5.22.503.5.22.50Patch availableCNA
  • Control RTE (SL) VendorCODESYS Affected 3.5.16.0 to before 3.5.22.50 Fixed in 3.5.22.50 Patch available CNA
  • Control RTE (for Beckhoff CX) SL VendorCODESYS Affected 3.5.16.0 to before 3.5.22.50 Fixed in 3.5.22.50 Patch available CNA

Remediation

Update CODESYS Control RTE (SL) and CODESYS Control RTE (for Beckhoff CX) SL to version 3.5.22.50, the fixed version for both products.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

  • Fix · CNA Control RTE (SL) (CODESYS) Fixed in 3.5.22.50
  • Fix · CNA Control RTE (for Beckhoff CX) SL (CODESYS) Fixed in 3.5.22.50

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    CODESYS Control RTE (SL), Control RTE (for Beckhoff CX) SL 3.5.22.50

    10 records Highest priority Priority MEDIUM 3 MEDIUM, 7 LOW

    Other records, highest priority first

    • TI-2026-99730 Out-of-bounds write in CODESYS Control lets attackers run codePriority MEDIUM 42
    • TI-2026-99725 Use after free in CODESYS Control allows remote code executionPriority MEDIUM 40
    • TI-2026-99735 Unchecked return value in CODESYS Control RTEPriority LOW 38

Timeline

  1. 2026-11-30 Threatist record created from CVE-2026-127170
  2. 2026-11-30 Alias added: GHSA-h7w2-r82g-px4c

References

  • TI-2021-12888 CODESYS Control Runtime system before 3.5.17.10 has a Heap-based Buffer Overflow. CVSS 3.1CRITICAL 9.8
  • TI-2019-10180 Stack-based buffer overflow in CODESYS V3 web server CVSS 3.1CRITICAL 9.8
  • TI-2021-13604 CODESYS V2 web server: crafted requests could trigger a null pointer dereference (DoS) CVSS 3.1HIGH 7.5
  • TI-2020-08257 CODESYS V3 web server before 3.5.15.40, as used in CODESYS Control runtime systems, has a buffer overflow. CVSS 3.1CRITICAL 9.8
  • TI-2019-13592 CODESYS 3 web server before 3.5.15.20, as distributed with CODESYS Control runtime systems, has a Buffer Overflow. CVSS 3.1CRITICAL 9.8
  • TI-2017-03937 Unrestricted file upload in 3S-Smart Software Solutions GmbH CODESYS Web Server CVSS 3.0CRITICAL 9.8
See all 174 →

Sources