CVE-2025-40580 Memory corruption in SCALANCE LPE9403
A stack-based buffer overflow in Siemens SCALANCE LPE9403 allows local attackers to execute arbitrary code or cause denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-40580?
CVE-2025-40580 is a medium-severity memory corruption vulnerability in Siemens SCALANCE LPE9403, published on 13 May 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
A vulnerability has been identified in SCALANCE LPE9403 (6GK5998-3GS00-2AC2) (All versions < V4.0 HF0). Affected devices are vulnerable to a stack-based buffer overflow. This could allow a non-privileged local attacker to execute arbitrary code on the device or to cause a denial of service condition.
Which versions are affected by CVE-2025-40580?
It affects 1 product.
Products include Siemens Scalance Lpe9403 Firmware.
How do I fix CVE-2025-40580?
No fix has been published for CVE-2025-40580 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-40580 being exploited?
There is no known exploitation of CVE-2025-40580 in the wild and no public exploit code.
Other vulnerabilities in Siemens SCALANCE LPE9403
Sources
Also known as GHSA-5hmr-m4pw-7777.