# CVE-2022-1664: directory traversal for in-place extracts with untrusted v2 and v3 source packages with debian.tar

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-05-26 · Modified: 2024-09-17
- Aliases: ALPINE-CVE-2022-1664, MGASA-2022-0327, SUSE-SU-2022:2689-1, SUSE-SU-2022:4081-1, UBUNTU-CVE-2022-1664, USN-5446-1, USN-5446-2, DEBIAN-CVE-2022-1664, DLA-3022-1, DSA-5147-1
- Record: https://cvemate.com/vulnerability/CVE-2022-1664 · JSON: https://cvemate.com/vulnerability/CVE-2022-1664/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 3.213%, percentile 88.587%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 60)

- alpine dpkg (Alpine Linux): ≥ 1.14.17, \< 1.20.10-r0 \| ≥ 1.14.17, \< 1.21.8-r0 \| ≥ 1.20.0, \< 1.20.10-r0 \| ≥ 1.21.0, \< 1.21.8-r0
- debian dpkg (Debian): \< 1.18.26 \| \< 1.19.8 \| \< 1.20.10 \| \< 1.21.8
- ubuntu dpkg (Ubuntu): All versions (No fix recorded) \| \< 1.18.4ubuntu1.7+esm1 \| \< 1.19.0.5ubuntu2.4 \| \< 1.19.7ubuntu3.2 \| \< 1.21.1ubuntu2.1
- debian debian\_linux: 9.0 \| 10.0 \| 11.0
- debian dpkg: ≥ 1.14.17, \< 1.21.8 \| ≥ 1.14.17, \< 1.18.26 \| ≥ 1.19.0, \< 1.19.8 \| ≥ 1.20.0, \< 1.20.10 \| ≥ 1.21.0, \< 1.21.8
- mageia dpkg (Mageia): \< 1.20.10-3.mga8
- netapp ontap\_select\_deploy\_administration\_utility: na
- opensuse dpkg&distro=openSUSE Leap 15.3 (openSUSE): \< 1.19.0.4-150000.4.4.1
- opensuse dpkg&distro=openSUSE Leap 15.4 (openSUSE): \< 1.19.0.4-150000.4.4.1
- opensuse update-alternatives&distro=openSUSE Leap 15.3 (openSUSE): \< 1.19.0.4-150000.4.4.1
- opensuse update-alternatives&distro=openSUSE Leap 15.4 (openSUSE): \< 1.19.0.4-150000.4.4.1
- opensuse update-alternatives&distro=openSUSE Leap Micro 5.2 (openSUSE): \< 1.19.0.4-150000.4.4.1
- opensuse update-alternatives&distro=openSUSE Leap Micro 5.3 (openSUSE): \< 1.19.0.4-150000.4.4.1
- suse dpkg&distro=SUSE Enterprise Storage 6 (SUSE Linux Enterprise): \< 1.19.0.4-150000.4.4.1
- suse dpkg&distro=SUSE Enterprise Storage 7 (SUSE Linux Enterprise): \< 1.19.0.4-150000.4.4.1
- suse dpkg&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS (SUSE Linux Enterprise): \< 1.19.0.4-150000.4.4.1
- suse dpkg&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS (SUSE Linux Enterprise): \< 1.19.0.4-150000.4.4.1
- suse dpkg&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS (SUSE Linux Enterprise): \< 1.19.0.4-150000.4.4.1
- suse dpkg&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS (SUSE Linux Enterprise): \< 1.19.0.4-150000.4.4.1
- suse dpkg&distro=SUSE Linux Enterprise High Performance Computing 15-ESPOS (SUSE Linux Enterprise): \< 1.19.0.4-150000.4.4.1

## References (first 20 of 21)

- <https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7a6c03cb34d4a09f35df2f10779cbf1b70a5200b>
- <https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=58814cacee39c4ce9e2cd0e3a3b9b57ad437eff5>
- <https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=1f23dddc17f69c9598477098c7fb9936e15fa495>
- <https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=faa4c92debe45412bfcf8a44f26e827800bb24be>
- <https://lists.debian.org/debian-security-announce/2022/msg00115.html>
- <https://lists.debian.org/debian-lts-announce/2022/05/msg00033.html>
- <https://security.netapp.com/advisory/ntap-20221007-0002/>
- <https://security.alpinelinux.org/vuln/CVE-2022-1664>
- <https://advisories.mageia.org/MGASA-2022-0327.html>
- <https://bugs.mageia.org/show_bug.cgi?id=30481>
- <https://www.debian.org/security/2022/dsa-5147>
- <https://ubuntu.com/security/notices/USN-5446-1>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20222689-1/>
- <https://bugzilla.suse.com/1199944>
- <https://www.suse.com/security/cve/CVE-2022-1664>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20224081-1/>
- <https://ubuntu.com/security/CVE-2022-1664>
- <https://ubuntu.com/security/notices/USN-5446-2>
- <https://www.cve.org/CVERecord?id=CVE-2022-1664>
- <https://security-tracker.debian.org/tracker/CVE-2022-1664>

---

Data as of 2026-12-05T02:49:32.915Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
