CVE-2012-5962 Memory corruption in n/a

Critical 10.0 Published Updated

Remote attackers can execute arbitrary code via a stack-based buffer overflow in the libupnp SSDP parser using a malicious UDP packet.

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

CVE-2012-5962 is a critical memory corruption vulnerability in n/a, published on 31 Jan 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable SDK for UPnP Devices (aka libupnp, formerly the Intel SDK for UPnP devices) 1.3.1 allows remote attackers to execute arbitrary code via a long DeviceType (aka urn) field in a UDP packet.

Weakness: CWE-119

Which versions are affected by CVE-2012-5962?

It affects 1 product.

Products include Portable Sdk for Upnp Project Portable Sdk for Upnp.

How do I fix CVE-2012-5962?

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-5962 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-xhwh-qc34-g7xv.

Is CVE-2012-5962 in your software?

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

Check your SBOMs for free