CVE-2018-13346
mercurial: Missing check for fragment start position in mpatch.c:mpatch_apply()
Loading…
Severity
LowRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · June 6, 2018
Updated · June 27, 2026
Description
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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 4.3CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
CWE-125 · Out-of-bounds Read