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.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2.8.2-1ubuntu1.4", "binary_name": "mercurial" }, { "binary_version": "2.8.2-1ubuntu1.4", "binary_name": "mercurial-common" }, { "binary_version": "2.8.2-1ubuntu1.4", "binary_name": "mercurial-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "3.7.3-1ubuntu1.1", "binary_name": "mercurial" }, { "binary_version": "3.7.3-1ubuntu1.1", "binary_name": "mercurial-common" }, { "binary_version": "3.7.3-1ubuntu1.1", "binary_name": "mercurial-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "4.5.3-1ubuntu2.1", "binary_name": "mercurial" }, { "binary_version": "4.5.3-1ubuntu2.1", "binary_name": "mercurial-common" }, { "binary_version": "4.5.3-1ubuntu2.1", "binary_name": "mercurial-dbgsym" } ] }