CVE-2012-5958: Buffer Overflow

Published Jan 31, 2013
·
Updated

Stack-based buffer overflow in the uniqueservicename function in ssdp/ssdpserver.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.

Affected Software

26 affected components
Libupnp Project Libupnp<=1.6.17
Libupnp Project Libupnp=1.4.0
Libupnp Project Libupnp=1.4.1
Libupnp Project Libupnp=1.4.2
Libupnp Project Libupnp=1.4.3
Libupnp Project Libupnp=1.4.4
Libupnp Project Libupnp=1.4.5
Libupnp Project Libupnp=1.4.6
Libupnp Project Libupnp=1.4.7
Libupnp Project Libupnp=1.6.0
Libupnp Project Libupnp=1.6.1
Libupnp Project Libupnp=1.6.2
Libupnp Project Libupnp=1.6.3
Libupnp Project Libupnp=1.6.4
Libupnp Project Libupnp=1.6.5
Libupnp Project Libupnp=1.6.6
Libupnp Project Libupnp=1.6.7
Libupnp Project Libupnp=1.6.8
Libupnp Project Libupnp=1.6.9
Libupnp Project Libupnp=1.6.10
Libupnp Project Libupnp=1.6.11
Libupnp Project Libupnp=1.6.12
Libupnp Project Libupnp=1.6.13
Libupnp Project Libupnp=1.6.14
Libupnp Project Libupnp=1.6.15
Libupnp Project Libupnp=1.6.16

Remediation

Event History

Jan 31, 2013
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2012-5958?

CVE-2012-5958 is classified as a critical vulnerability due to the potential for remote code execution.

2

How do I fix CVE-2012-5958?

To mitigate CVE-2012-5958, you should upgrade to libupnp version 1.6.18 or later.

3

What are the potential impacts of CVE-2012-5958?

The exploitation of CVE-2012-5958 can lead to complete system compromise and unauthorized access to sensitive data.

4

Which versions of libupnp are affected by CVE-2012-5958?

Versions of libupnp prior to 1.6.18, including all versions from 1.4.0 through 1.6.17, are affected by CVE-2012-5958.

5

Who can be affected by CVE-2012-5958?

Any system running an affected version of libupnp that exposes UDP services could potentially be targeted by attackers exploiting CVE-2012-5958.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203