CVE-2012-5959Portable Sdk For Upnp Memory Corruption
libupnp: Multiple stack-based buffer overflows in unique_service_name() by processing specially-crafted SSDP request (VU#922681)
Published Jan 29, 2013 · Updated Mar 9, 2026
Key Facts
Patch immediately- CVE-2012-5959 is a critical-severity vulnerability (CVSS 10.0 v2) affecting Portable Sdk For Upnp (Portable Sdk For Upnp Project), libupnp4 (debian), libupnp (debian) and 3 more products.
- It is exploited in the wild, listed in Industry KEV feed since Jul 13, 2018. Public exploit code is available.
- EPSS estimates a 76% probability of exploitation in the next 30 days.
- Fixed versions are available, including libupnp 1:1.6.6-5+squeeze1, libupnp-devel 1.6.19-1.8, libupnp4 1.8.0~svn20100507-1+squeeze1.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v2
10.0
AV:N/AC:L/Au:N/C:C/I:C/A:C
EPSS (30-day exploit likelihood)
76%
Higher than 99.6% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
63/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Jul 13, 2018
1991 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
3
Reports of active use
Advisories And Exploit References
- patchVU#922681
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 long UDN (aka uuid) field within a string that contains a :: (colon colon) in a UDP packet.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Jul 13, 2018 | n/a | Not reported |
Affected Products
31 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Portable Sdk For UpnpPortable Sdk For Upnp Project | 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.4.7 | 1.6.17 |
| libupnp4debian | See advisory | 1.8.0~svn20100507-1+squeeze1 |
| libupnpdebian | See advisory | 1:1.6.6-5+squeeze1 |
| libupnp6-32bitsuse | See advisory | 1.6.19-1.8 |
| libupnp6suse | See advisory | 1.6.19-1.8 |
Patched Releases
libupnp
1:1.6.6-5+squeeze1
libupnp-devel
1.6.19-1.8
libupnp4
1.8.0~svn20100507-1+squeeze1
libupnp6
1.6.19-1.8
libupnp6-32bit
1.6.19-1.8
Portable Sdk For Upnp
1.6.17
Timeline
Publicly disclosed
Jan 29, 2013
Added to Industry KEV feed
Jul 13, 2018
Last updated
Mar 9, 2026
Weakness Type
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-121 Stack-based Buffer Overflow
References
- patchVU#922681
- exploitExploitDB-24455
- exploitVulnCheck exploitation report
- exploitVulnCheck exploitation report
- exploit57602
FAQ
Common Questions.
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 long UDN (aka uuid) field within a string that conta…
Affected: Portable Sdk For Upnp (Portable Sdk For Upnp Project) versions 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.4.7; libupnp4 (debian); libupnp (debian), among others. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed since Jul 13, 2018.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including libupnp 1:1.6.6-5+squeeze1, libupnp-devel 1.6.19-1.8, libupnp4 1.8.0~svn20100507-1+squeeze1.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2012-5959 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo