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.
Metrics
Affected Vendors & Products
References
History
Tue, 01 Jul 2025 18:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Weaknesses | CWE-400 CWE-732 |
|
Metrics |
cvssV3_1
|
Tue, 01 Jul 2025 17:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | It was discovered that dpkg 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, which may lead to leave 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 with a DoS scenario due to causing disk quota exhaustion or disk full conditions. | 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. |
Tue, 01 Jul 2025 16:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | It was discovered that dpkg 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, which may lead to leave 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 with a DoS scenario due to causing disk quota exhaustion or disk full conditions. | |
Title | dpkg-deb: Fix cleanup for control member with restricted directories | |
References |
|

Status: PUBLISHED
Assigner: debian
Published: 2025-07-01T16:16:54.624Z
Updated: 2025-07-01T17:30:37.332Z
Reserved: 2025-06-19T07:40:18.350Z
Link: CVE-2025-6297

Updated: 2025-07-01T17:30:09.853Z

Status : Awaiting Analysis
Published: 2025-07-01T17:15:30.177
Modified: 2025-07-03T15:14:12.767
Link: CVE-2025-6297

No data.