CVE Watchtower

CVE-2025-6297Debian Dpkg Uncontrolled Resource Consumption

NVDCVSS scored by 134c704f-9b21-4f2e-91b3-4a467353bcc0

Vulnerability 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. 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 Level
HIGH(8.2)
Published Date
Jul 1, 2025
Last Modified
Jul 8, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.34%Probability
Root Weakness (CWE)
The product does not properly control the allocation and maintenance of a limited resource, enabling denial-of-service conditions.
The product specifies permissions for a security-critical resource in a way that allows it to be read or modified by unintended actors.
CVSS v3.1 Base Metrics — Score 8.2 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityLow
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • Debian Dpkg < 1.22.21
  • Debian dpkg < ed6bbd445dd8800308c67236ba35d08004c98e82
Patched Versions
  • Debian Dpkg 1.22.21
  • Debian dpkg ed6bbd445dd8800308c67236ba35d08004c98e82

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run Debian Dpkg and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Jul 1, 2025Published
  • Jul 8, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Debian Dpkg CVEsYou are reading CVE-2025-6297. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 27, 2026 16:14 UTC