Back to CVE catalog

AI summary

The unique_service_name function in the SSDP parser of the portable SDK for UPnP Devices (libupnp) before 1.6.18 has a stack-based buffer overflow. Remote attackers can execute arbitrary code with a UDP packet containing a crafted string that is mishandled after a pointer subtraction.

Generated automatically from the source description. Check the sources below before acting.

CVE-2012-5958

Buffer overflow in SSDP parser in libupnp

libupnp_project libupnp

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityComplete
IntegrityComplete
AvailabilityComplete

CVSS summary v2.0

10.0High
Published:
Updated:
EPSS:
83.216%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:libupnp_projectlibupnpAffected versions:
≤ 1.6.17Show full version range for libupnp
1.4.01.4.11.4.21.4.31.4.41.4.51.4.61.4.71.6.01.6.11.6.101.6.111.6.121.6.131.6.141.6.151.6.161.6.21.6.31.6.41.6.51.6.61.6.71.6.81.6.9

1–1 of 1 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary10.0 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:C/I:C/A:C
nvd · Wazuh CTI (cna)10.0 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

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

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories22

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences