NetSight
high7.5

CVE-2018-13346

Mercurial Improper Input Validation vulnerability

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
pipmercurial< 4.6.14.6.1

Affected products

VendorProductAffected versions
MercurialMercurial
before 4.6.1

Weakness classification

References