CVE-2026-51218 Memory corruption in n/a

High 7.5 Published Updated

A heap buffer overflow in snap7 allows attackers to cause a Denial of Service via crafted packets, affecting systems using this S7 communication library.

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-2026-51218?

CVE-2026-51218 is a high-severity memory corruption vulnerability in n/a, published on 29 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A heap buffer overflow in the TS7Worker::PerformFunctionWrite() function (/core/s7_server.cpp) of snap7 v1.4.3 allows attackers to cause a Denial of Service (DoS) via a crafted packet.

Weakness: CWE-122

Which versions are affected by CVE-2026-51218?

How do I fix CVE-2026-51218?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-51218 exists.

Sources

Also known as GHSA-6m46-rpq9-jh59.

Is CVE-2026-51218 in your software?

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

Check your SBOMs for free