{"schemaVersion":4,"id":"CVE-2026-127071","aliases":[],"status":"published","duplicateOf":null,"title":"Use After Free in CODESYS Control may result in RCE","description":"The affected products contain a use-after-free vulnerability in the WebSocket handling of the web server component. An unauthenticated remote attacker can send specially crafted WebSocket frames to trigger access to a previously released connection object. Successful exploitation may result in remote code execution if the attacker has previously obtained sufficient information about the memory layout of the runtime process on the targeted device.","dates":{"published":"2026-11-30T08:31:24.982Z","modified":"2026-12-01T19:38:10.070Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.2,"severity":"critical","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":9.2,"severity":"critical","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":9.2,"severity":"critical","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00564,"percentile":0.48296,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-30T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00564,"percentile":0.48296}],"last30":[{"date":"2026-11-30T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00564,"percentile":0.48296}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"codesys","product":"control for beaglebone sl","name":"Control for BeagleBone SL","label":"control for beaglebone sl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.21.0.0, < 4.24.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.21.0.0","startInclusive":true,"end":"4.24.0.0","endInclusive":false}}],"versionsText":"≥ 4.21.0.0, < 4.24.0.0","eol":null,"hubHref":"/vendor/codesys/control_for_beaglebone_sl"},{"vendor":"codesys","product":"control for empc-a/imx6 sl","name":"Control for emPC-A/iMX6 SL","label":"control for empc-a/imx6 sl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.21.0.0, < 4.24.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.21.0.0","startInclusive":true,"end":"4.24.0.0","endInclusive":false}}],"versionsText":"≥ 4.21.0.0, < 4.24.0.0","eol":null,"hubHref":"/vendor/codesys/control_for_empc-aimx6_sl"},{"vendor":"codesys","product":"control for iot2000 sl","name":"Control for IOT2000 SL","label":"control for iot2000 sl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.21.0.0, < 4.24.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.21.0.0","startInclusive":true,"end":"4.24.0.0","endInclusive":false}}],"versionsText":"≥ 4.21.0.0, < 4.24.0.0","eol":null,"hubHref":"/vendor/codesys/control_for_iot2000_sl"},{"vendor":"codesys","product":"control for linux arm sl","name":"Control for Linux ARM SL","label":"control for linux arm sl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.21.0.0, < 4.24.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.21.0.0","startInclusive":true,"end":"4.24.0.0","endInclusive":false}}],"versionsText":"≥ 4.21.0.0, < 4.24.0.0","eol":null,"hubHref":"/vendor/codesys/control_for_linux_arm_sl"},{"vendor":"codesys","product":"control for linux sl","name":"Control for Linux SL","label":"control for linux sl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.21.0.0, < 4.24.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.21.0.0","startInclusive":true,"end":"4.24.0.0","endInclusive":false}}],"versionsText":"≥ 4.21.0.0, < 4.24.0.0","eol":null,"hubHref":"/vendor/codesys/control_for_linux_sl"},{"vendor":"codesys","product":"control for pfc100 sl","name":"Control for PFC100 SL","label":"control for pfc100 sl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.21.0.0, < 4.24.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.21.0.0","startInclusive":true,"end":"4.24.0.0","endInclusive":false}}],"versionsText":"≥ 4.21.0.0, < 4.24.0.0","eol":null,"hubHref":"/vendor/codesys/control_for_pfc100_sl"},{"vendor":"codesys","product":"control for pfc200 sl","name":"Control for PFC200 SL","label":"control for pfc200 sl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.21.0.0, < 4.24.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.21.0.0","startInclusive":true,"end":"4.24.0.0","endInclusive":false}}],"versionsText":"≥ 4.21.0.0, < 4.24.0.0","eol":null,"hubHref":"/vendor/codesys/control_for_pfc200_sl"},{"vendor":"codesys","product":"control for plcnext sl","name":"Control for PLCnext SL","label":"control for plcnext sl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.21.0.0, < 4.24.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.21.0.0","startInclusive":true,"end":"4.24.0.0","endInclusive":false}}],"versionsText":"≥ 4.21.0.0, < 4.24.0.0","eol":null,"hubHref":"/vendor/codesys/control_for_plcnext_sl"},{"vendor":"codesys","product":"control for raspberry pi sl","name":"Control for Raspberry Pi SL","label":"control for raspberry pi sl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.21.0.0, < 4.24.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.21.0.0","startInclusive":true,"end":"4.24.0.0","endInclusive":false}}],"versionsText":"≥ 4.21.0.0, < 4.24.0.0","eol":null,"hubHref":"/vendor/codesys/control_for_raspberry_pi_sl"},{"vendor":"codesys","product":"control for wago touch panels 600 sl","name":"Control for WAGO Touch Panels 600 SL","label":"control for wago touch panels 600 sl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.21.0.0, < 4.24.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.21.0.0","startInclusive":true,"end":"4.24.0.0","endInclusive":false}}],"versionsText":"≥ 4.21.0.0, < 4.24.0.0","eol":null,"hubHref":"/vendor/codesys/control_for_wago_touch_panels_600_sl"},{"vendor":"codesys","product":"control rte (for beckhoff cx) sl","name":"Control RTE (for Beckhoff CX) SL","label":"control rte (for beckhoff cx) sl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.5.22.0, < 3.5.22.50","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.5.22.0","startInclusive":true,"end":"3.5.22.50","endInclusive":false}}],"versionsText":"≥ 3.5.22.0, < 3.5.22.50","eol":null,"hubHref":"/vendor/codesys/control_rte_for_beckhoff_cx_sl"},{"vendor":"codesys","product":"control rte (sl)","name":"Control RTE (SL)","label":"control rte (sl)","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.5.22.0, < 3.5.22.50","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.5.22.0","startInclusive":true,"end":"3.5.22.50","endInclusive":false}}],"versionsText":"≥ 3.5.22.0, < 3.5.22.50","eol":null,"hubHref":"/vendor/codesys/control_rte_sl"},{"vendor":"codesys","product":"control win (sl)","name":"Control Win (SL)","label":"control win (sl)","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.5.22.0, < 3.5.22.50","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.5.22.0","startInclusive":true,"end":"3.5.22.50","endInclusive":false}}],"versionsText":"≥ 3.5.22.0, < 3.5.22.50","eol":null,"hubHref":"/vendor/codesys/control_win_sl"},{"vendor":"codesys","product":"hmi (sl)","name":"HMI (SL)","label":"hmi (sl)","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.5.22.0, < 3.5.22.50","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.5.22.0","startInclusive":true,"end":"3.5.22.50","endInclusive":false}}],"versionsText":"≥ 3.5.22.0, < 3.5.22.50","eol":null,"hubHref":"/vendor/codesys/hmi_sl"},{"vendor":"codesys","product":"runtime toolkit","name":"Runtime Toolkit","label":"runtime toolkit","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.5.22.0, < 3.5.22.50","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.5.22.0","startInclusive":true,"end":"3.5.22.50","endInclusive":false}}],"versionsText":"≥ 3.5.22.0, < 3.5.22.50","eol":null,"hubHref":"/vendor/codesys/runtime_toolkit"},{"vendor":"codesys","product":"virtual control sl","name":"Virtual Control SL","label":"virtual control sl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.21.0.0, < 4.24.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.21.0.0","startInclusive":true,"end":"4.24.0.0","endInclusive":false}}],"versionsText":"≥ 4.21.0.0, < 4.24.0.0","eol":null,"hubHref":"/vendor/codesys/virtual_control_sl"}],"affectedCount":16,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.certvde.com/en/advisories/VDE-2026-116/","label":"www.certvde.com/en/advisories/VDE-2026-116/","hostname":"www.certvde.com","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-30T08:31:24.982Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-01T19:38:10.070Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 9.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,0,1,92],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00564,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-01T19:38:10.070Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.2,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-12-01T19:38:10.070Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-12-01T19:38:10.070Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.2,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-12-01T19:38:10.070Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-30T14:21:34.671Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00564,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T10:02:10.250Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T10:02:10.837Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T10:02:11.033Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T10:01:03.214Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T10:02:08.667Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T10:02:07.694Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T10:11:09.059Z","stale":false,"partial":false}}