CVE-2018-13348: Input Validation

Published Jul 6, 2018
·
Updated

The mpatchdecode 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.

Other sources

The mpatchdecode 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.

Affected Software

2 affected componentsFixes available
pip/mercurial<4.6.1
4.6.1
Mercurial Mercurial<4.6.1

Event History

Jul 6, 2018
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
May 13, 2022
Advisory Published
via GitHub·01:24 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2018-13348.

2

What is the severity of CVE-2018-13348?

The severity of CVE-2018-13348 is high with a CVSS score of 7.5.

3

What software is affected by CVE-2018-13348?

Mercurial versions up to and excluding 4.6.1 are affected by CVE-2018-13348.

4

How does the vulnerability in CVE-2018-13348 manifest?

The vulnerability in CVE-2018-13348 manifests in the mishandling of certain situations in the mpatch_decode function in Mercurial before 4.6.1.

5

Is there a fix available for CVE-2018-13348?

Yes, the fix for CVE-2018-13348 is included in Mercurial version 4.6.1 and later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203