CVE-2021-40142 in Opcfoundation Local Discover Server and 9 more products
In OPC Foundation Local Discovery Server (LDS) before 1.04.402.463, remote attackers can cause a denial of service (DoS) by sending carefully crafted messages that lead to Access of a Memory Location After the End of a Buffer.
Affects 10 products from 2 vendors. Description from NVD and MITRE.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Opcfoundation | Local Discover Server | < 1.04.402.463 |
| Siemens | SIMATIC WinCC Runtime | No version listed by the source |
| Siemens | WinCC | < 8.0 |
| Siemens | SIMATIC WinCC Runtime Professional | < 18 |
| Siemens | Telecontrol Server Basic | < 3.1.1 |
| Siemens | SIMATIC WinCC | < 8.0 |
| Siemens | SIMATIC Process Historian Opc Ua Server (device and firmware) | 2022 < 2022 |
| Siemens | SIMATIC WinCC Unified Scada Runtime | No version listed by the source |
| Siemens | SIMATIC Net Pc | 14 15 16 17 |
| Siemens | Simatic Net Pc-Software | < 17 SP1 |
| Siemens | Simatic Net Pc Software Firmware | < 17 SP1 |
Fix and vendor advisory
- SIMATIC NET PC Software V14: Update to V14 SP1 Update 14 or later version
- SIMATIC WinCC Runtime Professional: Update to V18 or later version
- SIMATIC WinCC Unified PC Runtime V18: Update to V18 Update 1 or later version
- TeleControl Server Basic V3: Update to V3.1.1 or later version
- SIMATIC WinCC: Update to V8.0 or later version
- SIMATIC NET PC Software V16: Update to V16 Update 6 or later version
- SIMATIC Process Historian OPC UA Server: Update to V2020 SP1 or later version
- SIMATIC Process Historian OPC UA Server: For PCS neo: Update to PCS neo V3.1 SP1 ( https://support.industry.siemens.com/cs/ww/de/view/109807752/)
- SIMATIC Process Historian OPC UA Server: For PCS 7: Update to PCS 7 V9.1 SP1 ( https://support.industry.siemens.com/cs/ww/en/view/109805073/)
- SIMATIC Process Historian OPC UA Server: For WinCC: contact local support
Source: ICSA-22-132-12
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2021-40142 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-307163-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2021-08-27 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement network segmentation to isolate the OPC Foundation LDS from untrusted networks. Use firewalls to restrict access to the LDS only to trusted sources. Monitor network traffic for suspicious activity and apply intrusion detection systems (IDS) to detect and alert on potential exploitation attempts.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.