{"schemaVersion":3,"id":"CVE-2016-3068","aliases":["GHSA-j7c2-rqm3-c97m","PYSEC-2016-26","UBUNTU-CVE-2016-3068","DEBIAN-CVE-2016-3068"],"status":"published","duplicateOf":null,"title":null,"description":"Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a crafted git ext:: URL when cloning a subrepository.","dates":{"published":"2016-04-13T16:00:00.000Z","modified":"2024-08-05T23:40:15.599Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.05405,"percentile":0.92604,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.05405},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.06607,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.05405,"percentile":0.92604}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.06607,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05405,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.05405,"percentile":0.92604}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"debian","product":"mercurial","name":"mercurial","label":"mercurial","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/mercurial","purlType":"deb","versions":[{"text":"< 3.7.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.7.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mercurial","name":"mercurial","label":"mercurial","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mercurial","purlType":"deb","versions":[{"text":"< 2.8.2-1ubuntu1.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.2-1ubuntu1.4","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null},{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0 | 8.0","eol":{"isEol":true,"eolDate":"2018-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"7","label":"7 (Wheezy)","eolFrom":"2018-05-31T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"7.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"22","noFixRecorded":false,"fixedIn":null},{"text":"23","noFixRecorded":false,"fixedIn":null}],"versionsText":"22 | 23","eol":{"isEol":true,"eolDate":"2016-07-19T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"22","label":"22","eolFrom":"2016-07-19T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"mercurial","product":"mercurial","name":"mercurial","label":"mercurial","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 3.7.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 3.7.2","eol":null,"hubHref":"/vendor/mercurial/mercurial"},{"vendor":"opensuse","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"42.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"42.1","eol":{"isEol":true,"eolDate":"2017-05-17T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"42.1","label":"Leap 42.1","eolFrom":"2017-05-17T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/leap"},{"vendor":"opensuse","product":"opensuse","name":"opensuse","label":"opensuse","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"13.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"13.2","eol":{"isEol":true,"eolDate":"2017-01-17T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"13.2","label":"13.2","eolFrom":"2017-01-17T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/opensuse"},{"vendor":"PyPI","product":"mercurial","name":"mercurial","label":"mercurial","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/mercurial","purlType":"pypi","versions":[{"text":"< 3.7.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.7.3","eol":null,"hubHref":null},{"vendor":"redhat","product":"enterprise_linux_desktop","name":"enterprise linux desktop","label":"enterprise_linux_desktop","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_desktop"},{"vendor":"redhat","product":"enterprise_linux_hpc_node","name":"enterprise linux hpc node","label":"enterprise_linux_hpc_node","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_hpc_node"},{"vendor":"redhat","product":"enterprise_linux_hpc_node_eus","name":"enterprise linux hpc node eus","label":"enterprise_linux_hpc_node_eus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.2","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_hpc_node_eus"},{"vendor":"redhat","product":"enterprise_linux_server","name":"enterprise linux server","label":"enterprise_linux_server","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server"},{"vendor":"redhat","product":"enterprise_linux_server_aus","name":"enterprise linux server aus","label":"enterprise_linux_server_aus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.2","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server_aus"},{"vendor":"redhat","product":"enterprise_linux_server_eus","name":"enterprise linux server eus","label":"enterprise_linux_server_eus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.2","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server_eus"},{"vendor":"redhat","product":"enterprise_linux_workstation","name":"enterprise linux workstation","label":"enterprise_linux_workstation","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_workstation"},{"vendor":"suse","product":"linux_enterprise_debuginfo","name":"linux enterprise debuginfo","label":"linux_enterprise_debuginfo","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"11:sp4","noFixRecorded":false,"fixedIn":null}],"versionsText":"11:sp4","eol":null,"hubHref":"/vendor/suse/linux_enterprise_debuginfo"},{"vendor":"suse","product":"linux_enterprise_software_development_kit","name":"linux enterprise software development kit","label":"linux_enterprise_software_development_kit","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"11:sp4","noFixRecorded":false,"fixedIn":null},{"text":"12","noFixRecorded":false,"fixedIn":null},{"text":"12:sp1","noFixRecorded":false,"fixedIn":null}],"versionsText":"11:sp4 | 12 | 12:sp1","eol":null,"hubHref":"/vendor/suse/linux_enterprise_software_development_kit"}],"affectedCount":17,"eol":{"hasEol":true,"count":4},"references":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/181505.html","label":"lists.fedoraproject.org/pipermail/package-announce/2016-April/181505.html","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Third Party Advisory","WEB"]},{"url":"https://security.gentoo.org/glsa/201612-19","label":"security.gentoo.org/glsa/201612-19","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","WEB","Advisory"]},{"url":"http://www.debian.org/security/2016/dsa-3542","label":"www.debian.org/security/2016/dsa-3542","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory","WEB","Advisory"]},{"url":"https://selenic.com/repo/hg-stable/rev/34d43cb85de8","label":"selenic.com/repo/hg-stable/rev/34d43cb85de8","hostname":"selenic.com","tags":["X Refsource CONFIRM","Issue Tracking","Patch","WEB","REPORT"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","label":"www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","hostname":"www.oracle.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00018.html","label":"lists.opensuse.org/opensuse-security-announce/2016-04/msg00018.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Third Party Advisory","WEB"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-0706.html","label":"rhn.redhat.com/errata/RHSA-2016-0706.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory","WEB","Advisory"]},{"url":"https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_3.7.3_.282016-3-29.29","label":"www.mercurial-scm.org/wiki/WhatsNew","hostname":"www.mercurial-scm.org","tags":["X Refsource CONFIRM","Vendor Advisory","WEB","REPORT"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html","label":"www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html","hostname":"www.oracle.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00017.html","label":"lists.opensuse.org/opensuse-security-announce/2016-04/msg00017.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Third Party Advisory","WEB"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00016.html","label":"lists.opensuse.org/opensuse-security-announce/2016-04/msg00016.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Third Party Advisory","WEB"]},{"url":"http://www.securityfocus.com/bid/85733","label":"www.securityfocus.com/bid/85733","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","WEB"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/181542.html","label":"lists.fedoraproject.org/pipermail/package-announce/2016-April/181542.html","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Third Party Advisory","WEB"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00043.html","label":"lists.opensuse.org/opensuse-security-announce/2016-04/msg00043.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Third Party Advisory","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3068","label":"nvd.nist.gov/vuln/detail/CVE-2016-3068","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2016-26.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2016-26.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://web.archive.org/web/20200228003737/http://www.securityfocus.com/bid/85733","label":"web.archive.org/web/20200228003737/http://www.securityfocus.com/bid/85733","hostname":"web.archive.org","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-j7c2-rqm3-c97m","label":"github.com/advisories/GHSA-j7c2-rqm3-c97m","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-3068","label":"ubuntu.com/security/CVE-2016-3068","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-3068","label":"www.cve.org/CVERecord?id=CVE-2016-3068","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-3068","label":"security-tracker.debian.org/tracker/CVE-2016-3068","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-3542-1","MGASA-2016-0138","OPENSUSE-SU-2024:10070-1","RHSA-2016:0706","SUSE-SU-2016:1010-1","SUSE-SU-2016:1011-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10070-1","SUSE-SU-2016:1010-1","SUSE-SU-2016:1011-1"]},"timeline":[{"kind":"published","date":"2016-04-13T16:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T23:40:15.599Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:01:46.662Z","stale":false,"partial":false}}