{"id":"CVE-2016-3630","aliases":["GHSA-9vjf-jjcq-3gh7","PYSEC-2016-29"],"kind":"cve","tier":"cold","status":"published","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.","ai_summary":null,"severity":"high","cvss":{"score":8.8,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD"},"scores":[{"score":8.8,"version":"3.1","vector":"CVSS:3.1/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-19"],"remote":true,"remote_unauth":true,"epss":{"score":0.04854,"percentile":0.92818,"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":"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-3630","kind":"vendor"},{"url":"https://github.com/advisories/GHSA-9vjf-jjcq-3gh7","kind":"vendor"},{"url":"https://selenic.com/repo/hg-stable/rev/b9714d958e89","kind":"other"},{"url":"https://selenic.com/repo/hg-stable/rev/b6ed2505d6cf","kind":"other"},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html","kind":"other"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2016-29.yaml","kind":"other"}],"workarounds":null,"vendors":["debian","fedoraproject","mercurial","opensuse","suse"],"products":["debian_linux","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: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:46:06.583Z","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-3630"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-9vjf-jjcq-3gh7","license_url":"https://creativecommons.org/licenses/by/4.0/"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/PYSEC-2016-29","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2016-3630","markdown":"https://flawdb.com/CVE-2016-3630.md","json":"https://flawdb.com/api/v1/entries/CVE-2016-3630"}}