{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2016-3630","id":"CVE-2016-3630","title":"Mercurial arbitrary code execution vulnerability","description":"The binary delta decoder in Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a (1) clone, (2) push, or (3) pull command, related to (a) a list sizing rounding error and (b) short records.","descriptionLong":"The binary delta decoder in Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a (1) clone, (2) push, or (3) pull command, related to (a) a list sizing rounding error and (b) short records.","published":"2016-04-13T16:00:00.000Z","updated":"2026-06-17T00:46:06.583Z","reserved":"2016-03-21T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"4.0","score":null,"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","rating":"high","source":"GitHub"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"mercurial","purl":"pkg:pypi/mercurial","ranges":["<3.7.3"],"fixed":["3.7.3"],"advisory":"GHSA-9vjf-jjcq-3gh7"}],"cwes":["CWE-19"],"aliases":["GHSA-9vjf-jjcq-3gh7","PYSEC-2016-29"],"references":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/181505.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Mailing List","Vendor Advisory","advisory","web"]},{"url":"https://security.gentoo.org/glsa/201612-19","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://www.debian.org/security/2016/dsa-3542","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://selenic.com/repo/hg-stable/rev/b9714d958e89","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://selenic.com/repo/hg-stable/rev/b6ed2505d6cf","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00018.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Vendor Advisory","advisory","web"]},{"url":"https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_3.7.3_.282016-3-29.29","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00017.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Vendor Advisory","advisory","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00016.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Vendor Advisory","advisory","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/181542.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Mailing List","Vendor Advisory","advisory","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00043.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3630","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2016-29.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-9vjf-jjcq-3gh7","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.04854,"epssPercentile":0.92202,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2016-3630","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3630","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2016-3630","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9vjf-jjcq-3gh7","ok":true,"note":"GHSA-9vjf-jjcq-3gh7"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2016-3630","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}