Heap-based Buffer Overflow in libupnp4

libupnp4 Updated 02 Oct 2025

Summary

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

DLA-748-1: libupnp4 - security update. Affects libupnp4 versions < 1.8.0~svn20100507-1.2+deb7u1. Fixed in 1.8.0~svn20100507-1.2+deb7u1. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libupnp4 is a portable SDK for UPnP devices. It provides a set of APIs for developers to implement UPnP functionality in their applications. The library allows devices to discover each other on a network, control and communicate with each other, and provide services to clients. However, a vulnerability has been discovered in libupnp4 that can lead to a heap-based buffer overflow.

Vulnerability Detail

The vulnerability in libupnp4 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 a denial of service or even remote code execution. An attacker could exploit this vulnerability by sending a specially crafted UPnP message to a vulnerable device, causing the buffer overflow and potentially executing arbitrary code on the target system. This vulnerability poses a significant risk to systems that use libupnp4.

How To Fix

Minimum fixed version

1.8.0~svn20100507-1.2+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libupnp4

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

Conclusion

The heap-based buffer overflow vulnerability in libupnp4 can lead to denial of service or remote code execution. It is crucial to update the libupnp4 package to the latest version to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for libupnp4 →

Share this vulnerability

FAQ

libupnp4 is a portable SDK for UPnP devices that allows developers to implement UPnP functionality in their applications.

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

This vulnerability can result in a denial of service or remote code execution, allowing an attacker to take control of the affected system.

To fix this vulnerability, you should upgrade the libupnp4 package to version 1.8.0~svn20100507-1.2+deb7u1 or later.

No, there is no known workaround for this vulnerability. It is recommended to update the libupnp4 package to the latest version.

Related vulnerabilities

Recent vulnerabilities recorded for libupnp4.

How To Fix

Minimum fixed version

1.8.0~svn20100507-1.2+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libupnp4

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