CVE-2025-6297: debian dpkg Uncontrolled Resource Consumption
Vulnerability summary
CVE-2025-6297 is a high (CVSS 8.2) Uncontrolled Resource Consumption vulnerability in debian dpkg. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 33.6% of scored vulnerabilities.
Timeline
- 01-07-2025PublishedVulnerability first disclosed.
- 08-07-2026Last modifiedVulnerability information updated.
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 metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
- OSV · DebianEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
- NVDNIST8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
EPSS trend
Probability
0.41%
Chance of exploitation in the next 30 days
Percentile
34%
Versus all other CVEs
30-day change
+0.06 pp
From 0.35% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-732Incorrect Permission Assignment for Critical ResourceThe product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.
Affected systems
Suse11 products
- dpkg&distro=SUSE Linux Enterprise Module for Development Tools 15 SP6< 1.19.0.4-150000.4.7.1
- dpkg&distro=SUSE Linux Enterprise Module for Development Tools 15 SP7< 1.19.0.4-150000.4.7.1
- update-alternatives&distro=SUSE Linux Enterprise Micro 5.1< 1.19.0.4-150000.4.7.1
- update-alternatives&distro=SUSE Linux Enterprise Micro 5.2< 1.19.0.4-150000.4.7.1
- update-alternatives&distro=SUSE Linux Enterprise Micro 5.3< 1.19.0.4-150000.4.7.1
Opensuse3 products
- dpkg&distro=openSUSE Leap 15.6< 1.19.0.4-150000.4.7.1
- dpkg&distro=openSUSE Tumbleweed< 1.22.21-1.1
- update-alternatives&distro=openSUSE Leap 15.6< 1.19.0.4-150000.4.7.1
Debian2 products
- dpkg< 1.21.23 | < 1.22.21
- dpkg< ed6bbd445dd8800308c67236ba35d08004c98e82 | < 1.22.21
Mageia1 product
- dpkg< 1.22.21-1.mga9
Ubuntu1 product
- dpkgAll versions (No fix recorded) | < 1.22.21ubuntu1 | < 1.21.1ubuntu2.6 | < 1.22.6ubuntu6.5
5 vendors · 18 products