Stack-based Buffer Overflow in dpkg-deb Component of dpkg

dpkg Updated 02 Oct 2025

Summary

26/11/2015
N/A
Yes i
Unrated
Not published

DSA-3407-1: dpkg - security update. Affects dpkg versions < 1.16.17. Fixed in 1.16.17. 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

dpkg is the Debian package management system, responsible for installing, removing, and managing software packages on Debian-based systems. It is a critical component of the operating system, ensuring the integrity and security of installed packages. However, a vulnerability has been discovered in the dpkg-deb component, which is used for handling Debian binary packages (.deb).

Vulnerability Detail

The vulnerability in dpkg-deb is a stack-based buffer overflow, allowing an attacker to execute arbitrary code by tricking a user or automated system into processing a specially crafted Debian binary package in the old style Debian binary package format. This type of attack can lead to a complete compromise of the system, enabling the attacker to gain unauthorized access, modify data, or disrupt the normal operation of the system.

How To Fix

Minimum fixed version

1.16.17

This is the first release that contains the fix.

sudo apt-get install --only-upgrade dpkg

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

Workaround

There is no known workaround for this vulnerability. It is essential to apply the security update provided by the dpkg package to mitigate the risk.

Conclusion

The stack-based buffer overflow vulnerability in the dpkg-deb component of dpkg poses a significant risk to Debian-based systems. It is crucial to upgrade the dpkg package to the fixed version to prevent potential exploitation. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for dpkg →

Share this vulnerability

FAQ

dpkg is the Debian package management system, used for installing, removing, and managing software packages on Debian-based systems.

dpkg-deb is a component of dpkg that is responsible for handling Debian binary packages (.deb). It is used for package installation, extraction, and other package management tasks.

The stack-based buffer overflow vulnerability in dpkg-deb allows an attacker to overwrite the stack memory with arbitrary data, potentially leading to the execution of malicious code.

If successfully exploited, this vulnerability can allow an attacker to execute arbitrary code on the affected system. This can lead to unauthorized access, data manipulation, or disruption of system functionality.

The only known mitigation for this vulnerability is to upgrade the dpkg package to the fixed version. Applying the security update is crucial to protect the system from potential attacks.

Related vulnerabilities

Recent vulnerabilities recorded for dpkg.

How To Fix

Minimum fixed version

1.16.17

This is the first release that contains the fix.

sudo apt-get install --only-upgrade dpkg

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