Skip to content
Fencer Intel
high 8.8

CVE-2016-3069 json

Mercurial vulnerable to arbitrary code execution via a crafted name when converting a Git repository

published 2016-04-13 10 y ago modified 2026-06-17 4 mo ago also GHSA-8fm8-7365-5rh2 , PYSEC-2016-27 , EUVD-2016-0015

cvss
8.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
5.0%
EPSS 5.0% chance of exploitation in 30 days, percentile 92%
public exploits
0
none known

Summary

Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a crafted name when converting a Git repository.

Patch / fix

  • pypi mercurial 3.7.3
  • mercurial Debian 14, Debian 13, Debian 12 3.7.3-1

debian advisories DEBIAN-CVE-2016-3069

  • mercurial Ubuntu 14.04 LTS 2.8.2-1ubuntu1.4

ubuntu advisories UBUNTU-CVE-2016-3069

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 RHEL 7 2.6.2-6.el7_2
  • mercurial-hgk RHEL 7 2.6.2-6.el7_2
  • emacs-mercurial RHEL 7 2.6.2-6.el7_2
  • emacs-mercurial-el RHEL 7 2.6.2-6.el7_2

red hat advisories RHSA-2016:0706

  • mercurial SLE Software Development Kit 11 SP4 2.3.2-0.11.1
  • mercurial SLE Software Development Kit 12 SP1, SLE Software Development Kit 12 2.8.2-6.1

suse advisories SUSE-SU-2016:1011-1SUSE-SU-2016:1010-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-3069 updated cvss 5.1

mercurial: convert extension command injection via git repository names

  • Red Hat Enterprise Linux 6 mercurial, mercurial-hgk, emacs-mercurial, emacs-mercurial-el
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client Optional (v. 7) mercurial 2.6.2-6.el7_2, mercurial-hgk 2.6.2-6.el7_2, emacs-mercurial 2.6.2-6.el7_2, emacs-mercurial-el 2.6.2-6.el7_2 Red Hat Enterprise Linux ComputeNode Optional (v. 7) mercurial 2.6.2-6.el7_2, mercurial-hgk 2.6.2-6.el7_2, emacs-mercurial 2.6.2-6.el7_2, emacs-mercurial-el 2.6.2-6.el7_2 Red Hat Enterprise Linux Server (v. 7) mercurial 2.6.2-6.el7_2 Red Hat Enterprise Linux Server Optional (v. 7) mercurial-hgk 2.6.2-6.el7_2, emacs-mercurial 2.6.2-6.el7_2, emacs-mercurial-el 2.6.2-6.el7_2 Red Hat Enterprise Linux Workstation (v. 7) mercurial 2.6.2-6.el7_2 Red Hat Enterprise Linux Workstation Optional (v. 7) mercurial-hgk 2.6.2-6.el7_2, emacs-mercurial 2.6.2-6.el7_2, emacs-mercurial-el 2.6.2-6.el7_2
    fixed: vendor fix RHSA-2016:0706

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

4.95% chance of exploitation in the next 30 days, higher than 92% 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.7.3
3.7.3

Classification

Weakness
  • CWE-20 Improper Input Validation

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.