CVE-2016-3105 json
Mercurial vulnerable to arbitrary code execution when converting Git repos
published 2016-05-09 10 y ago modified 2026-06-17 4 mo ago also GHSA-49cw-434h-qc57 , PYSEC-2016-28 , EUVD-2016-0016
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
The convert extension in Mercurial before 3.8 might allow context-dependent attackers to execute arbitrary code via a crafted git repository name.
Patch / fix
- pypi mercurial 3.8, 3.8-rc
- mercurial Debian 14, Debian 13, Debian 12 3.8.1-1
debian advisories DEBIAN-CVE-2016-3105
- mercurial Ubuntu 14.04 LTS 2.8.2-1ubuntu1.4
- mercurial Ubuntu 16.04 LTS 3.7.3-1ubuntu1.1
ubuntu advisories UBUNTU-CVE-2016-3105
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- mercurial SLE Software Development Kit 12 SP1, SLE Software Development Kit 12 2.8.2-9.1
- mercurial SLE Software Development Kit 11 SP4 2.3.2-0.14.2
suse advisories SUSE-SU-2016:1442-1SUSE-SU-2016:1443-1
- mercurial openSUSE Tumbleweed 4.0-1.1
opensuse advisories openSUSE-SU-2024:10070-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-3105 updated cvss 5.1
mercurial: arbitrary code execution when converting git repos
-
Red Hat Enterprise Linux 6 mercurial, mercurial-hgk, emacs-mercurial, emacs-mercurial-el Red Hat Enterprise Linux 7 mercurial, mercurial-hgk, emacs-mercurial, emacs-mercurial-elaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.75% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | mercurial | <3.8 <3.8-rc |
3.8 3.8-rc |
Classification
- Weakness
-
- CWE-284 Improper Access Control
References
-
security.gentoo.org
/glsa/201612-19
vendor-advisory, web, advisory
-
lists.opensuse.org
/opensuse-updates/2016-05/msg00082.html
vendor-advisory, web
-
slackware.com
/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.533255
vendor-advisory, web
-
debian.org
/security/2016/dsa-3570
vendor-advisory, web, advisory
-
mercurial-scm.org
/wiki/WhatsNew#Mercurial_3.8_.2F_3.8.1_.282016-5-1.29
web, vendor-advisory
-
securityfocus.com
/bid/90536
vdb-entry, web
-
selenic.com
/hg/rev/a56296f55a5e
web
-
nvd.nist.gov
/vuln/detail/CVE-2016-3105
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2016-28.yaml
web
-
web.archive.org
/web/20200228012056/http://www.securityfocus.com/bid/90536
web
-
github.com
/advisories/GHSA-49cw-434h-qc57
advisory
Sources
- CVE List CVE-2016-3105
- GitHub Advisory GHSA-49cw-434h-qc57
- NVD CVE-2016-3105
- OSV PYSEC-2016-28
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.