{"schemaVersion":4,"id":"CVE-2026-127167","aliases":[],"status":"published","duplicateOf":null,"title":"Out-of-bounds Write in CODESYS Control","description":"The CmpLinuxRTDiag component of the CODESYS Control runtime system for Linux performs improper length checking when handling PLC shell requests. By sending a specially crafted request, an authenticated, high-privileged remote attacker can exploit this flaw, which may result in arbitrary code execution on the affected Linux device.","dates":{"published":"2026-11-30T08:33:49.253Z","modified":"2026-11-30T13:01:03.311Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.6,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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":8.6,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/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":8.6,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0107,"percentile":0.65964,"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.00822,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0107,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0107,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0107,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0107,"percentile":0.65964}],"last30":[{"date":"2026-11-30T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0107,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0107,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0107,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0107,"percentile":0.65964}]},"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-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.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":"runtime toolkit","name":"Runtime Toolkit","label":"runtime toolkit","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.22.0.0, < 3.5.22.50","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.22.0.0","startInclusive":true,"end":"3.5.22.50","endInclusive":false}}],"versionsText":"≥ 3.22.0.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":12,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.certvde.com/en/advisories/VDE-2026-170/","label":"www.certvde.com/en/advisories/VDE-2026-170/","hostname":"www.certvde.com","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-30T08:33:49.253Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-30T13:01:03.311Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 8.6, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,86],"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.0107,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-30T13:01:03.311Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.6,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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-11-30T13:01:03.311Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-11-30T13:01:03.311Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.6,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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-11-30T13:01:03.311Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-30T13:00:46.579Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.0107,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T09:01:26.874Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T09:01:27.430Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T09:01:27.610Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T09:01:02.756Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T09:01:25.188Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T09:01:24.136Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T09:58:00.129Z","stale":false,"partial":false}}