Delta Electronics DOPSoft 2 Out-of-Bounds Write Vulnerability (CVE-2021-38406) Technical Advisory
Executive & SecOps Summary
SECOPS ASSESSMENTDelta Electronics DOPSoft 2 (Version 2.00.07 and prior)
Successful exploitation allows an attacker to execute arbitrary code within the context of the active process by tricking a user into opening a malicious project file
Upgrade to the latest secure version of DOPSoft and restrict opening unverified project files (.dp2) from untrusted sources
Affected Products & Version Scope
Remediation & Live Workaround Commands
PATCH & WORKAROUND1. Official Patch & Version Upgrade Commands
Delta Electronics recommends upgrading to the latest supported version. Since automated package managers are not supported for this software, use the following commands to clean up the vulnerable installation before installing the patched version.
# 1. Terminate any running instances of DOPSoft
Stop-Process -Name 'DOPSoft' -Force -ErrorAction SilentlyContinue
# 2. Backup existing project files and remove the vulnerable installation directory
Remove-Item -Path 'C:\Program Files (x86)\Delta Industrial Automation\DOPSoft 2.0' -Recurse -Force -ErrorAction SilentlyContinue2. Temporary Workaround & Hardening Configuration
If patching cannot be applied immediately, restrict network access for the application and enforce strict file-handling policies.
# Block outbound network connections for DOPSoft via Windows Advanced Firewall
New-NetFirewallRule -DisplayName 'Block DOPSoft Outbound Traffic' `
-Direction Outbound `
-Program 'C:\Program Files (x86)\Delta Industrial Automation\DOPSoft 2.0\DOPSoft.exe' `
-Action Block3. Log Audit & IoC Verification Commands
Use the following PowerShell script to audit the installed version of DOPSoft and inspect recently accessed project files for potential anomalies.
# Audit installed DOPSoft version via Registry
$RegPath = 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*'
Get-ItemProperty -Path $RegPath | Where-Object { $_.DisplayName -like '*DOPSoft*' } | Select-Object DisplayName, DisplayVersion, InstallLocation
# Inspect recently opened project files in the application profile
Get-ChildItem -Path "$env:USERPROFILE\AppData\Roaming\Delta Industrial Automation" -Filter *.xml -Recurse |
Select-String -Pattern '\.dp2' | Select-Object Path, Line -UniqueBlock Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot
Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.
Technical Root Cause & Exploitation Mechanics
1. Vulnerability Overview & Root Cause
This vulnerability (CVE-2021-38406) is an Out-of-Bounds Write (CWE-787) vulnerability in Delta Electronics DOPSoft 2, an HMI screen editor. The root cause lies in the application's failure to properly validate user-supplied data when parsing specific HMI project files. This lack of validation allows input data to write past the allocated buffer boundary, leading to memory corruption and potential control flow hijacking.
2. Exploitation Mechanics & Attack Scenario
An attacker crafts a malicious DOPSoft project file containing anomalous structures designed to trigger the out-of-bounds write during parsing. The attacker then uses social engineering tactics, such as spear-phishing, to deliver the file to an engineer. When the victim opens the file using a vulnerable version of DOPSoft 2, the parsing engine processes the malformed data, corrupts the stack or heap memory, and executes the attacker's payload under the privileges of the running application.
3. Infrastructure & Business Impact
DOPSoft is widely utilized in Industrial Control Systems (ICS) and Operational Technology (OT) environments to configure HMI panels. Because this vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, it represents a highly practical and active threat. Compromising an engineering workstation via this vector could allow attackers to manipulate HMI configurations, disrupt physical industrial processes, or establish a foothold for lateral movement within sensitive OT networks.
Official Vendor Advisories & References
Delta Electronic DOPSoft 2 (Version 2.00.07 and prior) lacks proper validation of user-supplied data when parsing specific project files. This could result in multiple out-of-bounds write instances. An attacker could leverage this vulnerability to execute code in the context of the current process.
Frequently Asked SecOps Questions (CVE-2021-38406)
FAQQ1. How critical is CVE-2021-38406 and is it actively exploited in the wild?
CVE-2021-38406 is rated CVSS 7.8 (HIGH) with a 30-day EPSS exploitation probability of 76.4%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.
Q2. Which vendors and products are affected by CVE-2021-38406?
Primary impacted vendors include delta electronics across dopsoft. Scope summary: Delta Electronics DOPSoft 2 (Version 2.00.07 and prior)
Q3. What temporary mitigations or workarounds exist for CVE-2021-38406 before patching?
[Mitigation] Upgrade to the latest secure version of DOPSoft and restrict opening unverified project files (.dp2) from untrusted sources Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.
Generate an Internal Engineering Notice or CISO Report for CVE-2021-38406
Instantly format this advisory into an executive CISO summary or engineering patch ticket.
🔗 Related Advisories in Similar Stack (delta electronics)
View Category →Google Chrome Skia Graphics Engine Out-of-bounds Write Vulnerability (CVE-2026-3909) Technical Advisory
[Affected Scope] Google Chrome and Chromium-based browsers prior to version 146.0.7680.75
Apple iOS and macOS Out-of-bounds Write Remote Code Execution Vulnerability (CVE-2026-86950) Security Advisory
[Affected Scope] All Apple devices running versions prior to iOS 18.7.11/26.7.1 and macOS Sequoia 15.8.1/Tahoe 26.7.1.
Google Chrome V8 Out-of-bounds Write Remote Code Execution Advisory (CVE-2026-87491)
[Affected Scope] Google Chrome versions prior to 153.0.8010.36 and Chromium-based browsers
Linux Kernel Netfilter Bridge ebt_snat ARP Rewrite Vulnerability (CVE-2026-53266)
[Affected Scope] Linux systems utilizing ebtables SNAT targets within bridge netfilter configurations.
Subscribe to Daily Vulnerability Briefings & KEV Alerts
Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.