CWE
119
Advisory Published
Updated

CVE-2012-5961: Buffer Overflow

First published: Thu Jan 31 2013(Updated: )

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.

Credit: cret@cert.org

Affected SoftwareAffected VersionHow to fix
libupnp=1.3.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2012-5961?

    CVE-2012-5961 has a medium severity rating due to the potential for remote code execution.

  • How do I fix CVE-2012-5961?

    To fix CVE-2012-5961, upgrade to libupnp version 1.6.6 or later, which addresses the vulnerability.

  • What causes CVE-2012-5961?

    CVE-2012-5961 is caused by a stack-based buffer overflow in the unique_service_name function of the SSDP parser.

  • Who is affected by CVE-2012-5961?

    CVE-2012-5961 affects users of libupnp version 1.3.1, particularly in UPnP devices.

  • Can CVE-2012-5961 be exploited remotely?

    Yes, CVE-2012-5961 can be exploited remotely via a malformed UDP packet containing a long UDN.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203