directory traversal for in-place extracts with untrusted v2 and v3 source packages with debian.tar
CVE-2022-1664
9.8CRITICAL
Key facts: CVE-2022-1664 is a critical severity (CVSS 9.8) vulnerability in Debian dpkg. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 2.1%, the estimated probability of exploitation in the next 30 days. Fixed in dpkg 1.21.8.
What is CVE-2022-1664?
Dpkg::Source::Archive in dpkg, the Debian package management system, before version 1.21.8, 1.20.10, 1.19.8, 1.18.26 is prone to a directory traversal vulnerability. When extracting untrusted source packages in v2 and v3 source package formats that include a debian.tar, the in-place extraction can lead to directory traversal situations on specially crafted orig.tar and debian.tar tarballs.
Affected Version(s)
dpkg 1.14.17 < 1.21.8
References
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7a6c03...
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=58814c...
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=1f23dd...
More Debian vulnerabilities
- CVE-2026-109518: Remote Code Execution Vulnerability in Debian and Ubuntu Package Management(HIGH)
- CVE-2025-8454: OpenPGP Verification Bypass in Devscripts Tool Affecting Debian(CRITICAL)