CVE-2012-5961 in the critical feed json
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 Devic…
published 2013-01-31 13 y ago modified 2026-06-16 4 mo ago also EUVD-2012-5835
- cvss
- 10.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 36.9%
- EPSS 36.9% chance of exploitation in 30 days, percentile 98%
- public exploits
- 1
- Exploit-DB
Summary
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 UDN (aka device) field in a UDP packet.
Patch / fix
- kb.cert.org/vuls/id/922681 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-5961 updated cvss 6.8
libupnp: Multiple stack-based buffer overflows in unique_service_name() by processing specially-crafted SSDP request (VU#922681)
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- Published
- First public exploit (EDB-24455)
Exploit prediction
36.93% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-24455 Portable UPnP SDK - 'unique_service_name()' Remote Code Execution (Metasploit) remote, 2013-02-05
- securityfocus.com http://www.securityfocus.com/bid/57602 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
kb.cert.org
/vuls/id/922681
third-party-advisory, patch, us-government-resource
-
securityfocus.com
/bid/57602
vdb-entry, exploit
-
tools.cisco.com
/security/center/content/CiscoSecurityAdvisory/cisco-sa-20130129-upnp
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2013:098
vendor-advisory
-
debian.org
/security/2013/dsa-2615
vendor-advisory
-
debian.org
/security/2013/dsa-2614
vendor-advisory
- tsd.dlink.com.tw /temp/PMD/12960/DSR-150N_A2_Release_Notes_FW_v1.05B64_WW.pdf
- community.rapid7.com /servlet/JiveServlet/download/2150-1-16596/SecurityFlawsUPnP.pdf
- tsd.dlink.com.tw /temp/PMD/12879/DSR-500_500N_1000_1000N_A1_Release_Notes_FW_v1.08B77_WW.pdf
- tsd.dlink.com.tw /temp/PMD/12966/DSR-150_A1_A2_Release_Notes_FW_v1.08B44_WW.pdf
- tsd.dlink.com.tw /temp/PMD/13039/DSR-250_250N_A1_A2_Release_Notes_FW_v1.08B44_WW_RU.pdf
- community.rapid7.com /servlet/servlet.FileDownload?file=00P1400000cCaFb
- pupnp.sourceforge.net /ChangeLog
- community.rapid7.com /community/infosec/blog/2013/01/29/security-flaws-in-universal-plug-and-play-unplug-dont-play
- wiki.mageia.org /en/Support/Advisories/MGASA-2013-0037
Sources
- CVE List CVE-2012-5961
- NVD CVE-2012-5961
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.