CVE-2018-13346: Mercurial
High severity, CVSS 7.5. EPSS: 2.4% chance of exploitation in the next 30 days.
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 products
- Mercurial Mercurial: before 4.6.1 (fixed in 4.6.1)
Published 2018-07-06. Last modified 2026-06-17.