Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2025-32397

CVE-2025-32397: Rt-labs P-net Buffer Overflow Vulnerability

CVE-2025-32397 is a heap-based buffer overflow vulnerability in RT-Labs P-Net that allows attackers to crash IO devices using malicious RPC packets. This article covers technical details, affected versions, and mitigation.

Published: April 22, 2026

CVE-2025-32397 Overview

CVE-2025-32397 is a heap-based buffer overflow vulnerability discovered in RT-Labs P-Net, an open-source implementation of the PROFINET protocol stack used in industrial automation and IoT devices. The vulnerability exists in versions 1.0.1 and earlier, allowing remote attackers to send specially crafted RPC packets that trigger a heap overflow condition, resulting in a crash of affected IO devices.

This vulnerability is particularly concerning for industrial control system (ICS) and operational technology (OT) environments where P-Net is deployed for real-time communication between programmable logic controllers (PLCs) and IO devices. A successful exploit could disrupt critical industrial processes by causing device failures.

Critical Impact

Remote attackers can crash industrial IO devices by sending malicious RPC packets, potentially disrupting manufacturing and industrial control processes without requiring authentication.

Affected Products

  • RT-Labs P-Net version 1.0.1 and earlier
  • Industrial IO devices implementing the RT-Labs P-Net library
  • PROFINET-enabled devices using the vulnerable P-Net stack

Discovery Timeline

  • 2025-05-07 - CVE-2025-32397 published to NVD
  • 2025-05-13 - Last updated in NVD database

Technical Details for CVE-2025-32397

Vulnerability Analysis

The vulnerability stems from improper bounds checking during the processing of RPC (Remote Procedure Call) packets within the RT-Labs P-Net library. When the library receives a malformed RPC packet, it fails to properly validate the size of incoming data before copying it to a heap-allocated buffer. This allows an attacker to write data beyond the allocated buffer boundaries, corrupting adjacent heap memory structures.

The vulnerability is classified under CWE-122 (Heap-based Buffer Overflow) and CWE-787 (Out-of-bounds Write), indicating that the flaw involves writing data past the end of an allocated heap buffer. This type of vulnerability can corrupt heap metadata, function pointers, or other critical data structures, leading to application crashes or potentially more severe consequences in certain scenarios.

Root Cause

The root cause of this vulnerability lies in insufficient input validation within the RPC packet parsing routines of the P-Net library. Specifically, the library does not adequately verify that the length fields within incoming RPC packets correspond to actual buffer allocations before processing the data. When an attacker provides a packet with manipulated length values that exceed the allocated heap buffer size, the memcpy or similar memory operation writes beyond the intended memory region.

Attack Vector

The attack vector for CVE-2025-32397 is network-based, requiring no authentication or user interaction. An attacker with network access to a vulnerable IO device can craft a malicious RPC packet and send it directly to the target. The PROFINET protocol typically operates on industrial networks, but devices exposed to broader networks or connected to insufficiently segmented environments are at heightened risk.

The attack sequence involves:

  1. Identifying a target device running the vulnerable P-Net library on the network
  2. Crafting an RPC packet with oversized or malformed length fields designed to trigger the heap overflow
  3. Sending the packet to the target device's PROFINET communication port
  4. The device crashes upon processing the malicious packet, causing a denial of service

For detailed technical information about this vulnerability, refer to the Nozomi Networks Vulnerability Advisory.

Detection Methods for CVE-2025-32397

Indicators of Compromise

  • Unexpected crashes or reboots of IO devices running RT-Labs P-Net
  • Abnormal RPC traffic patterns targeting PROFINET communication ports
  • Malformed RPC packets with inconsistent or oversized length fields in network captures
  • Heap corruption errors in device logs prior to crash events

Detection Strategies

  • Deploy network intrusion detection systems (NIDS) with rules to identify malformed PROFINET RPC packets
  • Monitor for anomalous packet sizes or malformed headers in PROFINET traffic flows
  • Implement deep packet inspection on industrial network segments to detect exploit attempts
  • Correlate device crash events with preceding network traffic for forensic analysis

Monitoring Recommendations

  • Enable logging on network devices at OT/IT network boundaries to capture suspicious traffic
  • Configure alerts for repeated device restarts or communication failures on PROFINET-enabled devices
  • Monitor network traffic baselines for deviations in RPC packet frequency or size distributions
  • Integrate industrial network monitoring with SIEM platforms for centralized visibility

How to Mitigate CVE-2025-32397

Immediate Actions Required

  • Identify all devices in your environment running RT-Labs P-Net version 1.0.1 or earlier
  • Isolate vulnerable devices on segmented network zones with restricted access
  • Implement firewall rules to limit RPC traffic to trusted sources only
  • Monitor affected devices closely for signs of exploitation or crashes

Patch Information

Organizations should check with RT-Labs for updated versions of the P-Net library that address this heap-based buffer overflow vulnerability. Review the Nozomi Networks Vulnerability Advisory for additional guidance and updates on patch availability.

When patches become available:

  1. Test updates in a non-production environment before deployment
  2. Schedule maintenance windows for updating industrial devices
  3. Verify device functionality after applying patches
  4. Document all changes for compliance and audit purposes

Workarounds

  • Segment PROFINET networks from general enterprise networks using firewalls or VLANs
  • Implement network access control lists (ACLs) to restrict which hosts can communicate with vulnerable devices
  • Deploy application-layer firewalls capable of inspecting PROFINET traffic for malformed packets
  • Consider disabling unnecessary RPC functionality if operationally feasible
bash
# Example: Network segmentation using iptables to restrict PROFINET traffic
# Allow PROFINET traffic only from trusted management subnet
iptables -A INPUT -p udp --dport 34964 -s 10.10.10.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 34964 -s 10.10.10.0/24 -j ACCEPT
iptables -A INPUT -p udp --dport 34964 -j DROP
iptables -A INPUT -p tcp --dport 34964 -j DROP

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechRt Labs P Net

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.37%

  • 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-122

  • CWE-787
  • Technical References
  • Nozomi Networks Vulnerability Advisory
  • Related CVEs
  • CVE-2025-32404: Rt-labs P-net Buffer Overflow Vulnerability

  • CVE-2025-32403: Rt-labs P-net Buffer Overflow Vulnerability

  • CVE-2025-32401: Rt-labs P-net Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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