CODESYS Control RTE denial of service from memory leak in network stack
Affects CODESYS Control RTE (SL) and Control RTE (for Beckhoff CX) SL from 3.5.16.0 before 3.5.22.50. Fixed in 3.5.22.50.
- Exploited
- No known exploitation
- Fix
- Fixed in 3.5.22.50
- Who is exposed
- Not reported
Summary
The affected products are CODESYS Control RTE (SL) and CODESYS Control RTE (for Beckhoff CX) SL. A remote attacker who does not need to log in can send specially crafted UDP packets that exhaust the device's packet buffers through a memory leak in the network stack, leaving the device unable to process any network traffic.
Written by a model
Original description
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.
Who should check
Teams running CODESYS Control RTE (SL) or CODESYS Control RTE (for Beckhoff CX) SL at versions from 3.5.16.0 before 3.5.22.50.
“CODESYS Control RTE (SL)”
What to do
Upgrade to a fixed version: 3.5.22.50.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-127170 (Missing Release of Memory after Effective Lifetime in CODESYS Control RTE), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-127170 (entry last updated 2026-11-30):
Affected:
- CODESYS Control RTE (SL): from 3.5.16.0, fixed in 3.5.22.50
- CODESYS Control RTE (for Beckhoff CX) SL: from 3.5.16.0, fixed in 3.5.22.50
Fixed versions: 3.5.22.50.
Conditions (all must be true for the bug to be hit):
- Affected product: CODESYS Control RTE (SL) (source: https://certvde.com/en/advisories/VDE-2026-171/)
- Affected versions 3.5.16.0 up to but not including 3.5.22.50 (source: https://certvde.com/en/advisories/VDE-2026-171/)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-127170 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-127170 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://www.certvde.com/en/advisories/VDE-2026-171/
- https://certvde.com/en/advisories/VDE-2026-171/
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-127170
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-127170"}.Affected versions
- CODESYS Control RTE (SL)From 3.5.16.0 · fixed in 3.5.22.50
- CODESYS Control RTE (for Beckhoff CX) SLFrom 3.5.16.0 · fixed in 3.5.22.50
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
- Reach?/20Unknown. No tracked technology or package matched
- Severity8.7/10CVSS 8.7
- No patch0/5No signal
What would change the score
- Would score about 71 if added to CISA KEV
- Would score about 66 if CISA's SSVC rates exploitation active
- Would score about 31 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 3
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-127170 |
| Record | NVD · CVE-2026-127170 |
| Other links 1 | |
| Link | certvde.com · en/advisories/VDE-2026-171 |
Questions about CVE-2026-127170
Is CVE-2026-127170 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
The software does not release memory after its useful lifetime ends, so memory leaks over time. The leak exhausts the available packet buffers, and the device then stops processing any network traffic, which is a denial-of-service condition.
Source: certvde.com
Which versions are affected by CVE-2026-127170?
Control RTE (SL): from 3.5.16.0 before 3.5.22.50. Control RTE (for Beckhoff CX) SL: from 3.5.16.0 before 3.5.22.50.
Source: cve.now feed data
Am I affected, and how do I check?
Versions 3.5.16.0 up to but not including 3.5.22.50 of CODESYS Control RTE (SL) and CODESYS Control RTE (for Beckhoff CX) SL. Compare the installed Control RTE version against that range to check a device.
Source: certvde.com
How do I fix CVE-2026-127170?
Update the affected products to version 3.5.22.50, the fixed version named in the vendor's advisory.
Source: certvde.com
Related
- CVE-2026-127148Out-of-bounds Write in CODESYS Control
- CVE-2026-127071Use After Free in CODESYS Control may result in RCE
- CVE-2025-41660CODESYS Control Boot Application Replacement Enables Code Execution
- CVE-2026-127169Unchecked Return Value in CODESYS Control RTE
- CVE-2026-127072Integer Underflow (Wrap or Wraparound) in CODESYS Control
- CVE-2026-79626Use After Free in CODESYS Control may result in DOS
No corrections so far. Something wrong on this page? Report an error.