CVE Database›Document archive›CVE-2018-13348

CVE-2018-13348

mercurial: Improper length check in mpatch.c

Loading…

Severity

Moderate

Red Hat Product Security

4.3

CVSS 3.0

Review impact separately from score.

Published · June 6, 2018

Updated · June 27, 2026

Description

The mpatch_decode function in mpatch.c in Mercurial before 4.6.1 mishandles certain situations where there should be at least 12 bytes remaining after the current position in the patch data, but actually are not, aka OVE-20180430-0001.

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.3
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

CWE-805 · Buffer Access with Incorrect Length Value