ADVISORIES

PyPA Advisory Database

PYSEC-2018-90

Details

The mpatch_decode function in mpatch.c in Mercurial before 4.6.1 mishandles certain situations where there should be at least 12 bytes remaining after the current position in the patch data, but actually are not, aka OVE-20180430-0001.

Affected packages

EcosystemPackageAffected versions
PyPImercurial
All versions before 4.6.1 (fixed in 4.6.1)

References