Home / Debian / dpkg / CVE-2022-1664
CVE-2022-1664: is it exploited, and which versions of Debian dpkg are affected and fixed?
CVE-2022-1664 is a path traversal (reading or writing files outside the intended folder) vulnerability in Debian dpkg. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: dpkg from 1.14.17 before 1.21.8 (CVE record by debian). Fixed in 1.21.8, 1.20.10, 1.19.8 and 1.18.26 (CVE record by debian). Severity: Critical (9.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:48 UTC.
What is CVE-2022-1664?
directory traversal for in-place extracts with untrusted v2 and v3 source packages with debian.tar
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.
From the CVE record by debian, last updated September 17, 2024, 02:16 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Debian | dpkg | from 1.14.17 before 1.21.8 | 1.21.8, 1.20.10, 1.19.8, 1.18.26 |
As the CVE record by debian states it, last updated September 17, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| debian | dpkg | from 1.14.17 before 1.18.26 | application |
| debian | dpkg | from 1.19.0 before 1.19.8 | application |
| debian | dpkg | from 1.20.0 before 1.20.10 | application |
| debian | dpkg | from 1.21.0 before 1.21.8 | application |
| debian | debian linux | 9.0 | operating system |
| debian | debian linux | 10.0 | operating system |
| debian | debian linux | 11.0 | operating system |
| netapp | ontap select deploy administration utility | all versions | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:22 UTC.
How severe is CVE-2022-1664?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-1664 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.21% probability of exploitation activity in the next 30 days, percentile 88.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- 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/
When was it published, and where is the official record?
- Reserved
- May 10, 2022
- Published
- May 26, 2022, 08:20 UTC
- CVE record updated
- September 17, 2024, 02:16 UTC by debian
- NVD
- Modified, last modified June 17, 2026, 04:22 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:48 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect dpkg?
- Nov 13, 2026CVE-2026-91094 Debian dpkg: path traversal (reading or writing files outside the intended folder)
- Mar 7, 2026CVE-2026-2219 Debian dpkg: infinite loop (denial of service)
- Jul 1, 2025CVE-2025-6297 Debian dpkg: incorrect permissions on a critical resource
- Apr 26, 2017CVE-2017-8283 Debian Dpkg: path traversal (reading or writing files outside the intended folder)
- Dec 3, 2015CVE-2015-0860 Canonical Ubuntu Linux: n/a
- Apr 13, 2015CVE-2015-0840 Debian Dpkg: improper access control
- Jan 20, 2015CVE-2014-8625 Debian Dpkg: format string flaw
- May 30, 2014CVE-2014-3227 Debian Dpkg: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2022-1664
Is CVE-2022-1664 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 3.21% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Debian dpkg are affected by CVE-2022-1664?
dpkg from 1.14.17 before 1.21.8, per the CVE record by debian. The tables above give every range the sources list.
Which version fixes CVE-2022-1664?
1.21.8, 1.20.10, 1.19.8 and 1.18.26, per the CVE record by debian. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-1664?
Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2022-1664?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.