CVE-2012-5958

CVE-2012-5958 is a critical-severity vulnerability in Libupnp Project Libupnp with a CVSS 2.0 base score of 10.0. Its EPSS exploit-prediction score of 83% places it in the 100th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-119.

Key facts

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) before 1.6.18 allows remote attackers to execute arbitrary code via a UDP packet with a crafted string that is not properly handled after a certain pointer subtraction.

Frequently asked questions

What is CVE-2012-5958?
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) before 1.6.18 allows remote attackers to execute arbitrary code via a UDP packet with a crafted string that is not properly handled after a certain pointer subtraction.
How severe is CVE-2012-5958?
CVE-2012-5958 has a CVSS 2.0 base score of 10.0, rated critical severity.
Is CVE-2012-5958 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 83% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2012-5958?
CVE-2012-5958 primarily affects Libupnp Project Libupnp. In total, 26 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2012-5958?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
When was CVE-2012-5958 published?
CVE-2012-5958 was published on 2013-01-31 and last updated on 2026-06-16.

References

Affected products (26)

More vulnerabilities in Libupnp Project Libupnp

All CVEs affecting Libupnp Project Libupnp →

Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities

Browse all CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities →