cve.bz

CVE-2025-6297 debian dpkg: Uncontrolled Resource Consumption

8.2 highEPSS 0.5%Fix available

High (8.2) in debian dpkg. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.2 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 42nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-07-01. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-732 Incorrect Permission Assignment for Critical Resource
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-6297 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-6297?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-6297?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-6297 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Debian dpkgbefore ed6bbd445dd8800308c67236ba35d08004c98e82

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11dpkg1.20.14DLA-4673-1
Debian12dpkg1.21.23DEBIAN-CVE-2025-6297
Debian13, 14dpkg1.22.21DEBIAN-CVE-2025-6297
Ubuntu18.04:LTS, 20.04:LTS, Pro:14.04:LTS and 1 moredpkgno fix listedUBUNTU-CVE-2025-6297
Ubuntu22.04:LTSdpkg1.21.1ubuntu2.6UBUNTU-CVE-2025-6297 USN-7768-1
Ubuntu24.04:LTSdpkg1.22.6ubuntu6.5UBUNTU-CVE-2025-6297 USN-7768-1
Ubuntu25.10dpkg1.22.21ubuntu1UBUNTU-CVE-2025-6297
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 4 moreupdate-alternatives1.19.0.4-150000.4.7.1SUSE-SU-2025:02734-1
SUSELinux Enterprise Module for Development Tools 15 SP6, Linux Enterprise Module for Development Tools 15 SP7dpkg1.19.0.4-150000.4.7.1SUSE-SU-2025:02734-1
SUSELinux Micro 6.0update-alternatives1.22.0-2.1SUSE-SU-2025:20562-1
SUSELinux Micro 6.1update-alternatives1.22.0-slfo.1.1_2.1SUSE-SU-2025:20670-1
openSUSELeap 15.6dpkg, update-alternatives1.19.0.4-150000.4.7.1SUSE-SU-2025:02734-1
openSUSETumbleweeddpkg1.22.21-1.1openSUSE-SU-2025:15314-1
Azure Linux2dpkgno fix listedAZL-64641

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-732 (11).

References

Check your stackJSON