{"id":"CVE-2016-3068","aliases":["GHSA-j7c2-rqm3-c97m","PYSEC-2016-26"],"kind":"cve","tier":"cold","status":"published","title":"Mercurial arbitrary code execution via a crafted git ext:: URL","description":"Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a crafted git ext:: URL when cloning a subrepository.","ai_summary":null,"severity":"high","cvss":{"score":8.8,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD"},"scores":[{"score":8.8,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"nvd"},{"score":6.8,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":["CWE-20"],"remote":true,"remote_unauth":true,"epss":{"score":0.05405,"percentile":0.9347,"date":"2026-11-30"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"PyPI","name":"mercurial","affected":"< 3.7.3","fixed":["3.7.3"],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"Upgrade mercurial to 3.7.3 or later.","technologies":[],"references":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/181505.html","kind":"vendor"},{"url":"https://security.gentoo.org/glsa/201612-19","kind":"vendor"},{"url":"http://www.debian.org/security/2016/dsa-3542","kind":"vendor"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00018.html","kind":"vendor"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-0706.html","kind":"vendor"},{"url":"https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_3.7.3_.282016-3-29.29","kind":"vendor"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00017.html","kind":"vendor"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00016.html","kind":"vendor"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/181542.html","kind":"vendor"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00043.html","kind":"vendor"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3068","kind":"vendor"},{"url":"https://github.com/advisories/GHSA-j7c2-rqm3-c97m","kind":"vendor"},{"url":"https://selenic.com/repo/hg-stable/rev/34d43cb85de8","kind":"patch"},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","kind":"other"},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html","kind":"other"},{"url":"http://www.securityfocus.com/bid/85733","kind":"other"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2016-26.yaml","kind":"other"},{"url":"https://web.archive.org/web/20200228003737/http://www.securityfocus.com/bid/85733","kind":"other"}],"workarounds":null,"vendors":["debian","fedoraproject","mercurial","opensuse","redhat","suse"],"products":["debian_linux","enterprise_linux_desktop","enterprise_linux_hpc_node","enterprise_linux_hpc_node_eus","enterprise_linux_server","enterprise_linux_server_aus","enterprise_linux_server_eus","enterprise_linux_workstation","fedora","leap","linux_enterprise_debuginfo","linux_enterprise_software_development_kit","mercurial","opensuse"],"cpes":["cpe:2.3:a:mercurial:mercurial:*:*:*:*:*:*:*:*","cpe:2.3:a:suse:linux_enterprise_debuginfo:11:sp4:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*","cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*","cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus:7.2:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*","cpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp4:*:*:*:*:*:*","cpe:2.3:o:suse:linux_enterprise_software_development_kit:12:*:*:*:*:*:*:*","cpe:2.3:o:suse:linux_enterprise_software_development_kit:12:sp1:*:*:*:*:*:*"],"published_at":"2016-04-13T16:00:00.000Z","modified_at":"2026-06-17T00:44:54.440Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3068"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-j7c2-rqm3-c97m","license_url":"https://creativecommons.org/licenses/by/4.0/"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/PYSEC-2016-26","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2016-3068","markdown":"https://flawdb.com/CVE-2016-3068.md","json":"https://flawdb.com/api/v1/entries/CVE-2016-3068"}}