CVE-2019-18182
publishedpacman: allows arbitrary command injection in conf.c in download_with_xfercommand function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | edge | pacman | Fixed | 5.2.0-r0 | Package fix record |
| Alpine Linux | v3.11 | pacman | Fixed | 5.2.0-r0 | Package fix record |
| Alpine Linux | v3.12 | pacman | Fixed | 5.2.0-r0 | Package fix record |
| Alpine Linux | v3.13 | pacman | Fixed | 5.2.0-r0 | Package fix record |
| Alpine Linux | v3.14 | pacman | Fixed | 5.2.0-r0 | Package fix record |
| Alpine Linux | v3.15 | pacman | Fixed | 5.2.0-r0 | Package fix record |
| Alpine Linux | v3.16 | pacman | Fixed | 5.2.0-r0 | Package fix record |
Show 8 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.17 | pacman | Fixed | 5.2.0-r0 | Package fix record |
| Alpine Linux | v3.18 | pacman | Fixed | 5.2.0-r0 | Package fix record |
| Alpine Linux | v3.19 | pacman | Fixed | 5.2.0-r0 | Package fix record |
| Alpine Linux | v3.20 | pacman | Fixed | 5.2.0-r0 | Package fix record |
| Alpine Linux | v3.21 | pacman | Fixed | 5.2.0-r0 | Package fix record |
| Alpine Linux | v3.22 | pacman | Fixed | 5.2.0-r0 | Package fix record |
| Alpine Linux | v3.23 | pacman | Fixed | 5.2.0-r0 | Package fix record |
| Alpine Linux | v3.24 | pacman | Fixed | 5.2.0-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
6- https://git.archlinux.org/pacman.git/commit/?id=808a4f15ce82d2ed7eeb06de73d0f313620558ee
- https://git.archlinux.org/pacman.git/tree/src/pacman/conf.c?h=v5.1.3#n263
- https://github.com/alpinelinux/alpine-secdb/blob/master/v3.11/community.yaml
- FEDORA-2020-781d0b2efe https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2TTUXXUW5OCOASIRMJK4RHEPLEA33Y6C/
- FEDORA-2020-096fbcc91f https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K53C45EDWBU3UCN3IRIGR5EZUNWXS7BW/
- FEDORA-2020-419a75aef6 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KIDJ4XKBZRRVRFFGKUA3ZU6NFIP5JUG3/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 122d8e94b30b4a58f90d9397a6f045a7ab482a87e7d1384df83bbe5e4a523e7b
- Ingested
- 23 Sep 2026, 07:46:20 UTC
- Source record
- Official CVE record