A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-3825

CVE-2023-3825: Kepware KEPServerEX DoS Vulnerability

CVE-2023-3825 is a denial of service flaw in Kepware KEPServerEX that allows attackers to crash the server via recursively defined OPC UA objects. This post covers technical details, affected versions, and mitigations.

Updated: May 15, 2026

CVE-2023-3825 Overview

CVE-2023-3825 is a denial-of-service vulnerability affecting PTC's KEPServerEX industrial connectivity platform, versions 6.0 through 6.14.263. The product uses OPC UA, a protocol that defines object types which can be nested to form complex arrays. KEPServerEX does not check whether a decoded object is recursively defined. An attacker can send a crafted OPC UA message that causes the decoder to recurse until the stack overflows and the device crashes. The flaw is tracked under CWE-400 (Uncontrolled Resource Consumption) and CWE-787 (Out-of-bounds Write).

Critical Impact

An unauthenticated network attacker can crash KEPServerEX through a single malformed OPC UA message, disrupting industrial control system (ICS) communications between PLCs, SCADA, and HMI clients.

Affected Products

  • PTC KEPServerEX 6.0 through 6.14.263
  • Kepware industrial connectivity platforms embedding the affected OPC UA decoder
  • Downstream OEM products that bundle vulnerable KEPServerEX versions

Discovery Timeline

  • 2023-07-31 - CVE-2023-3825 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-3825

Vulnerability Analysis

KEPServerEX exposes an OPC UA server that accepts binary-encoded messages from clients. The OPC UA specification permits structured objects whose fields can themselves contain structured objects, enabling arbitrarily nested arrays. The decoder in vulnerable versions parses these nested structures recursively without enforcing a maximum nesting depth or tracking stack usage. An attacker who can reach the OPC UA endpoint, typically TCP port 49320 or another configured listener, can send a single message containing a self-referential object definition. Each level of decoding consumes a stack frame. The recursion proceeds until the process stack is exhausted, at which point KEPServerEX terminates. Because KEPServerEX functions as the data-broker between field devices and upper-layer ICS applications, the crash severs PLC-to-SCADA and PLC-to-HMI data flows until the service is restarted.

Root Cause

The root cause is missing input validation in the OPC UA binary decoder. The decoder treats nested object definitions as trusted input and recurses without checking depth, total memory, or stack pressure. This combines CWE-400 resource consumption with the CWE-787 out-of-bounds write that occurs when the stack pointer escapes its allocated region.

Attack Vector

Exploitation requires only network reachability to the OPC UA listener. No authentication, no user interaction, and no prior foothold are needed. An attacker crafts an OPC UA message that declares a structured datatype whose body field references the same datatype, then submits it to the server. The decoder dispatches a parse routine that re-enters itself for every nested field, exhausting the stack and crashing the service. Because OPC UA is the standard interoperability protocol for industrial automation, KEPServerEX listeners are often exposed across plant networks and occasionally to enterprise segments through misconfigured firewalls.

Detection Methods for CVE-2023-3825

Indicators of Compromise

  • Unexpected termination or repeated restarts of the KEPServerEX runtime service on the affected host
  • OPC UA client disconnection storms or BadCommunicationError events in connected SCADA and HMI applications
  • Inbound OPC UA messages containing deeply nested or self-referential ExtensionObject structures captured in network traffic

Detection Strategies

  • Monitor the KEPServerEX event log for runtime crashes, watchdog restarts, and abnormal CPU or memory spikes preceding service termination
  • Deploy an ICS-aware intrusion detection system that parses OPC UA binary frames and flags excessive nesting depth in structured datatypes
  • Correlate Windows process exit codes for the KEPServerEX runtime with inbound OPC UA traffic from non-allowlisted source addresses

Monitoring Recommendations

  • Capture and baseline OPC UA traffic on TCP 49320 or the configured port to identify outlier message sizes and structure depth
  • Alert on connections to the OPC UA listener originating from outside the engineering or operator VLAN
  • Log restarts of the KEPServerEX service to a central SIEM and trigger an investigation on any unscheduled restart

How to Mitigate CVE-2023-3825

Immediate Actions Required

  • Upgrade KEPServerEX to version 6.14.272 or later, which addresses the recursive object decoding flaw per the vendor advisory
  • Restrict network access to the OPC UA listener so only authorized engineering workstations and SCADA front-ends can reach it
  • Enable OPC UA security policies that require certificate-based authentication and message signing on all client sessions

Patch Information

PTC and Kepware released a fixed build that adds recursion depth validation to the OPC UA decoder. Operators should review CISA ICS Advisory ICSA-23-208-02 for the exact remediated version corresponding to their deployment and follow the vendor's documented upgrade procedure. Coordinate the upgrade with a maintenance window because the runtime service must restart and existing OPC UA sessions will be re-established.

Workarounds

  • Place the KEPServerEX host behind a firewall that limits inbound OPC UA traffic to a strict source allowlist
  • Disable any unused OPC UA endpoints in the KEPServerEX configuration to reduce the attack surface
  • Segment the ICS network so the OPC UA server is unreachable from enterprise IT and remote-access zones
  • Configure host-based watchdog tooling to automatically restart the KEPServerEX runtime if it crashes, minimizing operational downtime while the patch is staged
bash
# Configuration example: restrict inbound OPC UA traffic on the KEPServerEX host
netsh advfirewall firewall add rule name="OPC UA Allow Engineering VLAN" \
    dir=in action=allow protocol=TCP localport=49320 \
    remoteip=10.20.30.0/24

netsh advfirewall firewall add rule name="OPC UA Block All Other" \
    dir=in action=block protocol=TCP localport=49320

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechKepware Kepserverex

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.09%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-400

  • CWE-787
  • Technical References
  • CISA ICS Advisory ICSA-23-208-02
  • Latest CVEs
  • CVE-2026-50263: X.org X Server Use-After-Free Flaw

  • CVE-2026-21033: Samsung Assistant RCE Vulnerability

  • CVE-2026-21032: Samsung Assistant RCE Vulnerability

  • CVE-2026-50260: X.org X Server Use-After-Free Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English