CVE-2022-2825: (Pwn2Own) Kepware KEPServerEX Stack-based Buffer Overflow Remote Code Execution Vulnerability

Published Mar 29, 2023
·
Updated

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 issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of SYSTEM. Was ZDI-CAN-18411.

Other sources

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Kepware KEPServerEX. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of text encoding conversions. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of SYSTEM.

Affected Software

14 affected componentsFixes available
Kepware KEPServerEX
PTC Kepware KEPServerEX<6.12
6.12
PTC ThingWorkx Kepware Server<6.12
6.12
PTC ThingWorkx Industrial Connectivity
PTC OPC-Aggregator<6.12
6.12
PTC ThingWorkx Kepware Edge<=1.4
GE Industrial Gateway Server<7.612
PTC Kepware KEPServerEX<6.12
PTC OPC-Aggregator<6.12
PTC ThingWorx Industrial Connectivity
PTC Thingworx Kepware Edge<1.4
PTC ThingWorx Kepware Server<6.12
rockwellautomation Kepserver Enterprise<6.12
Softwaretoolbox Top Server<6.12

Event History

Mar 29, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Mar 25, 2025
Advisory Published
via ZDI·11:01 AM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-2825?

CVE-2022-2825 is a stack-based buffer overflow remote code execution vulnerability that affects Kepware KEPServerEX 6.11.718.0.

2

How severe is CVE-2022-2825?

CVE-2022-2825 is considered critical with a severity value of 9.8.

3

How can remote attackers exploit CVE-2022-2825?

Remote attackers can exploit CVE-2022-2825 to execute arbitrary code on affected installations without authentication.

4

Which software versions are affected by CVE-2022-2825?

CVE-2022-2825 affects versions up to and excluding GE Industrial Gateway Server 7.612, PTC Kepware KEPServerEX 6.12, PTC OPC-Aggregator 6.12, PTC ThingWorx Industrial Connectivity, PTC ThingWorx Kepware Edge 1.4, PTC ThingWorx Kepware Server 6.12, Rockwell Automation KepServer Enterprise 6.12, and Software Toolbox TOP Server 6.12.

5

How can I fix CVE-2022-2825?

There is currently no official patch or workaround available for CVE-2022-2825. It is recommended to apply the vendor's security updates once they are released.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203