Mercurial is a distributed version-control system with a focused but prominent footprint in software development workflows, particularly where decentralized repository management is valued. Vulnerabilities affecting this vendor skew strongly toward critical-severity outcomes and frequently acquire public exploit code, with the exposure concentrating in the core mercurial product and recurring through weaknesses in input validation, path traversal, link following, OS command injection, and permission assignment—issues that reflect the risks inherent to file-handling and repository-parsing logic. Defenders should prioritize this vendor's security advisories despite its narrow product scope, given the severity profile and the role of version-control systems in the development supply chain; live exploitation and severity counts are shown alongside this summary.
The number and severity of CVEs published that impact products developed by Mercurial over time
Signals from CVEs in this vendor scope (19 CVEs).
19 CVEs · Highest risk first
| CVE | Published | CVSS | Risk | KEV | Exploit |
|---|---|---|---|---|---|
CVE-2014-9390CRITICAL Git before 1.8.5.6, 1.9.x before 1.9.5, 2.0.x before 2.0.5, 2.1.x before 2.1.4, and 2.2.x before 2.2.1 on Windows and OS X; Mercurial before 3.2.3 on Windows and OS X; Apple Xcode | Feb 12, 2020 | 9.8 | 76 | NO | YES |
CVE-2017-9462HIGH In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and consequently execute arbitrary code, by using --debugger as a rep | Jun 6, 2017 | 8.8 | 50 | NO | YES |
CVE-2017-17458CRITICAL In Mercurial before 4.4.1, it is possible that a specially malformed repository can cause Git subrepositories to run arbitrary code in the form of a .git/hooks/post-update script c | Dec 7, 2017 | 9.8 | 33 | NO | NO |
CVE-2018-13347CRITICAL mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002. | Jul 6, 2018 | 9.8 | 31 | NO | NO |
CVE-2017-1000116CRITICAL Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks. | Oct 5, 2017 | 9.8 | 31 | NO | NO |
CVE-2018-1000132CRITICAL Mercurial version 4.5 and earlier contains a Incorrect Access Control (CWE-285) vulnerability in Protocol server that can result in Unauthorized data access. This attack appear to | Mar 14, 2018 | 9.1 | 29 | NO | NO |
CVE-2016-3105HIGH The convert extension in Mercurial before 3.8 might allow context-dependent attackers to execute arbitrary code via a crafted git repository name. | May 9, 2016 | 8.8 | 29 | NO | NO |
CVE-2016-3068HIGH Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a crafted git ext:: URL when cloning a subrepository. | Apr 13, 2016 | 8.8 | 29 | NO | NO |
CVE-2018-17983CRITICAL cext/manifest.c in Mercurial before 4.7.2 has an out-of-bounds read during parsing of a malformed manifest entry. | Oct 4, 2018 | 9.1 | 28 | NO | NO |
CVE-2016-3069HIGH Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a crafted name when converting a Git repository. | Apr 13, 2016 | 8.8 | 28 | NO | NO |
Signals from CVEs in this vendor scope (19 CVEs).
An overview of all social media posts that mention a CVE ID that affects a product developed by Mercurial.
Media articles that mention a CVE ID that affects a product developed by Mercurial — matched by CVE ID, not by vendor name.