Back

HIGH

mercurial: Missing check for fragment start position in mpatch.c:mpatch_apply()

Published Jul 6, 2018

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.

Affected products

Remediation

No remediation recorded yet.

Metrics

References (10)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Jul 6, 2018
Updated Aug 5, 2024
Reserved Jul 5, 2018
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Low
Public date Jun 6, 2018
GHSA-9XV4-R2HF-26GH