Red Hat VEX
RHVEX-CVE-2018-13346
mercurial: Missing check for fragment start position in mpatch.c:mpatch_apply()
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | emacs-mercurial | All versions, will not be fixed |
| Red Hat:enterprise_linux:6 | emacs-mercurial-el | All versions, will not be fixed |
| Red Hat:enterprise_linux:6 | mercurial | All versions, will not be fixed |
| Red Hat:enterprise_linux:6 | mercurial-hgk | All versions, will not be fixed |