Automated Threat Modeling

SIMATIC PCS neo CVE-2025-40795 Stack Buffer Overflow: Brief Summary and Technical Review

CVE-2025-40795 is a critical stack-based buffer overflow in Siemens SIMATIC PCS neo V4.1 and V5.0 and in the User Management Component (UMC) before V2.15.1.3. This post covers the affected versions, the technical root cause, and Siemens' recent security history.

CVE Analysis

8 min read

ZeroPath CVE Analysis
ZeroPath CVE Analysis

2025-09-09

SIMATIC PCS neo CVE-2025-40795 Stack Buffer Overflow: Brief Summary and Technical Review
Experimental AI-Generated Content

This CVE analysis is an experimental publication that is completely AI-generated. The content may contain errors or inaccuracies and is subject to change as more information becomes available. We are continuously refining our process.

If you have feedback, questions, or notice any errors, please reach out to us.

[email protected]

Introduction

Remote code execution in an industrial control system can disrupt manufacturing, energy, and other critical infrastructure operations. CVE-2025-40795 exposes Siemens SIMATIC PCS neo installations to unauthenticated attacks that could halt production or compromise safety-critical processes.

About Siemens and SIMATIC PCS neo: Siemens is a major global supplier of industrial automation and digitalization technology, and SIMATIC PCS neo is its flagship distributed control system for the process industries. These systems run in thousands of manufacturing plants, power generation sites, and critical infrastructure facilities around the world. The User Management Component (UMC) handles authentication and authorization across Siemens' industrial product lines, so its security matters to every operational technology environment built on those products.

Technical Information

CVE-2025-40795 is a stack-based buffer overflow in the integrated User Management Component (UMC) of SIMATIC PCS neo. It comes from improper bounds checking when UMC handles network requests. An unauthenticated remote attacker can send crafted data to the UMC service and make the application write beyond the bounds of a stack-allocated buffer. The overflow can overwrite adjacent memory, including function return addresses, which can lead to arbitrary code execution or a denial of service.

Key technical points:

  • The flaw is present in all versions of SIMATIC PCS neo V4.1 and V5.0, and in UMC versions before V2.15.1.3.
  • UMC is usually reachable over TCP ports 4002 and 4004.
  • Exploitation requires no authentication, which raises the risk considerably for exposed systems.
  • The vulnerability is classified as CWE-121 (Stack-based Buffer Overflow).

No public code snippets or proof of concept were available at the time of writing.

Affected Systems and Versions

  • SIMATIC PCS neo V4.1 (all versions)
  • SIMATIC PCS neo V5.0 (all versions)
  • User Management Component (UMC) versions before V2.15.1.3

Any deployment of these products running UMC before V2.15.1.3 is vulnerable. Every configuration where the UMC service is reachable over the network is part of the attack surface, and the exposure is worst when TCP ports 4002 or 4004 are open to untrusted networks.

Vendor Security History

UMC has had multiple critical vulnerabilities across 2024 and 2025. Two examples:

Siemens generally issues advisories and patches promptly. Still, the repeated memory safety bugs in UMC suggest the component has ongoing problems with secure development.

References

Detect & fix
what others miss

Works with
  • GitHub
  • GitLab
  • Bitbucket
  • Azure DevOps Services
  • Gerrit
  • CVS
  • Jira
  • Linear
  • Slack
  • Security Compass
Explore integrations
Security magnifying glass visualization