CVE Catalog

CVE-2025-6297

HighCVSS 8.2
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.34%

26th percentile - higher than 26% of all known CVEs

Summary

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.

Risk Assessment

Automated and repeated execution of dpkg-deb commands on adversarial .deb packages can lead to disk quota exhaustion or disk full conditions, resulting in a denial of service (DoS).

Recommendation

Immediately update dpkg to a patched version and restrict execution of dpkg-deb on untrusted .deb packages in production environments.

Other vulnerabilities in dpkg

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS