CVE-2025-6297Debian Dpkg
High 8.2 No auth needed
Follow: this CVE · Debian · Debian Dpkg We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.2
- EPSS
- —
- Auth required
- No
- Published
- Jul 1, 2025
- Updated
- Jul 8, 2026
- Category
- Operating system · Linux
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Dpkg.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| debian | dpkg | < 1.22.21 |
Official sources
References
Links published by the sources. Open them with care.
- git.dpkg.org Patch
- lists.debian.org