CVE-2016-3630 Mercurial arbitrary code execution vulnerability

High 8.8 Published Updated

Remote attackers can execute arbitrary code via clone, push, or pull commands due to a rounding error in the binary delta decoder.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-3630?

CVE-2016-3630 is a high-severity vulnerability in Debian Debian Linux, published on 13 Apr 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-19

Which versions are affected by CVE-2016-3630?

3 open source packages ship an affected version, including mercurial. It affects 7 products.

PackageAffectedFixed in
mercurial PyPIAll versions3.7.3
mercurial PyPIAll versions3.7.3
mercurial PyPIAll versions3.7.3

Products include Debian Debian Linux, Fedoraproject Fedora, Mercurial Mercurial, Opensuse Leap, Opensuse Opensuse, Suse Linux Enterprise Debuginfo and 1 more.

How do I fix CVE-2016-3630?

Upgrade mercurial to 3.7.3 or later.

Is CVE-2016-3630 being exploited?

There is no known exploitation of CVE-2016-3630 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-3630, GHSA-9vjf-jjcq-3gh7, PYSEC-2016-29, UBUNTU-CVE-2016-3630.

Is CVE-2016-3630 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free