CVE-2012-5240 Memory corruption in n/a

Medium 5.8 Published Updated

Remote attackers can cause a denial of service or potentially execute code via malformed LDP packets in Wireshark.

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

What is CVE-2012-5240?

CVE-2012-5240 is a medium-severity memory corruption vulnerability in Wireshark Wireshark, published on 4 Oct 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Buffer overflow in the dissect_tlv function in epan/dissectors/packet-ldp.c in the LDP dissector in Wireshark 1.8.x before 1.8.3 allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a malformed packet.

Weakness: CWE-119

Which versions are affected by CVE-2012-5240?

It affects 1 product.

Products include Wireshark Wireshark.

How do I fix CVE-2012-5240?

Upgrade to a fixed version.

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

Is CVE-2012-5240 being exploited?

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

All Wireshark Wireshark vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-5240, GHSA-2m57-99r8-vg66.

Is CVE-2012-5240 in your software?

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

Check your SBOMs for free