CVE-2018-13347 Mercurial mishandles integer addition and subtraction

Critical 9.8 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2018-13347?

CVE-2018-13347 is a critical vulnerability in n/a, published on 6 Jul 2018.

Official description

mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002.

Weakness: CWE-190

Which versions are affected by CVE-2018-13347?

3 open source packages ship an affected version, including mercurial. It affects 1 product.

PackageAffectedFixed in
mercurial PyPIAll versions4.6.1
mercurial PyPIAll versions4.6.1
mercurial PyPIAll versions4.6.1

Products include Mercurial Mercurial.

How do I fix CVE-2018-13347?

Upgrade mercurial to 4.6.1 or later.

Is CVE-2018-13347 being exploited?

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

Sources

Also known as DEBIAN-CVE-2018-13347, GHSA-3mjj-mr4f-qxmx, PYSEC-2018-89, UBUNTU-CVE-2018-13347.

Is CVE-2018-13347 in your software?

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

Check your SBOMs for free