Security Advisory

CVE-2020-27265: KEPServerEX OPC UA Stack Overflow RCE

Last updated:
  • CVE-2020-27265

CVE-2020-27265 is a stack-based buffer overflow in the OPC UA server of PTC Kepware KEPServerEX 6.0 to 6.9, the ThingWorx Kepware editions and the Rockwell, GE Digital and Software Toolbox OEM builds. A crafted OPC UA message can crash the server and let an attacker run code remotely. NVD and CISA score it 9.8; fixed builds include KEPServerEX 6.9.584.0.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

12.5%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2020-27265 · Source: NVD

CVSS v3.1 severity rating scale: None 0.0, Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9, Critical 9.0 to 10.0
How a CVSS v3.1 base score maps to a severity rating. Source: FIRST CVSS v3.1 specification, section 5.

Affected components

ComponentCPEVersion range
PTC Kepware KEPServerEXcpe:2.3:a:ptc:kepware_kepserverex:6.9:*:*:*:*:*:*:*6.0 to 6.9 (CISA ICSA-20-352-02; NVD CPEs list 6.0 and 6.9 only); fixed in 6.6.362.0, 6.7.1067.0, 6.8.838.0 or 6.9.584.0
PTC ThingWorx Kepware Servercpe:2.3:a:ptc:thingworx_kepware_server:6.9:*:*:*:*:*:*:*6.8 and 6.9; fixed in 6.8.839.0 or 6.9.584.0
PTC ThingWorx Industrial Connectivitycpe:2.3:a:ptc:thingworx_industrial_connectivity:-:*:*:*:*:*:*:*all versions; fixed builds 8.4 (6.6.362.0) and 8.5 (6.7.1068.0)
PTC OPC-Aggregatorcpe:2.3:a:ptc:opc-aggregator:-:*:*:*:*:*:*:*all versions; fixed in 6.9.584.0
Rockwell Automation KEPServer Enterprisecpe:2.3:a:rockwellautomation:kepserver_enterprise:6.9.572.0:*:*:*:*:*:*:*6.6.504.0 and 6.9.572.0; fixed in 6.6.550.0 or 6.9.584.0
GE Digital Industrial Gateway Servercpe:2.3:a:ge:industrial_gateway_server:7.68.804:*:*:*:*:*:*:*7.66 and 7.68.804; fixed in 7.68.839.0 (GED 20-05)
Software Toolbox TOP Servercpe:2.3:a:softwaretoolbox:top_server:*:*:*:*:*:*:*:*all 6.x (NVD 6.0 to 6.9 inclusive); fixed in 6.7.1068.0, 6.8.840.0 or 6.9.584.0

What does this mean for affected devices?

The CVE record from CISA, the CNA, says the affected products "are vulnerable to a stack-based buffer overflow. Opening a specifically crafted OPC UA message could allow an attacker to crash the server and remotely execute code." NVD's Primary score is CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and CVSS v2 7.5. CISA's advisory gives the same 9.8 as a CVSS v3.0 score. NVD maps the flaw to CWE-787, out-of-bounds write; CISA uses CWE-121, stack-based buffer overflow. NVD published the record on 2021-01-14 (NVD, CVE record).

Which products and versions are affected?

CISA's ICSA-20-352-02, first released on 2020-12-17 and updated on 2021-01-05, covers KEPServerEX and every product that ships its OPC UA server, including three OEM editions:

Product Affected (CISA) Fixed build named by CISA
KEPServerEX 6.0 to 6.9 6.6.362.0, 6.7.1067.0, 6.8.838.0 or 6.9.584.0 for the 6.6 to 6.9 lines
ThingWorx Kepware Server 6.8 and 6.9 6.8.839.0 or 6.9.584.0
ThingWorx Industrial Connectivity all versions 8.4 (6.6.362.0) or 8.5 (6.7.1068.0)
OPC-Aggregator all versions 6.9.584.0
Rockwell Automation KEPServer Enterprise 6.6.504.0 and 6.9.572.0 6.6.550.0 or 6.9.584.0
GE Digital Industrial Gateway Server 7.66 and 7.68.804 7.68.839.0 (GE Digital advisory GED 20-05)
Software Toolbox TOP Server all 6.x versions 6.7.1068.0, 6.8.840.0 or 6.9.584.0

NVD's configuration lists single CPE versions (KEPServerEX 6.0 and 6.9, ThingWorx Kepware Server 6.8 and 6.9) plus a 6.0 to 6.9 range for TOP Server, so a version scan that relies on NVD alone can miss KEPServerEX 6.1 to 6.8. Uri Katz of Claroty reported the three OPC UA flaws in this advisory to PTC. PTC's public Advisory Center lists the advisory and links a remediation article that needs a PTC login.

How should asset owners respond?

Install the fixed build for your product line from the table, or a later supported release; OEM owners take the build from Rockwell Automation, GE Digital or Software Toolbox, since those numbers differ from PTC's. CISA's recommended practices apply until the upgrade is done: keep the OPC UA endpoint off the internet, put the server behind a firewall isolated from the business network, and use an up-to-date VPN for remote access. CISA reported no known public exploits targeting these flaws.

The same advisory carries the heap-based overflow CVE-2020-27263 and the connection-handling flaw CVE-2020-27267. The later OPC UA stack overflow CVE-2022-2825 hit the same server again in 2022. The PTC Kepware and ThingWorx guide lists every Kepware CVE with its fixed build, the OPC UA security guide covers endpoint restriction, and the memory corruption fix guide explains this class of bug.

CVE-2020-27265 is not in the CISA KEV catalog as of 2026-11-30 (catalog version 2026.11.27, 1,808 entries). FIRST EPSS gives it 0.12504, the 96.9th percentile, in the 2026-11-29 dataset (CISA KEV, FIRST EPSS).

Three signals on every advisory: CVSS says how severe the flaw is, EPSS gives the probability of exploitation in the wild in the next 30 days, and a CISA KEV listing means the flaw has been exploited in the wild
CVSS rates severity, EPSS estimates the likelihood of exploitation, and CISA KEV records exploitation seen in the wild. Source: FIRST EPSS; CISA KEV catalog.
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.
From advisory to verified fix in four steps: read the advisory, find the affected component in the firmware SBOM, apply the fixed version or vendor mitigation, then re-scan the image to confirm the vulnerable version is gone
Read the advisory, find the component in your firmware SBOM, apply the fix, then re-scan to confirm it.

Evidence

  • NVD (read 2026-11-30): status Modified; published 2021-01-14; 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 and CVSS v2 7.5; NVD CWE-787, CISA CWE-121; CPEs KEPServerEX 6.0 and 6.9, ThingWorx Kepware Server 6.8 and 6.9, TWIC, OPC-Aggregator, KEPServer Enterprise 6.6.504.0 and 6.9.572.0, GE IGS 7.66 and 7.68.804, TOP Server 6.0 to 6.9. — NVD
  • CISA ICSA-20-352-02 CSAF (read 2026-11-30): CVE-2020-27265 CWE-121 stack-based buffer overflow, CVSS v3.0 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; crafted OPC UA message, crash and remote code execution. Products and fixed builds per the CSAF remediations (KEPServerEX 6.6.362.0/6.7.1067.0/6.8.838.0/6.9.584.0; ThingWorx Kepware Server 6.8.839.0/6.9.584.0; TWIC 8.4 (6.6.362.0)/8.5 (6.7.1068.0); OPC-Aggregator 6.9.584.0; KEPServer Enterprise 6.6.550.0/6.9.584.0; GE IGS 7.68.839.0, GED 20-05; TOP Server 6.7.1068.0/6.8.840.0/6.9.584.0). Reported by Uri Katz (Claroty). No known public exploits. Initial 2020-12-17, Update A 2021-01-05. — CISA ICSA-20-352-02
  • PTC Advisory Center (read 2026-11-30) lists PTC Kepware Server (Update A), CVE-2020-27263, CVE-2020-27265, CVE-2020-27267, advisory ICSA-20-352-02, PTC remediation article CS334963. — PTC Advisory Center
  • CVE record (read 2026-11-30): state PUBLISHED, CNA icscert, published 2021-01-13. — CVE.org
  • Not in the CISA KEV catalog, catalog version 2026.11.27, 1,808 entries, checked 2026-11-30. — CISA KEV
  • EPSS 0.12504, percentile 0.96924, dataset 2026-11-29, read 2026-11-30. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CISA ICSA-20-352-02: PTC Kepware KEPServerEX (Update A), CSAF
  3. CISA ICSA-20-352-02 advisory page
  4. PTC Advisory Center
  5. CVE.org record CVE-2020-27265 (CVE Services API)
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

Which build fixes CVE-2020-27265 in KEPServerEX?

CISA ICSA-20-352-02 names 6.6.362.0, 6.7.1067.0, 6.8.838.0 and 6.9.584.0 for the 6.6 to 6.9 lines, and PTC recommends the most current supported version. ThingWorx Kepware Server takes 6.8.839.0 or 6.9.584.0.

Are Rockwell KEPServer Enterprise, GE Industrial Gateway Server and TOP Server affected?

Yes. CISA lists KEPServer Enterprise 6.6.504.0 and 6.9.572.0 (fix 6.6.550.0 or 6.9.584.0), GE Digital Industrial Gateway Server 7.66 and 7.68.804 (fix 7.68.839.0) and all TOP Server 6.x versions (fix 6.7.1068.0, 6.8.840.0 or 6.9.584.0).

Does an attacker need a login?

No. Both NVD and CISA score the flaw with no privileges and no user interaction over the network; reaching the OPC UA endpoint is enough, which is why restricting that endpoint matters until the upgrade.

Is CVE-2020-27265 in the CISA KEV catalog?

No, not as of 2026-11-30 (catalog version 2026.11.27, 1,808 entries). FIRST EPSS rates it 0.12504 (96.9th percentile) in the 2026-11-29 dataset.