Home / Pacman Project / Pacman / CVE-2019-9686
CVE-2019-9686: is it exploited, and which versions of Pacman Project Pacman are affected and fixed?
CVE-2019-9686 is a path traversal (reading or writing files outside the intended folder) vulnerability in Pacman Project Pacman. 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, 07:38 UTC). Affected: pacman before 5.1.3 (NVD). Fixed in 5.1.3 (NVD). Severity: High (8.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:24 UTC.
What is CVE-2019-9686?
pacman before 5.1.3 allows directory traversal when installing a remote package via a specified URL "pacman -U <url>" due to an unsanitized file name received from a Content-Disposition header. pacman renames the downloaded package file to match the name given in this header. However, pacman did not sanitize this name, which may contain slashes, before calling rename(). A malicious server (or a network MitM if downloading over HTTP) can send a Content-Disposition header to make pacman place the file anywhere in the filesystem, potentially leading to arbitrary root code execution. Notably, this bypasses pacman's package signature checking. This occurs in curl_download_internal in lib/libalpm/dload.c.
From the CVE record by mitre, last updated August 4, 2024, 21:54 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| pacman project | pacman | before 5.1.3 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:44 UTC.
How severe is CVE-2019-9686?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
| High 9.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:C/I:C/A:C | 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-2019-9686 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.38% probability of exploitation activity in the next 30 days, percentile 89.1 (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.archlinux.org/pacman.git/commit/?id=d197d8ab82cf10650487518fb968067897a12775 x_refsource_MISC
- https://git.archlinux.org/pacman.git/commit/?h=release/5.1.x&id=1bf767234363f7ad5933af3f7ce267c123017bde x_refsource_MISC
- https://git.archlinux.org/pacman.git/commit/?id=9702703633bec2c007730006de2aeec8587dfc84 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- March 11, 2019
- Published
- March 11, 2019, 16:00 UTC
- CVE record updated
- August 4, 2024, 21:54 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 02:44 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:24 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Pacman?
- Feb 24, 2020CVE-2019-18182 Pacman Project Pacman: OS command injection
- Feb 24, 2020CVE-2019-18183 Pacman Project Pacman: OS command injection
- Jan 30, 2017CVE-2016-5434 Pacman Project Pacman: out-of-bounds read
Questions about CVE-2019-9686
Is CVE-2019-9686 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 3.38% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Pacman Project Pacman are affected by CVE-2019-9686?
pacman before 5.1.3, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2019-9686?
5.1.3, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-9686?
High (8.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2019-9686?
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.