CVE-2025-41732 Stack-based buffer overflow via unsafe sscanf in check_cookie()

Critical 9.8 Published Updated

Unauthenticated remote attackers can achieve full device compromise via stack-based buffer overflow in the cookie check function.

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-41732?

CVE-2025-41732 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_cookie() 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-41732?

It affects 2 products.

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

How do I fix CVE-2025-41732?

No fix has been published for CVE-2025-41732 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-41732 being exploited?

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

Sources

Also known as GHSA-cprc-hgv2-3jr8.

Is CVE-2025-41732 in your software?

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

Check your SBOMs for free