The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2026-35227

CVE-2026-35227: CODESYS Modbus TCP Server DoS Vulnerability

CVE-2026-35227 is a denial of service flaw in CODESYS Modbus TCP Server caused by a race condition in connection handling. Attackers can exhaust TCP connections, blocking legitimate access. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 18, 2026

CVE-2026-35227 Overview

CVE-2026-35227 affects the CODESYS Modbus TCP Server stack. An unauthenticated remote attacker can exhaust all available TCP connections by exploiting a race condition in connection handling. Successful exploitation prevents legitimate Modbus clients from establishing new sessions with the server. The flaw is categorized under [CWE-772] Missing Release of Resource After Effective Lifetime. The vulnerability requires no authentication and no user interaction, and it is reachable over the network. Industrial environments running CODESYS-based controllers are most exposed, since Modbus TCP is a primary protocol for programmable logic controller (PLC) communication on operational technology (OT) networks.

Critical Impact

Remote, unauthenticated denial of service against industrial control systems using the CODESYS Modbus TCP Server, blocking new client connections and disrupting OT operations.

Affected Products

  • CODESYS Modbus TCP Server stack (see CERT@VDE advisory VDE-2026-042 for versions)
  • CODESYS-based programmable logic controller (PLC) runtimes exposing Modbus TCP
  • Industrial devices integrating the affected CODESYS Modbus TCP Server component

Discovery Timeline

  • 2026-05-12 - CVE CVE-2026-35227 published to NVD
  • 2026-05-12 - Last updated in NVD database

Technical Details for CVE-2026-35227

Vulnerability Analysis

The vulnerability is a race condition in the connection-handling logic of the CODESYS Modbus TCP Server. When concurrent connection attempts arrive at the server, the code path that tracks active sessions and releases resources for closed or aborted connections does not synchronize correctly. Attackers can repeatedly trigger this race to leak connection slots until the server's pool is fully consumed.

Once the pool is exhausted, the server stops accepting new TCP sessions. Legitimate engineering workstations, supervisory control and data acquisition (SCADA) clients, and human-machine interfaces (HMIs) lose the ability to read or write Modbus registers. The condition persists until the server is restarted or the leaked connections time out internally.

The vulnerability impacts availability only. Confidentiality and integrity of process data are not directly affected, and the attacker does not gain code execution or read access to control logic. However, loss of Modbus availability in an industrial setting can interrupt monitoring and control loops.

Root Cause

The root cause is improper release of a connection resource after its effective lifetime, mapped to [CWE-772]. The handler does not atomically transition socket state and free the slot, allowing concurrent requests to bypass cleanup. This is a classic race condition resulting in resource exhaustion.

Attack Vector

An attacker on the network sends rapid, concurrent TCP connection attempts to the Modbus TCP port, typically TCP/502. By racing connection establishment and teardown, the attacker causes connection slots to remain allocated. Repeating this pattern exhausts the server's connection table. No credentials, user interaction, or prior foothold are required. The attack is network-reachable wherever the Modbus TCP Server is exposed.

No public proof-of-concept exploit is currently listed in the enriched data, and the vulnerability is not present in the CISA Known Exploited Vulnerabilities catalog. Refer to the CERT@VDE Security Advisory VDE-2026-042 for vendor-specific technical details.

Detection Methods for CVE-2026-35227

Indicators of Compromise

  • High volume of short-lived or half-open TCP connections to port 502 from a single source or a small set of sources.
  • Sudden inability of HMI, SCADA, or engineering workstation clients to connect to a CODESYS Modbus TCP Server while the device itself remains reachable on other ports.
  • Connection table or socket allocation metrics on the controller reaching maximum capacity without corresponding legitimate workload growth.

Detection Strategies

  • Monitor TCP/502 for connection rate anomalies and SYN/FIN imbalances using network detection and response (NDR) or industrial intrusion detection system (IDS) sensors.
  • Correlate Modbus client disconnect events with spikes in new connection attempts to the same destination to identify exhaustion patterns.
  • Apply behavioral baselines per controller, since Modbus traffic is typically low-rate and predictable in OT environments.

Monitoring Recommendations

  • Forward firewall, switch, and PLC connection logs to a centralized data lake for cross-source correlation.
  • Alert on sustained connection counts to TCP/502 exceeding the controller's documented session limit.
  • Track availability of Modbus polling cycles from HMI and SCADA hosts to detect operational impact early.

How to Mitigate CVE-2026-35227

Immediate Actions Required

  • Identify all CODESYS-based devices exposing Modbus TCP and inventory their firmware versions against CERT@VDE VDE-2026-042.
  • Restrict TCP/502 access using firewall allow-lists so only authorized HMI, SCADA, and engineering hosts can reach the server.
  • Segment OT networks from corporate and internet-facing networks following IEC 62443 zone and conduit guidance.

Patch Information

Consult the CERT@VDE Security Advisory VDE-2026-042 for the list of fixed CODESYS Modbus TCP Server versions and vendor-supplied patches. Apply firmware updates from the device manufacturer once validated in a test environment, since OT patching requires change windows and operational verification.

Workarounds

  • Place the Modbus TCP Server behind an industrial firewall or data diode that rate-limits new TCP connections per source.
  • Disable the Modbus TCP Server on controllers that do not require it, reducing the attack surface.
  • Configure connection timeouts and per-source connection caps on upstream network devices to slow exhaustion attempts.
bash
# Example: restrict Modbus TCP (port 502) to a known SCADA host using iptables
iptables -A INPUT -p tcp --dport 502 -s 10.20.30.40 -j ACCEPT
iptables -A INPUT -p tcp --dport 502 -j DROP

# Example: rate-limit new connections to port 502 to mitigate exhaustion
iptables -A INPUT -p tcp --dport 502 --syn -m connlimit \
  --connlimit-above 5 --connlimit-mask 32 -j REJECT

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechCodesys

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-772
  • Technical References
  • CERTVDE Security Advisory VDE-2026-042
  • Related CVEs
  • CVE-2026-35225: CODESYS EtherNet/IP Adapter DoS Flaw

  • CVE-2025-41691: CODESYS Control Runtime DoS Vulnerability

  • CVE-2026-3509: CODESYS Control DoS Vulnerability

  • CVE-2025-41738: Codesys Control Beaglebone DoS Vulnerability
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