Incorrect default permissions in dpkg - CVE-2025-6297

 

Incorrect default permissions in dpkg - CVE-2025-6297

Published: August 12, 2025


Vulnerability identifier: #VU113836
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-6297
CWE-ID: CWE-276
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Debian Package Manager
Affected software:
dpkg

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to the way the package manager handles temporary files during extraction into a temp directory. A remote attacker can trick the victim into installing a specially crafted package and consume all available disk space, leading to a denial of service condition.  


How to mitigate CVE-2025-6297

Install updates from vendor's website.

Sources