{"schemaVersion":3,"id":"CVE-2016-3630","aliases":["GHSA-9vjf-jjcq-3gh7","PYSEC-2016-29","UBUNTU-CVE-2016-3630","DEBIAN-CVE-2016-3630"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2016-04-13T16:00:00.000Z","modified":"2024-08-06T00:03:34.408Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/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.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/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.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/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.04872,"percentile":0.91956,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.04872},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04872,"percentile":0.91956}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04872,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04872,"percentile":0.91956}]},"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-19","name":"Data Processing Errors","description":"Weaknesses in this category are typically found in functionality that processes data. Data processing is the manipulation of input to retrieve or save information.","type":"category","status":"Draft","abstraction":null,"likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/19.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":"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":10,"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","Mailing List","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","Third Party Advisory","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/b9714d958e89","label":"selenic.com/repo/hg-stable/rev/b9714d958e89","hostname":"selenic.com","tags":["X Refsource CONFIRM","Third Party Advisory","WEB","REPORT"]},{"url":"https://selenic.com/repo/hg-stable/rev/b6ed2505d6cf","label":"selenic.com/repo/hg-stable/rev/b6ed2505d6cf","hostname":"selenic.com","tags":["X Refsource CONFIRM","Third Party Advisory","WEB","REPORT"]},{"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","Mailing List","WEB"]},{"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","Third Party Advisory","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","Mailing List","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","Mailing List","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","Mailing List","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","Mailing List","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3630","label":"nvd.nist.gov/vuln/detail/CVE-2016-3630","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2016-29.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2016-29.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-9vjf-jjcq-3gh7","label":"github.com/advisories/GHSA-9vjf-jjcq-3gh7","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-3630","label":"ubuntu.com/security/CVE-2016-3630","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-3630","label":"www.cve.org/CVERecord?id=CVE-2016-3630","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-3630","label":"security-tracker.debian.org/tracker/CVE-2016-3630","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-3542-1","MGASA-2016-0138","OPENSUSE-SU-2024:10070-1","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-06T00:03:34.408Z","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-19T21:18:54.539Z","stale":false,"partial":false}}