Improper Handling of Fragment Start in mpatch_apply Function in Mercurial

Improper Handling of Fragment Start in mpatch_apply Function in Mercurial

CVE-2018-13346 · MEDIUM Severity

AV:N/AC:L/AU:N/C:N/I:P/A:N

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.

Learn more about our Web Application Penetration Testing UK.