Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/mercurial@3.8rc0
purl pkg:pypi/mercurial@3.8rc0
Tags Ghost
Next non-vulnerable version 4.9
Latest non-vulnerable version 4.9
Risk 10.0
Vulnerabilities affecting this package (10)
Vulnerability Summary Fixed by
VCID-1kmd-1kun-qbdd
Aliases:
CVE-2018-13346
GHSA-9xv4-r2hf-26gh
PYSEC-2018-88
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.
4.6.1
Affected by 2 other vulnerabilities.
VCID-7vwz-hbq8-c7dr
Aliases:
CVE-2017-9462
GHSA-ghjx-3jg5-h6r2
PYSEC-2017-91
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.
4.1.3
Affected by 9 other vulnerabilities.
VCID-bahp-n5dx-2qeg
Aliases:
CVE-2018-1000132
GHSA-4mr4-7vjv-9hm6
PYSEC-2018-87
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.
4.5.1
Affected by 5 other vulnerabilities.
VCID-ck6k-4bcg-6faq
Aliases:
CVE-2017-1000116
GHSA-3qmg-c9vc-r47j
PYSEC-2017-89
Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks.
4.3
Affected by 8 other vulnerabilities.
VCID-hhwu-knps-qqfw
Aliases:
CVE-2018-13347
GHSA-3mjj-mr4f-qxmx
PYSEC-2018-89
mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002.
4.6.1
Affected by 2 other vulnerabilities.
VCID-nruh-my9y-jqfj
Aliases:
CVE-2017-17458
GHSA-6v56-cpg6-3rpx
PYSEC-2017-90
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.
4.4.1
Affected by 6 other vulnerabilities.
VCID-t9gd-va4q-a3ga
Aliases:
CVE-2018-17983
GHSA-p575-cf9h-wv42
PYSEC-2018-91
cext/manifest.c in Mercurial before 4.7.2 has an out-of-bounds read during parsing of a malformed manifest entry.
4.7.2
Affected by 1 other vulnerability.
VCID-v91s-ety2-x7au
Aliases:
CVE-2018-13348
GHSA-3v62-ww8w-758m
PYSEC-2018-90
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.
4.6.1
Affected by 2 other vulnerabilities.
VCID-z346-9s62-afaz
Aliases:
CVE-2019-3902
GHSA-mq66-vcfc-8246
PYSEC-2019-188
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.
4.9
Affected by 0 other vulnerabilities.
VCID-z59g-jz53-cudb
Aliases:
CVE-2017-1000115
GHSA-hvr9-wr9p-grgr
PYSEC-2017-88
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
4.3
Affected by 8 other vulnerabilities.
4.3.1
Affected by 7 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-01T15:00:50.158592+00:00 PyPI Importer Affected by VCID-z346-9s62-afaz https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:00:26.706009+00:00 PyPI Importer Affected by VCID-t9gd-va4q-a3ga https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:00:21.336189+00:00 PyPI Importer Affected by VCID-v91s-ety2-x7au https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:00:20.769658+00:00 PyPI Importer Affected by VCID-1kmd-1kun-qbdd https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:00:20.202771+00:00 PyPI Importer Affected by VCID-hhwu-knps-qqfw https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:00:13.360600+00:00 PyPI Importer Affected by VCID-bahp-n5dx-2qeg https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:00:07.560998+00:00 PyPI Importer Affected by VCID-nruh-my9y-jqfj https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:00:02.020831+00:00 PyPI Importer Affected by VCID-ck6k-4bcg-6faq https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:00:01.513263+00:00 PyPI Importer Affected by VCID-z59g-jz53-cudb https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T14:59:52.319906+00:00 PyPI Importer Affected by VCID-7vwz-hbq8-c7dr https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T14:59:28.966998+00:00 PyPI Importer Fixing VCID-5e12-c4fx-rfa3 https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T12:41:59.669815+00:00 Pypa Importer Affected by VCID-z346-9s62-afaz https://github.com/pypa/advisory-database/blob/main/vulns/mercurial/PYSEC-2019-188.yaml 38.0.0
2026-04-01T12:41:49.799649+00:00 Pypa Importer Affected by VCID-t9gd-va4q-a3ga https://github.com/pypa/advisory-database/blob/main/vulns/mercurial/PYSEC-2018-91.yaml 38.0.0
2026-04-01T12:41:46.597204+00:00 Pypa Importer Affected by VCID-1kmd-1kun-qbdd https://github.com/pypa/advisory-database/blob/main/vulns/mercurial/PYSEC-2018-88.yaml 38.0.0
2026-04-01T12:41:46.314521+00:00 Pypa Importer Affected by VCID-hhwu-knps-qqfw https://github.com/pypa/advisory-database/blob/main/vulns/mercurial/PYSEC-2018-89.yaml 38.0.0
2026-04-01T12:41:46.035521+00:00 Pypa Importer Affected by VCID-v91s-ety2-x7au https://github.com/pypa/advisory-database/blob/main/vulns/mercurial/PYSEC-2018-90.yaml 38.0.0
2026-04-01T12:41:41.939531+00:00 Pypa Importer Affected by VCID-bahp-n5dx-2qeg https://github.com/pypa/advisory-database/blob/main/vulns/mercurial/PYSEC-2018-87.yaml 38.0.0
2026-04-01T12:41:38.772680+00:00 Pypa Importer Affected by VCID-nruh-my9y-jqfj https://github.com/pypa/advisory-database/blob/main/vulns/mercurial/PYSEC-2017-90.yaml 38.0.0
2026-04-01T12:41:35.930348+00:00 Pypa Importer Affected by VCID-ck6k-4bcg-6faq https://github.com/pypa/advisory-database/blob/main/vulns/mercurial/PYSEC-2017-89.yaml 38.0.0
2026-04-01T12:41:35.677571+00:00 Pypa Importer Affected by VCID-z59g-jz53-cudb https://github.com/pypa/advisory-database/blob/main/vulns/mercurial/PYSEC-2017-88.yaml 38.0.0
2026-04-01T12:41:30.702194+00:00 Pypa Importer Affected by VCID-7vwz-hbq8-c7dr https://github.com/pypa/advisory-database/blob/main/vulns/mercurial/PYSEC-2017-91.yaml 38.0.0
2026-04-01T12:41:18.745581+00:00 Pypa Importer Fixing VCID-5e12-c4fx-rfa3 https://github.com/pypa/advisory-database/blob/main/vulns/mercurial/PYSEC-2016-28.yaml 38.0.0