
CVE catalog
CVE-2019-3902
mercurial: CVE-2019-3902
- Severity
- Medium · CVSS 5
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.37% · Oct 25, 2026
A flaw was found in Mercurial before 4.9. It was possible to use symlinks and subrepositories to defeat Mercurial's path-checking logic and write files outside a repository.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | mercurial | sid | 7.2.4-2 | fixed |
| Debian | mercurial | forky | 7.2.4-2 | fixed |
| Debian | mercurial | trixie | 7.0.1-2 | fixed |
| Debian | mercurial | bookworm | 6.3.2-1+deb12u1 | fixed |
| Debian | mercurial | bookworm-security | 6.3.2-1+deb12u1 | fixed |
| Alpine | mercurial | 3.10 | 4.9-r0 | fixed |
| Alpine | mercurial | 3.11 | 4.9-r0 | fixed |
| Alpine | mercurial | 3.12 | 4.9-r0 | fixed |
| Alpine | mercurial | 3.13 | 4.9-r0 | fixed |
| Alpine | mercurial | 3.7 | 4.5.2-r1 | fixed |
| Alpine | mercurial | 3.8 | 4.6.1-r1 | fixed |
| Alpine | mercurial | 3.9 | 4.9-r0 | fixed |
| Ubuntu | mercurial | pro | 3.4-1ubuntu2 | vulnerable |
| Ubuntu | mercurial | pro | 3.6.2-1ubuntu2 | vulnerable |
| Ubuntu | mercurial | pro | 3.7.3-1ubuntu1 | vulnerable |
| Ubuntu | mercurial | pro | 3.7.3-1ubuntu1.1 | vulnerable |
| Ubuntu | mercurial | pro | 3.7.3-1ubuntu1.2 | vulnerable |
| Ubuntu | mercurial | pro | 3.7.3-1ubuntu1.2+esm2 | fixed |
| Ubuntu | mercurial | 18.04 | 4.3.1-2 | vulnerable |
| Ubuntu | mercurial | 18.04 | 4.5-1ubuntu1 | vulnerable |
| Ubuntu | mercurial | 18.04 | 4.5.2-0ubuntu2 | vulnerable |
| Ubuntu | mercurial | 18.04 | 4.5.3-1ubuntu2 | vulnerable |
| Ubuntu | mercurial | 18.04 | 4.5.3-1ubuntu2.1 | vulnerable |
| Ubuntu | mercurial | 18.04 | 4.5.3-1ubuntu2.2 | fixed |
| Suse | mercurial | linux enterprise module for python 2 15 sp1 | 4.5.2-3.9.44 | fixed |
| Opensuse | mercurial | leap 15.2 | 4.5.2-lp152.7.3.1 | fixed |
| Opensuse | mercurial | leap 15.1 | 4.5.2-lp151.6.3.1 | fixed |
| Suse | mercurial | linux enterprise software development kit 12 sp5 | 2.8.2-15.18.4 | fixed |
| Suse | mercurial | linux enterprise module for python 2 15 sp2 | 4.5.2-3.9.44 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | mercurial | source | sid | 4.9-1 | not yet assigned | Not reported | [927674] |
| Debian | mercurial | source | forky | 4.9-1 | not yet assigned | Not reported | [927674] |
| Debian | mercurial | source | trixie | 4.9-1 | not yet assigned | Not reported | [927674] |
| Debian | mercurial | source | bookworm | 4.9-1 | not yet assigned | Not reported | [927674] |
| Alpine | mercurial | apk | 3.10 | 4.9-r0 | Not reported | ALPINE-CVE-2019-3902 | Not reported |
| Alpine | mercurial | apk | 3.11 | 4.9-r0 | Not reported | ALPINE-CVE-2019-3902 | Not reported |
| Alpine | mercurial | apk | 3.12 | 4.9-r0 | Not reported | ALPINE-CVE-2019-3902 | Not reported |
| Alpine | mercurial | apk | 3.13 | 4.9-r0 | Not reported | ALPINE-CVE-2019-3902 | Not reported |
| Alpine | mercurial | apk | 3.7 | 4.5.2-r1 | Not reported | ALPINE-CVE-2019-3902 | Not reported |
| Alpine | mercurial | apk | 3.8 | 4.6.1-r1 | Not reported | ALPINE-CVE-2019-3902 | Not reported |
| Alpine | mercurial | apk | 3.9 | 4.9-r0 | Not reported | ALPINE-CVE-2019-3902 | Not reported |
| Ubuntu | mercurial | deb | pro | 3.7.3-1ubuntu1.2+esm2 | Not reported | UBUNTU-CVE-2019-3902 | Not reported |
| Ubuntu | mercurial | deb | 18.04 | 4.5.3-1ubuntu2.2 | Not reported | UBUNTU-CVE-2019-3902 | Not reported |
| Suse | mercurial | rpm | linux enterprise module for python 2 15 sp1 | 4.5.2-3.9.44 | Not reported | SUSE-SU-2020:1709-1 | Not reported |
| Opensuse | mercurial | rpm | leap 15.2 | 4.5.2-lp152.7.3.1 | Not reported | OPENSUSE-SU-2020:0880-1 | Not reported |
| Opensuse | mercurial | rpm | leap 15.1 | 4.5.2-lp151.6.3.1 | Not reported | OPENSUSE-SU-2020:0869-1 | Not reported |
| Suse | mercurial | rpm | linux enterprise software development kit 12 sp5 | 2.8.2-15.18.4 | Not reported | SUSE-SU-2020:3003-1 | Not reported |
| Suse | mercurial | rpm | linux enterprise module for python 2 15 sp2 | 4.5.2-3.9.44 | Not reported | SUSE-SU-2020:1709-2 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [mercurial]Fixed
Details (4)
6.3.2-1+deb12u1· amd64 · bookwormFixed · Fixed:
4.9-1dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
6.3.2-1+deb12u1· arm64 · bookwormFixed · Fixed:
4.9-1dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
6.3.2-1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
4.9-1dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
6.3.2-1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
4.9-1dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
- [mercurial-common]Fixed
Source package: [mercurial]
Details (4)
6.3.2-1+deb12u1· all · bookwormFixed · Fixed:
4.9-1dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
6.3.2-1+deb12u1· all · bookwormFixed · Fixed:
4.9-1dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
6.3.2-1+deb12u1· all · bookworm-securityFixed · Fixed:
4.9-1dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
6.3.2-1+deb12u1· all · bookworm-securityFixed · Fixed:
4.9-1dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
[Debian 13 (Trixie)]
- [mercurial]Fixed
Details (2)
7.0.1-2· amd64 · trixieFixed · Fixed:
4.9-1dsa · mercurial · debian · 13
7.0.1-2· arm64 · trixieFixed · Fixed:
4.9-1dsa · mercurial · debian · 13
- [mercurial-common]Fixed
Source package: [mercurial]
Details (2)
7.0.1-2· all · trixieFixed · Fixed:
4.9-1dsa · mercurial · debian · 13
7.0.1-2· all · trixieFixed · Fixed:
4.9-1dsa · mercurial · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2020_1709-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2019-3902]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2019-3902]
- [https://osv.dev/vulnerability/DLA-1764-1]
- [https://osv.dev/vulnerability/SUSE-SU-2020:1709-1]
- [https://osv.dev/vulnerability/SUSE-SU-2020:1709-2]
- [https://osv.dev/vulnerability/SUSE-SU-2020:3003-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2019-3902]
- [https://osv.dev/vulnerability/openSUSE-SU-2020:0869-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2020:0880-1]
- [https://security-tracker.debian.org/tracker/CVE-2019-3902]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]