CVE-2018-13348

mercurial: Improper length check in mpatch.c

Published Jul 6, 2018 CVSS 3.0 · 7.5 High EPSS 2.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2293-1 mercurial security update
EUVD EUVD EUVD-2018-0097 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.
Github GHSA Github GHSA GHSA-3v62-ww8w-758m Mercurial Improper Input Validation vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 9:00 AM
Reserved
Jul 5, 2018, 12:00 AM
Status
Modified
Published
Jul 6, 2018, 12:29 AM
Modified
Jun 17, 2026, 1:39 AM
Severity
Moderate
Public date
Jun 6, 2018, 12:00 AM