Ubuntu CVE Tracker
UBUNTU-CVE-2018-13346
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 |
|---|---|---|
| Ubuntu:14.04:LTS | mercurial | All versions before 2.8.2-1ubuntu1.4 (fixed in 2.8.2-1ubuntu1.4) |
| Ubuntu:16.04:LTS | mercurial | All versions before 3.7.3-1ubuntu1.1 (fixed in 3.7.3-1ubuntu1.1) |
| Ubuntu:18.04:LTS | mercurial | All versions before 4.5.3-1ubuntu2.1 (fixed in 4.5.3-1ubuntu2.1) |