← Vulnerability feed

Vulnerability record · CVE-2025-6297 · published 1 July 2025

CVE-2025-6297: Debian dpkg uncontrolled resource consumption vulnerability

Debian · Dpkg

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.

8.2 CVSS 3.1 High EPSS 0.38% · top 70.5% CWE-400 · Uncontrolled resource consumptionCWE-732 · Incorrect permission assignment
8.2CVSS 3.1 base score
0.38%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References
8 Jul 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2025-6297 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2022-1664Debian dpkg path traversal vulnerabilityDpkg::Source::Archive in dpkg, the Debian package management system, before version 1.21.8, 1.20.10, 1.19.8, 1.18.26 is prone to a directory traversa…EPSS 3.2%9.8CVE-2017-8283Debian dpkg path traversal vulnerabilitydpkg-source in dpkg 1.3.0 through 1.18.23 is able to use a non-GNU patch program and does not offer a protection mechanism for blank-indented diff hu…EPSS 4.6%7.5CVE-2026-2219Debian dpkg vulnerabilityIt was discovered that dpkg-deb (a component of dpkg, the Debian package management system) does not properly validate the end of the data stream whe…EPSS 0.42%7.5CVE-2015-0860Canonical ubuntu linux vulnerabilityOff-by-one error in the extracthalf function in dpkg-deb/extract.c in the dpkg-deb component in Debian dpkg 1.16.x before 1.16.17 and 1.17.x before 1…EPSS 5.0%7.2CVE-2004-2768Debian dpkg permissions and access controls vulnerabilitydpkg 1.9.21 does not properly reset the metadata of a file during replacement of the file in a package upgrade, which might allow local users to gain…EPSS 0.41%7.1CVE-2014-3127Debian dpkg path traversal vulnerabilitydpkg 1.15.9 on Debian squeeze introduces support for the "C-style encoded filenames" feature without recognizing that the squeeze patch program lacks…EPSS 2.1%6.8CVE-2014-8625Debian dpkg vulnerabilityMultiple format string vulnerabilities in the parse_error_msg function in parsehelp.c in dpkg before 1.17.22 allow remote attackers to cause a denial…EPSS 3.3%6.8CVE-2011-0402Debian dpkg link following vulnerabilitydpkg-source in dpkg before 1.14.31 and 1.15.x allows user-assisted remote attackers to modify arbitrary files via a symlink attack on unspecified fil…EPSS 2.9%

Source: NIST National Vulnerability Database (record CVE-2025-6297), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.