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-2025-58317

CVE-2025-58317: Deltaww CNCSoft-G2 RCE Vulnerability

CVE-2025-58317 is a remote code execution flaw in Deltaww CNCSoft-G2 caused by improper file validation. Attackers can execute arbitrary code by tricking users into opening malicious files. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 26, 2026

CVE-2025-58317 Overview

CVE-2025-58317 is a stack-based buffer overflow vulnerability in Delta Electronics CNCSoft-G2, a human-machine interface (HMI) software used to configure and operate computer numerical control (CNC) machines. The flaw stems from missing validation of user-supplied files during file parsing. When an operator opens a crafted project file, an attacker can corrupt the stack and execute arbitrary code in the context of the current process. The issue is tracked under CWE-121: Stack-based Buffer Overflow.

Critical Impact

Successful exploitation gives an attacker code execution on an engineering workstation that interacts with CNC equipment, threatening confidentiality, integrity, and availability of industrial control operations.

Affected Products

  • Delta Electronics CNCSoft-G2
  • Engineering workstations running CNCSoft-G2 used to configure Delta CNC controllers
  • Operational technology (OT) environments where CNCSoft-G2 project files are exchanged

Discovery Timeline

  • 2025-09-24 - CVE-2025-58317 published to NVD
  • 2025-09-25 - Last updated in NVD database

Technical Details for CVE-2025-58317

Vulnerability Analysis

CNCSoft-G2 parses proprietary project files supplied by the user. The parser fails to validate the length of attacker-controlled fields before copying them into a fixed-size stack buffer. Writing past the buffer boundary corrupts adjacent stack data, including the saved return address and structured exception handler records.

Exploitation requires user interaction. The victim must open a malicious file delivered through email, removable media, or a shared engineering project repository. Because CNCSoft-G2 typically runs with the privileges of the logged-in engineer, code executes with those privileges and can pivot to connected CNC controllers or adjacent OT systems.

The attack vector is local, but the file-based delivery mechanism aligns with common intrusion patterns in industrial environments where project files move between vendors, integrators, and plant floors.

Root Cause

The root cause is improper input validation during file parsing, classified as CWE-121: Stack-based Buffer Overflow. The application copies file-derived data into a stack buffer without bounds checking, allowing controlled overwrite of return addresses or exception handlers.

Attack Vector

An attacker crafts a malicious CNCSoft-G2 project file containing oversized or malformed structures. The file is delivered to an engineer through social engineering, supply-chain compromise of project repositories, or a USB drop. Opening the file in CNCSoft-G2 triggers the overflow and redirects execution to attacker-controlled shellcode. Refer to the Delta Electronics Security Advisory (Delta-PCSA-2025-00017) for vendor technical details.

No public proof-of-concept exploit is available at the time of publication, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

Detection Methods for CVE-2025-58317

Indicators of Compromise

  • Unexpected child processes spawned by CNCSoft-G2.exe such as cmd.exe, powershell.exe, or rundll32.exe
  • CNCSoft-G2 process crashes or Windows Error Reporting events referencing access violations during file open operations
  • CNCSoft-G2 project files originating from untrusted email attachments, external USB media, or unverified network shares
  • Outbound network connections initiated by the CNCSoft-G2 process to non-Delta infrastructure

Detection Strategies

  • Monitor process lineage on engineering workstations for CNCSoft-G2 spawning interpreters, scripting hosts, or LOLBins
  • Inspect crash telemetry for stack corruption signatures in the CNCSoft-G2 parser modules
  • Apply file-type and source policies that flag CNCSoft-G2 project files arriving from outside approved engineering channels

Monitoring Recommendations

  • Forward endpoint telemetry from engineering workstations to a centralized SIEM for correlation with email and removable-media events
  • Baseline normal CNCSoft-G2 behavior, including expected child processes and network destinations, and alert on deviations
  • Track software inventory to identify all hosts running vulnerable CNCSoft-G2 versions until patching is complete

How to Mitigate CVE-2025-58317

Immediate Actions Required

  • Update CNCSoft-G2 to the fixed version identified in the Delta Electronics Security Advisory
  • Restrict CNCSoft-G2 installations to dedicated engineering workstations and remove it from systems that do not require it
  • Train engineers and integrators to open only project files received through verified channels
  • Enforce least privilege so CNCSoft-G2 does not run with administrative rights

Patch Information

Delta Electronics has published advisory Delta-PCSA-2025-00017 describing the stack-based buffer overflow and providing remediation guidance. Apply the vendor-supplied fixed release to all hosts running CNCSoft-G2 as the primary remediation.

Workarounds

  • Block inbound CNCSoft-G2 project files at email and web gateways until patching is verified
  • Disable auto-open and preview features for project files on engineering workstations
  • Segment engineering workstations from corporate networks and the public internet using a demilitarized zone aligned with IEC 62443
  • Use application allowlisting to prevent unauthorized child processes from launching under CNCSoft-G2
bash
# Example AppLocker rule snippet to block unexpected child processes under CNCSoft-G2
# (adapt paths and publisher data to your environment before deployment)
New-AppLockerPolicy -RuleType Path -User Everyone `
  -Path "%PROGRAMFILES%\Delta Industrial Automation\CNCSoft-G2\*" `
  -Action Deny -RuleNamePrefix "Block-CNCSoftG2-Children"

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechDeltaww Cncsoft G2

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-121
  • Vendor Resources
  • Delta Electronics Security Advisory
  • Related CVEs
  • CVE-2025-58319: Deltaww CNCSoft-G2 RCE 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