Skip to main content

WAGO 852 Switches CVE-2025-41730

CRITICAL
Stack-based Buffer Overflow (CWE-121)
2025-12-10 info@cert.vde.com
9.8
CVSS 3.1 · Vendor: cert
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach device management interface
  2. Delivery
    Send crafted input to check_account()
  3. Exploit
    Overflow fixed-size stack buffer via unsafe sscanf
  4. Execution
    Hijack control flow / execute code
  5. Impact
    Full device compromise

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No special conditions beyond network reachability - the flaw is an unauthenticated (PR:N), remote (AV:N), low-complexity (AC:L) stack overflow in the check_account() routine of affected WAGO 852-1328/852-1322 switch firmware, reachable pre-authentication with no user interaction. The practical limiting factor is exposure: these are industrial managed switches typically deployed on segmented OT/plant networks rather than the public internet, so an attacker must first obtain a network path to the device's management interface. No non-default configuration is required to trigger the bug.

Impact

All signals point to a genuinely high-severity flaw. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H = 9.8) is internally consistent with the description: an unauthenticated, remote, low-complexity stack buffer overflow (CWE-121) in check_account() yielding full device compromise (C:H/I:H/A:H). I concur with the 9.8. However, exploitation-probability signals temper the urgency: EPSS is only 0.43% (35th percentile), there is no CISA KEV listing, and no public exploit code was identified - so this is not currently subject to observed mass exploitation. The gap between the maximal impact score and the modest EPSS is best explained by the affected product being a niche industrial device rather than a mass-internet-facing service, and by the absence (so far) of a public PoC. No SSVC decision data was provided in the input. Net: treat as a real patch priority for anyone operating the affected WAGO switches (unauth pre-auth RCE on OT hardware is a worst-case class), but its current real-world exploitation is unproven rather than widespread. The advisory originates from CERT@VDE (VDE-2025-095), a credible industrial-CERT source, which raises confidence in the technical accuracy even though only a single reference is present.

Exploit ScenarioDerived

An attacker with network reachability to the device's management/authentication interface sends a crafted account/credential string that check_account() parses with an unbounded sscanf, overflowing a fixed-size stack buffer and overwriting the return address to hijack control flow - no credentials or user interaction needed. Because the sink is in account handling, it is reachable pre-authentication, so a single crafted request can lead to full device takeover. No public proof-of-concept exploit was identified at time of analysis.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 25, 2026

Unauthenticated remote attackers can exploit a stack-based buffer overflow in the check_account() function of WAGO 852-1328 and 852-1322 industrial switch firmware, leading to full device compromise. The flaw arises from unsafe sscanf calls that write arbitrary data into fixed-size stack buffers without bounds checking. With a CVSS score of 9.8, the vulnerability is critical, though EPSS indicates low exploitation likelihood (0.43%); no public exploit identified at time of analysis. Affected devices are typically deployed on segmented OT networks, limiting exposure to attackers with network access to the management interface.

RemediationAI

No vendor-released patch identified at time of analysis; consult the advisory at https://certvde.com/de/advisories/VDE-2025-095 for updates. Until a patch is available, restrict network access to the device's management interface (typically HTTPS on port 443 or SSH on port 22) to trusted administrative hosts only via firewall rules or network segmentation. This mitigation reduces the attack surface but may limit remote management capabilities. Additionally, disable any unnecessary remote management features and monitor network traffic for anomalous requests to the authentication endpoints. In OT environments where remote management is essential, consider using a VPN or jump host to enforce authentication and encryption. Note that these compensating controls do not eliminate the vulnerability and should be combined with timely patching once available.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is a classic stack-based buffer overflow (CWE-121) in the firmware of WAGO 852-1328 and 852-1322 managed industrial switches. The check_account() function likely handles authentication or account verification, and it uses sscanf() to parse user-supplied input without validating the length, allowing an attacker to overwrite the return address or other stack data. This can lead to arbitrary code execution with the privileges of the affected process, resulting in full device compromise. The CPE strings confirm the affected firmware for both models. The flaw is remotely exploitable pre-authentication (PR:N) over the network (AV:N) with low complexity (AC:L), requiring no user interaction (UI:N). Industrial control systems like these are often used in critical infrastructure, making patching and network segmentation critical.

Know when 0852 1328 Firmware gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (cert) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Unauthenticated pre-auth network-reachable stack overflow with no user interaction (AV:N/AC:L/PR:N/UI:N) yielding code execution and full device compromise (C:H/I:H/A:H).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (cert).

CVSS VectorVendor: cert

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

An unauthenticated remote attacker can abuse unsafe sscanf calls within the check_account() function to write arbitrary data into fixed-size stack buffers which leads to full device compromise.

Executive ViewAI

Why It Matters

WAGO 852-1328 and 852-1322 industrial Ethernet switches can be fully taken over by a remote attacker who reaches the management interface, and no vendor-released patch is currently available. Because these switches sit inside operational technology networks that are difficult to take offline and are often poorly monitored, a successful compromise could disrupt industrial processes and give an attacker a durable foothold for lateral movement into production environments. Leadership should care because remediation depends entirely on network-level containment until WAGO ships firmware, and the affected devices are concentrated in critical OT segments rather than general IT.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: strictly segment affected switches into isolated OT VLANs with no IT or internet reachability; restrict management interface access to a hardened jump host with MFA; disable remote/web management and unused services; block inbound access to management ports at the network perimeter and between OT zones; enable and centrally collect device and firewall logs; monitor for malformed management requests and anomalous reboots or configuration changes; and maintain spare/replacement units so unsegmentable devices can be swapped quickly.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Low
WAGO 852-series industrial managed Ethernet switches, OT/industrial-only footprint
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Affected Products (CPE)CVE.org

cpe:2.3:o:wago:0852-1328_firmware:*:*:*:*:*:*:*:*
cpe:2.3:o:wago:0852-1322_firmware:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy