CVE-2019-18182
pacman before 5.2 is vulnerable to arbitrary command injection in conf.c in the...
CVE-2019-18182 is a critical vulnerability (CVSS 9.8) in Pacman Project Pacman, published February 24, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.67%, the 89th percentile. Fixed in pacman 5.2.0-r0.
- Severity
- 9.8 CriticalCVSS 3.1, NVD
- Exploit chance
- 3.67%EPSS, 89th percentile
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
5.2.0-r0pacman +13 more
Description
pacman before 5.2 is vulnerable to arbitrary command injection in conf.c in the download_with_xfercommand() function. This can be exploited when unsigned databases are used. To exploit the vulnerability, the user must enable a non-default XferCommand and retrieve an attacker-controlled crafted database and package.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
pacmanAlpine:v3.11 | before 5.2.0-r0 | 5.2.0-r0 |
pacmanAlpine:v3.12 | before 5.2.0-r0 | 5.2.0-r0 |
pacmanAlpine:v3.13 | before 5.2.0-r0 | 5.2.0-r0 |
pacmanAlpine:v3.14 | before 5.2.0-r0 | 5.2.0-r0 |
pacmanAlpine:v3.15 | before 5.2.0-r0 | 5.2.0-r0 |
pacmanAlpine:v3.16 | before 5.2.0-r0 | 5.2.0-r0 |
pacmanAlpine:v3.17 | before 5.2.0-r0 | 5.2.0-r0 |
pacmanAlpine:v3.18 | before 5.2.0-r0 | 5.2.0-r0 |
pacmanAlpine:v3.19 | before 5.2.0-r0 | 5.2.0-r0 |
pacmanAlpine:v3.20 | before 5.2.0-r0 | 5.2.0-r0 |
What each source reports
NVD Score used 9.8
pacman before 5.2 is vulnerable to arbitrary command injection in conf.c in the download_with_xfercommand() function. This can be exploited when unsigned databases are used. To exploit the vulnerability, the user must enable a non-default XferCommand and retrieve an attacker-controlled crafted database and package.
- Record
CVE-2019-18182- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-78
- Updated
- 2026-11-02
CVE ListNo score
pacman before 5.2 is vulnerable to arbitrary command injection in conf.c in the download_with_xfercommand() function. This can be exploited when unsigned databases are used. To exploit the vulnerability, the user must enable a non-default XferCommand and retrieve an attacker-controlled crafted database and package.
- Record
CVE-2019-18182- Updated
- 2026-11-02
EUVDEUVD-2019-7987No score
pacman before 5.2 is vulnerable to arbitrary command injection in conf.c in the download_with_xfercommand() function. This can be exploited when unsigned databases are used. To exploit the vulnerability, the user must enable a non-default XferCommand and retrieve an attacker-controlled crafted database and package.
- Record
EUVD-2019-7987- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-f94h-gmg7-c6gwNo score
pacman before 5.2 is vulnerable to arbitrary command injection in conf.c in the...
pacman before 5.2 is vulnerable to arbitrary command injection in conf.c in the download_with_xfercommand() function. This can be exploited when unsigned databases are used. To exploit the vulnerability, the user must enable a non-default XferCommand and retrieve an attacker-controlled crafted database and package.
- Record
GHSA-f94h-gmg7-c6gw- Weakness
- CWE-78
- Updated
- 2026-11-02
OSVALPINE-CVE-2019-18182 9.8
pacman before 5.2 is vulnerable to arbitrary command injection in conf.c in the download_with_xfercommand() function. This can be exploited when unsigned databases are used. To exploit the vulnerability, the user must enable a non-default XferCommand and retrieve an attacker-controlled crafted database and package.
- Record
ALPINE-CVE-2019-18182- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | ||
| affected, aliases, facts, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
git.archlinux.org/pacman.git/tree/src/pacman/conf.c?h=v5.1.3
git.archlinux.org/pacman.git/commit?id=808a4f15ce82d2ed7eeb06de73d0f313620558ee
github.com/alpinelinux/alpine-secdb/blob/master/v3.11/community.yaml
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K53C45EDWBU3UCN3IRIGR5EZUNWXS7BW
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2TTUXXUW5OCOASIRMJK4RHEPLEA33Y6C
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KIDJ4XKBZRRVRFFGKUA3ZU6NFIP5JUG3
Show 6 moreShow less
nvd.nist.gov/vuln/detail/CVE-2019-18182
lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2TTUXXUW5OCOASIRMJK4RHEPLEA33Y6C
lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/K53C45EDWBU3UCN3IRIGR5EZUNWXS7BW
lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KIDJ4XKBZRRVRFFGKUA3ZU6NFIP5JUG3
github.com/advisories/GHSA-f94h-gmg7-c6gw
security.alpinelinux.org/vuln/CVE-2019-18182