Heap-based Buffer Overflow in libupnp

libupnp Updated 02 Oct 2025

Summary

16/12/2016
N/A
Yes i
Unrated
Not published

DLA-747-1: libupnp - security update. Affects libupnp versions < 1:1.6.17-1.2+deb7u2. Fixed in 1:1.6.17-1.2+deb7u2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

libupnp is a portable SDK for UPnP devices. It provides a set of APIs and tools for implementing UPnP functionality in various devices. The library allows devices to discover and communicate with each other over a network, enabling features such as media sharing, remote control, and device management. However, a vulnerability has been discovered in libupnp that could potentially lead to a heap-based buffer overflow.

Vulnerability Detail

The vulnerability in libupnp is a heap-based buffer overflow, which occurs when a program writes more data to a buffer than it can hold. This can result in memory corruption, leading to various consequences such as denial of service or remote code execution. An attacker could exploit this vulnerability by sending specially crafted UPnP messages to a vulnerable device, potentially gaining control over the device or causing it to crash.

How To Fix

Minimum fixed version

1:1.6.17-1.2+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libupnp

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

In conclusion, a heap-based buffer overflow vulnerability has been discovered in libupnp. It is crucial to upgrade the libupnp package to the fixed version to mitigate the risk of exploitation. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for libupnp →

Share this vulnerability

FAQ

libupnp is a portable SDK for UPnP devices, providing APIs and tools for implementing UPnP functionality in various devices.

A heap-based buffer overflow occurs when a program writes more data to a buffer in the heap than it can hold, leading to memory corruption.

The vulnerability could result in denial of service or remote code execution, allowing an attacker to gain control over the vulnerable device or crash it.

To fix this vulnerability, you should upgrade the libupnp package to version 1:1.6.17-1.2+deb7u2 or later using the package manager of the Debian 7 Wheezy distribution.

No specific workaround has been mentioned for this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for libupnp.

How To Fix

Minimum fixed version

1:1.6.17-1.2+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libupnp

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback