Resource exhaustion in Debian Dpkg
CVE-2025-6297
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N.
EPSS exploit prediction
EPSS 0.005, 41.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Debian Dpkg — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (11notes/docker-paperless-ngx, fkie-cad/nvd-json-data-feeds, raph-rcn/devsecops-juice-shop). These reference the CVE in a list, notes or a scanner and are not exploit code for it.