CVE-2025-6297
dpkg-deb: Fix cleanup for control member with restricted directories
CVSS Score
8.2
EPSS Score
0.3%
EPSS Percentile
27th
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.
| Vendor | debian |
| Product | dpkg |
| Ecosystems | |
| Industries | Technology |
| Published | Jul 1, 2025 |
| Last Updated | Jul 8, 2026 |
Stay Ahead of the Next One
Get instant alerts for debian dpkg
Be the first to know when new high vulnerabilities affecting debian dpkg are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Debian / dpkg
0 < ed6bbd445dd8800308c67236ba35d08004c98e82