Skip to content
WatchlistCritical

CVE-2012-5961Libupnp 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-5961 is a critical-severity vulnerability (CVSS 10.0 v2) affecting Libupnp (Libupnp Project), libupnp4 (debian), libupnp6-32bit (suse) and 2 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 37% 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 public exploit code exists for a high-severity flaw.

Scores

CVSS v2

10.0

AV:N/AC:L/Au:N/C:C/I:C/A:C

EPSS (30-day exploit likelihood)

37%

Higher than 98.5% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

38/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

1

Reports of active use

Advisories And Exploit References

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 UDN (aka device) field in a UDP packet.

Affected Products

6 affected entries in total
ProductAffected versionsFixed in
LibupnpLibupnp Project1.3.11:1.6.6-5+squeeze1
libupnp4debianSee advisory1.8.0~svn20100507-1+squeeze1
libupnp6-32bitsuseSee advisory1.6.19-1.8
libupnp6suseSee advisory1.6.19-1.8
libupnp-develsuseSee advisory1.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

Timeline

  1. Publicly disclosed

    Jan 29, 2013

  2. 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

11 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2012-5961 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

Figures as of Oct 19, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.