Home / Mercurial / Mercurial / CVE-2016-3069
CVE-2016-3069: is it exploited, and which versions of Mercurial are affected and fixed?
CVE-2016-3069 is an improper input validation vulnerability in Mercurial. 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, 06:38 UTC). Affected: mercurial before 3.7.3 (GitHub advisory GHSA-8fm8-7365-5rh2). Fixed in 3.7.3 (GitHub advisory GHSA-8fm8-7365-5rh2). Severity: High (8.8, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:45 UTC.
What is CVE-2016-3069?
Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a crafted name when converting a Git repository.
From the CVE record by redhat, last updated August 5, 2024, 23:40 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | mercurial | < 3.7.3 | 3.7.3 | GHSA-8fm8-7365-5rh2 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 24, 2024. Summary: Mercurial vulnerable to arbitrary code execution via a crafted name when converting a Git repository.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| mercurial | mercurial | through 3.7.2 | application |
| debian | debian linux | 7.0 | operating system |
| debian | debian linux | 8.0 | operating system |
| suse | linux enterprise debuginfo | 11 | application |
| opensuse | opensuse | 13.2 | operating system |
| suse | linux enterprise software development kit | 11 | operating system |
| suse | linux enterprise software development kit | 12 | operating system |
| opensuse | leap | 42.1 | operating system |
| fedoraproject | fedora | 22 | operating system |
| fedoraproject | fedora | 23 | operating system |
| redhat | enterprise linux desktop | 7.0 | operating system |
| redhat | enterprise linux hpc node | 7.0 | operating system |
| redhat | enterprise linux hpc node eus | 7.2 | operating system |
| redhat | enterprise linux server | 7.0 | operating system |
| redhat | enterprise linux server aus | 7.2 | operating system |
| redhat | enterprise linux server eus | 7.2 | operating system |
| redhat | enterprise linux workstation | 7.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 00:44 UTC.
How severe is CVE-2016-3069?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/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-2016-3069 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.95% probability of exploitation activity in the next 30 days, percentile 92.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- FEDORA-2016-79604dde9f vendor-advisory, x_refsource_FEDORA
- GLSA-201612-19 vendor-advisory, x_refsource_GENTOO
- DSA-3542 vendor-advisory, x_refsource_DEBIAN
- https://selenic.com/repo/hg-stable/rev/b732e7f2aba4 x_refsource_CONFIRM
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html x_refsource_CONFIRM
- https://selenic.com/repo/hg-stable/rev/197eed39e3d5 x_refsource_CONFIRM
- openSUSE-SU-2016:1016 vendor-advisory, x_refsource_SUSE
- https://selenic.com/repo/hg-stable/rev/cdda7b96afff x_refsource_CONFIRM
- RHSA-2016:0706 vendor-advisory, x_refsource_REDHAT
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_3.7.3_.282016-3-29.29 x_refsource_CONFIRM
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html x_refsource_CONFIRM
- https://selenic.com/repo/hg-stable/rev/80cac1de6aea x_refsource_CONFIRM
- SUSE-SU-2016:1011 vendor-advisory, x_refsource_SUSE
- SUSE-SU-2016:1010 vendor-advisory, x_refsource_SUSE
- FEDORA-2016-b7f1f8e3bf vendor-advisory, x_refsource_FEDORA
- https://selenic.com/repo/hg-stable/rev/ae279d4a19e9 x_refsource_CONFIRM
- openSUSE-SU-2016:1073 vendor-advisory, x_refsource_SUSE
When was it published, and where is the official record?
- Reserved
- March 10, 2016
- Published
- April 13, 2016, 16:00 UTC
- CVE record updated
- August 5, 2024, 23:40 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 00:44 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:45 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Mercurial?
- Feb 12, 2020CVE-2014-9390 Git-scm Git: improper input validation
- Oct 29, 2019CVE-2010-4237 mercurial: improper certificate validation
- Oct 4, 2018CVE-2018-17983 Mercurial: out-of-bounds read
- Jul 6, 2018CVE-2018-13348 Mercurial: improper input validation
- Jul 6, 2018CVE-2018-13347 Mercurial: integer overflow
- Jul 6, 2018CVE-2018-13346 Mercurial: improper input validation
- Mar 14, 2018CVE-2018-1000132 Mercurial: incorrect permissions on a critical resource
- Dec 7, 2017CVE-2017-17458 Mercurial: OS command injection
Questions about CVE-2016-3069
Is CVE-2016-3069 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 4.95% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Mercurial are affected by CVE-2016-3069?
mercurial before 3.7.3, per the GitHub advisory GHSA-8fm8-7365-5rh2. The tables above give every range the sources list.
Which version fixes CVE-2016-3069?
3.7.3, per the GitHub advisory GHSA-8fm8-7365-5rh2. Check the vendor's advisory before you rely on it.
How severe is CVE-2016-3069?
High (8.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-3069?
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.