CVE-2016-3630
HIGH8.8EPSS 5.2%Mercurial arbitrary code execution vulnerability
Published: 5/14/2022Modified: 4/28/2026
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.
Affected packages (3)
- Debian/mercurialfrom 0, < 3.7.3-1
- PyPI/mercurialfrom 0, < 3.7.3
- PyPI/mercurialfrom 0, < 3.7.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References (15)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2016-3630
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2016-3630
- WEBhttp://lists.fedoraproject.org/pipermail/package-announce/2016-April/181505.html
- WEBhttp://lists.fedoraproject.org/pipermail/package-announce/2016-April/181542.html
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00016.html
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00017.html
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00018.html
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00043.html
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2016-29.yaml
- WEBhttps://security.gentoo.org/glsa/201612-19
- WEBhttps://selenic.com/repo/hg-stable/rev/b6ed2505d6cf
- WEBhttps://selenic.com/repo/hg-stable/rev/b9714d958e89
- WEBhttps://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_3.7.3_.282016-3-29.29
- WEBhttp://www.debian.org/security/2016/dsa-3542
- WEBhttp://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html