Debian Mercurial vulnerabilities
20 known vulnerabilities affecting debian/mercurial.
Total CVEs
20
CISA KEV
0
Public exploits
2
Exploited in wild
0
Severity breakdown
CRITICAL5HIGH9MEDIUM2LOW4
Vulnerabilities
Page 1 of 1
CVE-2025-2361MEDIUMCVSS 5.3fixed in mercurial 6.3.2-1+deb12u1 (bookworm)2025
CVE-2025-2361 [MEDIUM] CVE-2025-2361: mercurial - A vulnerability was found in Mercurial SCM 4.5.3/71.19.145.211. It has been decl...
A vulnerability was found in Mercurial SCM 4.5.3/71.19.145.211. It has been declared as problematic. This vulnerability affects unknown code of the component Web Interface. The manipulation of the argument cmd leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted
debian
CVE-2019-3902MEDIUMCVSS 5.1fixed in mercurial 4.9-1 (bookworm)2019
CVE-2019-3902 [MEDIUM] CVE-2019-3902: mercurial - A flaw was found in Mercurial before 4.9. It was possible to use symlinks and su...
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.
Scope: local
bookworm: resolved (fixed in 4.9-1)
bullseye: resolved (fixed in 4.9-1)
forky: resolved (fixed in 4.9-1)
sid: resolved (fixed in 4.9-1)
trixie: resolved (fixed in 4.9-1)
debian
CVE-2018-13347CRITICALCVSS 9.8fixed in mercurial 4.6.1-1 (bookworm)2018
CVE-2018-13347 [CRITICAL] CVE-2018-13347: mercurial - mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, ...
mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002.
Scope: local
bookworm: resolved (fixed in 4.6.1-1)
bullseye: resolved (fixed in 4.6.1-1)
forky: resolved (fixed in 4.6.1-1)
sid: resolved (fixed in 4.6.1-1)
trixie: resolved (fixed in 4.6.1-1)
debian
CVE-2018-1000132CRITICALCVSS 9.1fixed in mercurial 4.5.2-1 (bookworm)2018
CVE-2018-1000132 [CRITICAL] CVE-2018-1000132: mercurial - Mercurial version 4.5 and earlier contains a Incorrect Access Control (CWE-285) ...
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 be exploitable via network connectivity. This vulnerability appears to have been fixed in 4.5.1.
Scope: local
bookworm: resolved (fixed in 4.5.2-1)
bullseye: resolved (fixed in 4
debian
CVE-2018-13348HIGHCVSS 7.5fixed in mercurial 4.6.1-1 (bookworm)2018
CVE-2018-13348 [HIGH] CVE-2018-13348: mercurial - The mpatch_decode function in mpatch.c in Mercurial before 4.6.1 mishandles cert...
The mpatch_decode function in mpatch.c in Mercurial before 4.6.1 mishandles certain situations where there should be at least 12 bytes remaining after the current position in the patch data, but actually are not, aka OVE-20180430-0001.
Scope: local
bookworm: resolved (fixed in 4.6.1-1)
bullseye: resolved (fixed in 4.6.1-1)
forky: resolved (fixed in 4.6.1-1)
sid: r
debian
CVE-2018-13346HIGHCVSS 7.5fixed in mercurial 4.6.1-1 (bookworm)2018
CVE-2018-13346 [HIGH] CVE-2018-13346: mercurial - The mpatch_apply function in mpatch.c in Mercurial before 4.6.1 incorrectly proc...
The mpatch_apply function in mpatch.c in Mercurial before 4.6.1 incorrectly proceeds in cases where the fragment start is past the end of the original data, aka OVE-20180430-0004.
Scope: local
bookworm: resolved (fixed in 4.6.1-1)
bullseye: resolved (fixed in 4.6.1-1)
forky: resolved (fixed in 4.6.1-1)
sid: resolved (fixed in 4.6.1-1)
trixie: resolved (fixed in 4.
debian
CVE-2018-17983LOWCVSS 9.1fixed in mercurial 4.7.2-1 (bookworm)2018
CVE-2018-17983 [CRITICAL] CVE-2018-17983: mercurial - cext/manifest.c in Mercurial before 4.7.2 has an out-of-bounds read during parsi...
cext/manifest.c in Mercurial before 4.7.2 has an out-of-bounds read during parsing of a malformed manifest entry.
Scope: local
bookworm: resolved (fixed in 4.7.2-1)
bullseye: resolved (fixed in 4.7.2-1)
forky: resolved (fixed in 4.7.2-1)
sid: resolved (fixed in 4.7.2-1)
trixie: resolved (fixed in 4.7.2-1)
debian
CVE-2017-17458CRITICALCVSS 9.8fixed in mercurial 4.4.1-1 (bookworm)2017
CVE-2017-17458 [CRITICAL] CVE-2017-17458: mercurial - In Mercurial before 4.4.1, it is possible that a specially malformed repository ...
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 checked into the repository. Typical use of Mercurial prevents construction of such repositories, but they can be created programmatically.
Scope: local
bookworm: resolved (fixed in 4
debian
CVE-2017-1000116CRITICALCVSS 9.8fixed in mercurial 4.3.1-1 (bookworm)2017
CVE-2017-1000116 [CRITICAL] CVE-2017-1000116: mercurial - Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, lead...
Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks.
Scope: local
bookworm: resolved (fixed in 4.3.1-1)
bullseye: resolved (fixed in 4.3.1-1)
forky: resolved (fixed in 4.3.1-1)
sid: resolved (fixed in 4.3.1-1)
trixie: resolved (fixed in 4.3.1-1)
debian
CVE-2017-1000115HIGHCVSS 7.5fixed in mercurial 4.3.1-1 (bookworm)2017
CVE-2017-1000115 [HIGH] CVE-2017-1000115: mercurial - Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can...
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
Scope: local
bookworm: resolved (fixed in 4.3.1-1)
bullseye: resolved (fixed in 4.3.1-1)
forky: resolved (fixed in 4.3.1-1)
sid: resolved (fixed in 4.3.1-1)
trixie: resolved (fixed in 4.3.1-1)
debian
CVE-2017-9462HIGHCVSS 8.8PoCfixed in mercurial 4.3.1-1 (bookworm)2017
CVE-2017-9462 [HIGH] CVE-2017-9462: mercurial - In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users ...
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 repository name.
Scope: local
bookworm: resolved (fixed in 4.3.1-1)
bullseye: resolved (fixed in 4.3.1-1)
forky: resolved (fixed in 4.3.1-1)
sid: resolved (fixed in 4.3.1-1)
trixie: resolved
debian
CVE-2016-3105HIGHCVSS 8.8fixed in mercurial 3.8.1-1 (bookworm)2016
CVE-2016-3105 [HIGH] CVE-2016-3105: mercurial - The convert extension in Mercurial before 3.8 might allow context-dependent atta...
The convert extension in Mercurial before 3.8 might allow context-dependent attackers to execute arbitrary code via a crafted git repository name.
Scope: local
bookworm: resolved (fixed in 3.8.1-1)
bullseye: resolved (fixed in 3.8.1-1)
forky: resolved (fixed in 3.8.1-1)
sid: resolved (fixed in 3.8.1-1)
trixie: resolved (fixed in 3.8.1-1)
debian
CVE-2016-3069HIGHCVSS 8.8fixed in mercurial 3.7.3-1 (bookworm)2016
CVE-2016-3069 [HIGH] CVE-2016-3069: mercurial - Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a c...
Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a crafted name when converting a Git repository.
Scope: local
bookworm: resolved (fixed in 3.7.3-1)
bullseye: resolved (fixed in 3.7.3-1)
forky: resolved (fixed in 3.7.3-1)
sid: resolved (fixed in 3.7.3-1)
trixie: resolved (fixed in 3.7.3-1)
debian
CVE-2016-3068HIGHCVSS 8.8fixed in mercurial 3.7.3-1 (bookworm)2016
CVE-2016-3068 [HIGH] CVE-2016-3068: mercurial - Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a c...
Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a crafted git ext:: URL when cloning a subrepository.
Scope: local
bookworm: resolved (fixed in 3.7.3-1)
bullseye: resolved (fixed in 3.7.3-1)
forky: resolved (fixed in 3.7.3-1)
sid: resolved (fixed in 3.7.3-1)
trixie: resolved (fixed in 3.7.3-1)
debian
CVE-2016-3630HIGHCVSS 8.8fixed in mercurial 3.7.3-1 (bookworm)2016
CVE-2016-3630 [HIGH] CVE-2016-3630: mercurial - The binary delta decoder in Mercurial before 3.7.3 allows remote attackers to ex...
The binary delta decoder in Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a (1) clone, (2) push, or (3) pull command, related to (a) a list sizing rounding error and (b) short records.
Scope: local
bookworm: resolved (fixed in 3.7.3-1)
bullseye: resolved (fixed in 3.7.3-1)
forky: resolved (fixed in 3.7.3-1)
sid: resolved (fixed in 3.7.
debian
CVE-2014-9390CRITICALCVSS 9.8PoCfixed in dulwich 0.10.1-1 (bookworm)2014
CVE-2014-9390 [CRITICAL] CVE-2014-9390: dulwich - 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, ...
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 before 6.2 beta 3; mine all versions before 08-12-2014; libgit2 all versions up to 0.21.2; Egit all versions before 08-12-2014; and JGit all versions before 08-12-2014 allow remote Git s
debian
CVE-2014-9462HIGHCVSS 7.5fixed in mercurial 3.4-1 (bookworm)2014
CVE-2014-9462 [HIGH] CVE-2014-9462: mercurial - The _validaterepo function in sshpeer in Mercurial before 3.2.4 allows remote at...
The _validaterepo function in sshpeer in Mercurial before 3.2.4 allows remote attackers to execute arbitrary commands via a crafted repository name in a clone command.
Scope: local
bookworm: resolved (fixed in 3.4-1)
bullseye: resolved (fixed in 3.4-1)
forky: resolved (fixed in 3.4-1)
sid: resolved (fixed in 3.4-1)
trixie: resolved (fixed in 3.4-1)
debian
CVE-2010-4237LOWCVSS 5.9fixed in mercurial 1.6.4-1 (bookworm)2010
CVE-2010-4237 [MEDIUM] CVE-2010-4237: mercurial - Mercurial before 1.6.4 fails to verify the Common Name field of SSL certificates...
Mercurial before 1.6.4 fails to verify the Common Name field of SSL certificates which allows remote attackers who acquire a certificate signed by a Certificate Authority to perform a man-in-the-middle attack.
Scope: local
bookworm: resolved (fixed in 1.6.4-1)
bullseye: resolved (fixed in 1.6.4-1)
forky: resolved (fixed in 1.6.4-1)
sid: resolved (fixed in 1.6.4-1)
debian
CVE-2008-4297LOWCVSS 5.0fixed in mercurial 1.0.1-5.1 (bookworm)2008
CVE-2008-4297 [MEDIUM] CVE-2008-4297: mercurial - Mercurial before 1.0.2 does not enforce the allowpull permission setting for a p...
Mercurial before 1.0.2 does not enforce the allowpull permission setting for a pull operation from hgweb, which allows remote attackers to read arbitrary files from a repository via an "hg pull" request.
Scope: local
bookworm: resolved (fixed in 1.0.1-5.1)
bullseye: resolved (fixed in 1.0.1-5.1)
forky: resolved (fixed in 1.0.1-5.1)
sid: resolved (fixed in 1.0.1-5.
debian
CVE-2008-2942LOWCVSS 6.8fixed in mercurial 1.0.1-2 (bookworm)2008
CVE-2008-2942 [MEDIUM] CVE-2008-2942: mercurial - Directory traversal vulnerability in patch.py in Mercurial 1.0.1 allows user-ass...
Directory traversal vulnerability in patch.py in Mercurial 1.0.1 allows user-assisted attackers to modify arbitrary files via ".." (dot dot) sequences in a patch file.
Scope: local
bookworm: resolved (fixed in 1.0.1-2)
bullseye: resolved (fixed in 1.0.1-2)
forky: resolved (fixed in 1.0.1-2)
sid: resolved (fixed in 1.0.1-2)
trixie: resolved (fixed in 1.0.1-2)
debian