Published: 06 July 2018
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.
From the Ubuntu security team
It was discovered that Mercurial incorrectly handled certain patch data. An attacker could possibly use this issue to cause a denial of service or other unspecified impact.
CVSS 3 base score: 7.5