CVE-2018-13347: Integer Overflow

Published Jun 22, 2018
·
Updated

mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002.

Other sources

Mercurial before version 4.6.1 is vulnerable to a buffer underflow in mpatch.c:mpatchapply().

Upstream Changelog:

https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial4.6.1.282018-06-06.29

Upstream Patch:

https://www.mercurial-scm.org/repo/hg/rev/1acfc35d478c

Red Hat

mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002.

MITRE

Affected Software

3 affected componentsFixes available
redhat/mercurial<4.6.1
4.6.1
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 vulnerability?

The vulnerability ID for this vulnerability is CVE-2018-13347.

2

What is the severity of CVE-2018-13347?

CVE-2018-13347 has a severity rating of 9.8 (Critical).

3

What is the affected software?

The affected software is Mercurial before version 4.6.1.

4

How does CVE-2018-13347 affect Mercurial?

CVE-2018-13347 in Mercurial mishandles integer addition and subtraction, which can lead to security vulnerabilities.

5

How can I fix CVE-2018-13347?

To fix CVE-2018-13347, update Mercurial to version 4.6.1 or 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