CVE-2024-8938 Memory corruption in Modicon M340 CPU (part numbers BMXP34*)

Critical 9.2 Published Updated

A memory corruption vulnerability in Schneider Electric PLCs allows arbitrary code execution via a crafted Modbus request after a Man-In-The-Middle attack.

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-2024-8938?

CVE-2024-8938 is a critical memory corruption vulnerability in Schneider Electric Modicon M340 CPU (part numbers BMXP34*), published on 13 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability exists that could cause a potential arbitrary code execution after a successful Man-In-The-Middle attack followed by sending a crafted Modbus function call to tamper with memory area involved in memory size computation.

Weakness: CWE-119

Which versions are affected by CVE-2024-8938?

How do I fix CVE-2024-8938?

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

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

Sources

Also known as GHSA-fv43-v7vc-rjjf.

Is CVE-2024-8938 in your software?

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

Check your SBOMs for free