Security Advisory

CVE-2022-2825: Kepware KEPServerEX OPC UA Stack Overflow

Last updated:
  • CVE-2022-2825

CVE-2022-2825 is a stack-based buffer overflow (CWE-121) in the OPC UA server of PTC Kepware KEPServerEX before 6.12: crafted OPC UA messages let an unauthenticated attacker run code as SYSTEM. CISA lists eight affected products, including Rockwell, GE Digital and Software Toolbox OEM builds. NVD scores it 9.8.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

3.4%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2022-2825 · Source: NVD

Affected components

ComponentCPEVersion range
PTC Kepware KEPServerEXcpe:2.3:a:ptc:kepware_kepserverex:*:*:*:*:*:*:*:*before 6.12 (NVD, CISA ICSA-22-242-10); fixed in 6.12
PTC ThingWorx Kepware Servercpe:2.3:a:ptc:thingworx_kepware_server:*:*:*:*:*:*:*:*before 6.12 (NVD, CISA ICSA-22-242-10); fixed in 6.12
PTC ThingWorx Industrial Connectivitycpe:2.3:a:ptc:thingworx_industrial_connectivity:-:*:*:*:*:*:*:*all versions (CISA ICSA-22-242-10); move to ThingWorx Kepware Server 6.12 or later
PTC ThingWorx Kepware Edgecpe:2.3:a:ptc:thingworx_kepware_edge:*:*:*:*:*:*:*:*1.4 and earlier (CISA ICSA-22-242-10), fixed in 1.5; NVD CPE: before 1.4
PTC OPC-Aggregatorcpe:2.3:a:ptc:opc-aggregator:*:*:*:*:*:*:*:*before 6.12 (NVD, CISA ICSA-22-242-10); fixed in 6.12
Rockwell Automation KEPServer Enterprisecpe:2.3:a:rockwellautomation:kepserver_enterprise:*:*:*:*:*:*:*:*before 6.12 (NVD, CISA ICSA-22-242-10); CISA's fix: v13.01.00 or later
GE Digital Industrial Gateway Servercpe:2.3:a:ge:industrial_gateway_server:*:*:*:*:*:*:*:*before 7.612 (NVD, CISA ICSA-22-242-10); fixed in 7.612
Software Toolbox TOP Servercpe:2.3:a:softwaretoolbox:top_server:*:*:*:*:*:*:*:*before 6.12 (NVD, CISA ICSA-22-242-10); fixed in 6.12

What does this mean for affected devices?

NVD's description of CVE-2022-2825: "This vulnerability allows remote attackers to execute arbitrary code on affected installations of Kepware KEPServerEX 6.11.718.0. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of text encoding conversions." The length of user-supplied data is not checked before it is copied to a stack-based buffer, and the code runs "in the context of SYSTEM". NVD's Primary score is CVSS v3.1 9.8 (critical), vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The Secondary scores from the CNA and from the Zero Day Initiative (CVSS v3.0) are also 9.8. The weakness is CWE-121 (stack-based buffer overflow) (NVD).

Which products embed the vulnerable OPC UA server?

Eight, because the Kepware server is sold under several names. CISA's ICSA-22-242-10, released on 2022-08-30 and updated on 2022-09-08, lists PTC Kepware KEPServerEX, ThingWorx Kepware Server, ThingWorx Industrial Connectivity, ThingWorx Kepware Edge and OPC-Aggregator, plus the OEM builds Rockwell Automation KEPServer Enterprise, GE Digital Industrial Gateway Server and Software Toolbox TOP Server. CISA's summary is that "specifically crafted OPC UA messages transmitted to the server could allow an attacker to crash the server and remotely execute code". Claroty Research reported it, and the Zero Day Initiative published it as ZDI-22-1455 (ZDI-CAN-18411) on 2022-10-21, after reporting it to the vendor on 2022-08-18. NVD's CPE list covers the same eight products, but for ThingWorx Kepware Edge it stops before 1.4, while CISA lists 1.4 and earlier as affected and 1.5 as the fix.

CISA's remediation list, taken from PTC and the OEM vendors, is product by product: Kepware KEPServerEX, ThingWorx Kepware Server and OPC-Aggregator 6.12 or later; ThingWorx Industrial Connectivity users move to ThingWorx Kepware Server 6.12 or later; ThingWorx Kepware Edge 1.5 or later; Rockwell Automation KEPServer Enterprise v13.01.00 or later; GE Digital Industrial Gateway Server 7.612 or later; and Software Toolbox TOP Server 6.12 or later. PTC's own advisory (CS375312) needs a login (CISA CSAF record for ICSA-22-242-10).

Why does this matter on the plant floor?

These servers are the OPC UA endpoint that SCADA, MES and historian clients connect to, and they hold the drivers that talk to PLCs. NVD and ZDI both say no authentication is needed, so OPC UA security policies and user tokens do not stop it: the flaw sits in the message handling that runs on whatever reaches the server's OPC UA port. Our OPC UA security guide explains why a correctly set SignAndEncrypt policy does not patch a parser bug. The sister flaw in the same advisory is CVE-2022-2848, a heap-based overflow in the same text encoding code that CISA describes as a crash and data leak. Other OPC UA stack bugs on this site are CVE-2026-63035 in open62541 and CVE-2026-60007 in Eclipse Milo, and the memory corruption fix guide covers how this class is removed from code.

CVE-2022-2825 is not in the CISA KEV catalog as of 2026-11-18 (catalog version 2026.11.13), and CISA's advisory said no known public exploits targeted these flaws. FIRST EPSS gives it 0.03402, the 89th percentile, in the 2026-11-17 dataset (CISA KEV, FIRST EPSS).

Upgrading is the fix. Until then, CISA's recommended practices apply: keep the server off the internet, put control networks behind firewalls isolated from the business network, and use an up-to-date VPN for remote access. Allow the OPC UA port only from the clients that need it, and find every OEM-branded copy of the server, since a TOP Server or KEPServer Enterprise install is the same code under another name.

How to fix this class of issueThis advisory's weakness class is Memory corruption. Our practical guide covers how to detect, fix, verify and disclose it: How to fix memory corruption in embedded firmware.

Evidence

  • NVD description (ZDI as CNA): remote code execution in Kepware KEPServerEX 6.11.718.0, no authentication, text encoding conversion, stack-based buffer, SYSTEM context. NVD Primary CVSS v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; CWE-121. CPE: KEPServerEX, ThingWorx Kepware Server, OPC-Aggregator, KEPServer Enterprise, TOP Server before 6.12; Industrial Gateway Server before 7.612; ThingWorx Kepware Edge before 1.4; ThingWorx Industrial Connectivity all. — NVD
  • ICSA-22-242-10 (2022-08-30, Update A 2022-09-08): eight affected products, all known_affected for CVE-2022-2825; crafted OPC UA messages crash the server and remotely execute code; per-product upgrade targets; Kepware Edge <=1.4 affected, fix 1.5; KEPServer Enterprise v13.01.00; no known public exploits. — CISA CSAF ICSA-22-242-10
  • ZDI-22-1455 (ZDI-CAN-18411), published 2022-10-21, reported to vendor 2022-08-18, credit Claroty Research. — Zero Day Initiative
  • Not in the CISA KEV catalog, version 2026.11.13, checked 2026-11-18. — CISA KEV
  • EPSS 0.03402, percentile 0.89067, dataset 2026-11-17. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CISA ICS Advisory ICSA-22-242-10: PTC Kepware KEPServerEX
  3. CISA CSAF JSON for ICSA-22-242-10
  4. Zero Day Initiative ZDI-22-1455
  5. CISA KEV
  6. FIRST EPSS

Frequently asked questions

Which versions fix CVE-2022-2825?

Kepware KEPServerEX, ThingWorx Kepware Server, OPC-Aggregator and Software Toolbox TOP Server 6.12 or later; ThingWorx Kepware Edge 1.5; Rockwell Automation KEPServer Enterprise v13.01.00; GE Digital Industrial Gateway Server 7.612 (per CISA ICSA-22-242-10).

Does an OPC UA security policy block CVE-2022-2825?

No. NVD and the Zero Day Initiative state that no authentication is required, and the flaw is in how the server handles incoming OPC UA messages, so restricting who can reach the OPC UA port is the control until the server is upgraded (per NVD and ZDI).

Which OEM products include the vulnerable Kepware server?

Rockwell Automation KEPServer Enterprise, GE Digital Industrial Gateway Server and Software Toolbox TOP Server, alongside PTC's own KEPServerEX, ThingWorx Kepware Server, ThingWorx Industrial Connectivity, ThingWorx Kepware Edge and OPC-Aggregator (per CISA ICSA-22-242-10).

Is CVE-2022-2825 in the CISA KEV catalog?

No, not as of 2026-11-18 (catalog version 2026.11.13). FIRST EPSS gives it 0.03402, the 89th percentile, in the 2026-11-17 dataset (per CISA KEV and FIRST EPSS).