CVE-2025-6297
HighCVSS 8.2Exploitation Probability (EPSS)
Low risk26th percentile - higher than 26% of all known CVEs
Summary
It was discovered that dpkg-deb does not properly sanitize directory permissions when extracting a control member into a temporary directory, which is documented as being a safe operation even on untrusted data. This may result in leaving temporary files behind on cleanup.
Risk Assessment
Automated and repeated execution of dpkg-deb commands on adversarial .deb packages can lead to disk quota exhaustion or disk full conditions, resulting in a denial of service (DoS).
Recommendation
Immediately update dpkg to a patched version and restrict execution of dpkg-deb on untrusted .deb packages in production environments.
Other vulnerabilities in dpkg
See all- CVE-2014-3127High
Dpkg version 1.15.9 on Debian squeeze introduces support for the 'C-style encoded filenames' feature without recognizing that the squeeze patch program lacks this feature. This leads to an interaction error that allows remote attackers to conduct directory traversal attacks and modify files outside of the intended directories via a crafted source package.
- CVE-2017-8283Critical
The dpkg-source program in versions 1.3.0 through 1.18.23 allows the use of a non-GNU patch program and does not provide a protection mechanism for blank-indented diff hunks, enabling remote attackers to conduct directory traversal attacks via a crafted Debian source package.
Original NVD description (English source)
It was discovered that dpkg-deb does not properly sanitize directory permissions when extracting a control member into a temporary directory, which is documented as being a safe operation even on untrusted data. This may result in leaving temporary files behind on cleanup. Given automated and repeated execution of dpkg-deb commands on adversarial .deb packages or with well compressible files, placed inside a directory with permissions not allowing removal by a non-root user, this can end up in a DoS scenario due to causing disk quota exhaustion or disk full conditions.

