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.
{ "nvd_published_at": "2018-07-06T00:29:00Z", "cwe_ids": [ "CWE-20" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2024-05-01T17:03:58Z" }