# CVE-2022-1664: dpkg: Dpkg::Source::Archive in dpkg, the Debian package management system, beforeversion 1.21.8, 1.20.10, 1.19.8, 1.18.26 i...

CVE-2022-1664 is fixed in 3 products on 1 platform, first by DSA-5147-1, released May 25, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-1664
- Priority: High
- CVSS: 9.8 (Medium)
- EPSS: 0.0324
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 25, 2022

## Description

Dpkg::Source::Archive in dpkg, the Debian package management system, beforeversion 1.21.8, 1.20.10, 1.19.8, 1.18.26 is prone to a directory traversalvulnerability. When extracting untrusted source packages in v2 and v3source package formats that include a debian.tar, the in-place extractioncan lead to directory traversal situations on specially crafted orig.tarand debian.tar tarballs.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | dpkg Debian 11.6 (bullseye) | 1.20.10 | [DSA-5147-1](https://patchblox.com/security/data/fix/linux/dsa-5147-1.md) | May 25, 2022 |
| Linux | dpkg Debian 12.15 (bookworm) | 1.21.8 | [DEBIAN-CVE-2022-1664](https://patchblox.com/security/data/fix/linux/debian-cve-2022-1664.md) | May 26, 2022 |
| Linux | dpkg Debian 13.5 (trixie) | 1.21.8 | [DEBIAN-CVE-2022-1664](https://patchblox.com/security/data/fix/linux/debian-cve-2022-1664.md) | May 26, 2022 |
| Linux | dpkg Debian 14 | 1.21.8 | [DEBIAN-CVE-2022-1664](https://patchblox.com/security/data/fix/linux/debian-cve-2022-1664.md) | May 26, 2022 |
| Linux | dpkg Ubuntu 18.04.6 LTS (bionic) | 1.19.0.5ubuntu2.4 | [dpkg 1.19.0.5ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-dpkg-1.19.0.5ubuntu2.4.md) | May 25, 2022 |
| Linux | dpkg Ubuntu 20.04 LTS (focal) | 1.19.7ubuntu3.2 | [dpkg 1.19.7ubuntu3.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-dpkg-1.19.7ubuntu3.2.md) | May 25, 2022 |
| Linux | dpkg Ubuntu 22.04.1 LTS (jammy) | 1.21.1ubuntu2.1 | [dpkg 1.21.1ubuntu2.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-dpkg-1.21.1ubuntu2.1.md) | May 25, 2022 |
| Linux | dpkg Ubuntu 24.10 (oracular) | 1.21.9ubuntu1 | [dpkg 1.21.9ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-dpkg-1.21.9ubuntu1.md) | Jan 16, 2026 |
| Linux | dpkg Ubuntu 25.04 (plucky) | 1.21.9ubuntu1 | [dpkg 1.21.9ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-dpkg-1.21.9ubuntu1.md) | Jan 16, 2026 |
| Linux | dselect Ubuntu 18.04.6 LTS (bionic) | 1.19.0.5ubuntu2.4 | [dselect 1.19.0.5ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-dselect-1.19.0.5ubuntu2.4.md) | May 25, 2022 |
| Linux | dselect Ubuntu 20.04 LTS (focal) | 1.19.7ubuntu3.2 | [dselect 1.19.7ubuntu3.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-dselect-1.19.7ubuntu3.2.md) | May 25, 2022 |
| Linux | dselect Ubuntu 22.04.1 LTS (jammy) | 1.21.1ubuntu2.1 | [dselect 1.21.1ubuntu2.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-dselect-1.21.1ubuntu2.1.md) | May 25, 2022 |
| Linux | dselect Ubuntu 24.10 (oracular) | 1.21.9ubuntu1 | [dselect 1.21.9ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-dselect-1.21.9ubuntu1.md) | Jan 16, 2026 |
| Linux | dselect Ubuntu 25.04 (plucky) | 1.21.9ubuntu1 | [dselect 1.21.9ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-dselect-1.21.9ubuntu1.md) | Jan 16, 2026 |
| Linux | libdpkg-perl Ubuntu 18.04.6 LTS (bionic) | 1.19.0.5ubuntu2.4 | [libdpkg-perl 1.19.0.5ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libdpkg-perl-1.19.0.5ubuntu2.4.md) | May 25, 2022 |
| Linux | libdpkg-perl Ubuntu 20.04 LTS (focal) | 1.19.7ubuntu3.2 | [libdpkg-perl 1.19.7ubuntu3.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libdpkg-perl-1.19.7ubuntu3.2.md) | May 25, 2022 |
| Linux | libdpkg-perl Ubuntu 22.04.1 LTS (jammy) | 1.21.1ubuntu2.1 | [libdpkg-perl 1.21.1ubuntu2.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libdpkg-perl-1.21.1ubuntu2.1.md) | May 25, 2022 |
| Linux | libdpkg-perl Ubuntu 24.10 (oracular) | 1.21.9ubuntu1 | [libdpkg-perl 1.21.9ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libdpkg-perl-1.21.9ubuntu1.md) | Jan 16, 2026 |
| Linux | libdpkg-perl Ubuntu 25.04 (plucky) | 1.21.9ubuntu1 | [libdpkg-perl 1.21.9ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-libdpkg-perl-1.21.9ubuntu1.md) | Jan 16, 2026 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
