CVE-2016-3630
HIGH 8.8CVSS 3.1Mercurial arbitrary code execution vulnerability
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
- 13 Apr 2016
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-19
- Also known as
- GHSA-9vjf-jjcq-3gh7PYSEC-2016-29
- Sources
- NVDJSONOSV GHSA-9vjf-jjcq-3gh7JSONOSV PYSEC-2016-29JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:* |
= 22 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:* |
= 23 | |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:* |
= 42.1 | |
| NVD | mercurial | mercurialcpe:2.3:a:mercurial:mercurial:*:*:*:*:*:*:*:* |
<= 3.7.2 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | suse | linux_enterprise_debuginfocpe:2.3:a:suse:linux_enterprise_debuginfo:11:sp4:*:*:*:*:*:* |
= 11 | |
| NVD | opensuse | opensusecpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:* |
= 13.2 | |
| NVD | suse | linux_enterprise_software_development_kitcpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp4:*:*:*:*:*:* |
= 11 | |
| NVD | suse | linux_enterprise_software_development_kitcpe:2.3:o:suse:linux_enterprise_software_development_kit:12:*:*:*:*:*:*:* |
= 12 | |
| NVD | suse | linux_enterprise_software_development_kitcpe:2.3:o:suse:linux_enterprise_software_development_kit:12:sp1:*:*:*:*:*:* |
= 12 | |
| OSV | PyPI | mercurial | < 3.7.3 | 3.7.3 |
References
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/181505.html · Mailing List, Vendor Advisory, WEB
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/181542.html · Mailing List, Vendor Advisory, WEB
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00016.html · Mailing List, Vendor Advisory, WEB
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00017.html · Mailing List, Vendor Advisory, WEB
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00018.html · Mailing List, Vendor Advisory, WEB
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00043.html · Mailing List, Vendor Advisory, WEB
- http://www.debian.org/security/2016/dsa-3542 · Third Party Advisory, WEB, ADVISORY
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html · Third Party Advisory, WEB
- https://security.gentoo.org/glsa/201612-19 · Third Party Advisory, WEB, ADVISORY
- https://selenic.com/repo/hg-stable/rev/b6ed2505d6cf · Third Party Advisory, WEB
- https://selenic.com/repo/hg-stable/rev/b9714d958e89 · Third Party Advisory, WEB
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_3.7.3_.282016-3-29.29 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2016-3630 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2016-29.yaml · WEB
- https://github.com/advisories/GHSA-9vjf-jjcq-3gh7 · ADVISORY
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 13 Apr 2016)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Apr 2016)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 14 May 2022)