CVE-2025-41730 Stack-based buffer overflow via unsafe sscanf in check_account()

Critical 9.8 Published Updated

Unauthenticated remote attackers can achieve full device compromise via stack-based buffer overflow in WAGO industrial switches.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-41730?

CVE-2025-41730 is a critical memory corruption vulnerability in WAGO Indsutrial-Managed-Switches, published on 10 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2025-41730?

It affects 2 products.

Products include Wago 0852-1322 Firmware, Wago 0852-1328 Firmware.

How do I fix CVE-2025-41730?

No fix has been published for CVE-2025-41730 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-41730 being exploited?

There is no known exploitation of CVE-2025-41730 in the wild and no public exploit code.

Sources

Also known as GHSA-mf5w-78vr-g8gf.

Is CVE-2025-41730 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free