CVE-2025-6297

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.
Configurations

No configuration.

History

03 Jul 2025, 15:14

Type Values Removed Values Added
New CVE

Information

Published : 2025-07-01 17:15

Updated : 2025-07-03 15:14


NVD link : CVE-2025-6297

Mitre link : CVE-2025-6297

CVE.ORG link : CVE-2025-6297


JSON object : View

Products Affected

No product.

CWE
CWE-400

Uncontrolled Resource Consumption

CWE-732

Incorrect Permission Assignment for Critical Resource