Skip to content
Fencer Intel
high 8.8

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-el
    affected: 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

References

Sources

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.