CVE-2018-13346

High

Description

The mpatch_apply function in mpatch.c in Mercurial before 4.6.1 incorrectly proceeds in cases where the fragment start is past the end of the original data, aka OVE-20180430-0004.

SeverityHigh
CVSS7.5
Exploit probability—
ProductMercurial
PublishedJul 6, 2018
First seenJul 6, 2018

How to fix

Update
  • mercurial mercurial4.6.1 or later
  • mercurial4.6.1 or later

Affected products

ProductAffected versionsFixed in
mercurial mercurialv < 4.6.14.6.1
mercurialPyPIv < 4.6.14.6.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.