{"id":"CVE-2018-13347","published":"2018-07-06T00:00:00Z","modified":"2024-08-05T09:00:34Z","title":"mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002","vendor":null,"product":null,"tier":"tail","description":{"text":"mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02717,"percentile":0.86369,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.mercurial-scm.org/repo/hg-committed/log?rev=modifies%28%22mercurial%2Fmpatch.c%22%29+and+4.5%3A%3A","tags":["x_refsource_MISC"]},{"url":"https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29","tags":["x_refsource_MISC"]},{"url":"https://www.mercurial-scm.org/repo/hg/rev/1acfc35d478c","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2276","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":17.3,"factors":[{"name":"EPSS percentile","points":17.27}]},"affected":[{"ecosystem":"PyPI","package":"mercurial","vulnerableRanges":["<4.6.1"],"patched":["4.6.1"],"from":["GHSA-3mjj-mr4f-qxmx","PYSEC-2018-89"],"provenance":"source"}],"summary":{"text":"The flaw is an integer addition and subtraction mishandling in mpatch.c, a component of Mercurial versions before 4.6.1. The provided details do not specify the attack vector, required privileges, user interaction, or configuration conditions, nor the concrete effect an attacker could achieve.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:51Z"},"euvd":{"id":"EUVD-2018-0096","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-17458","published":"2017-12-07","fixed":"4.4.1","kev":false},{"cve":"CVE-2018-1000132","published":"2018-03-14","fixed":"4.5.1","kev":false,"link":{"from":"CVE-2018-1000132","to":"CVE-2018-13347","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mercurial","fromFixed":"4.5.1","toFixed":"4.6.1","daysApart":114}]}},{"cve":"CVE-2018-13346","published":"2018-07-06","fixed":"4.6.1","kev":false},{"cve":"CVE-2018-13347","published":"2018-07-06","fixed":"4.6.1","kev":false},{"cve":"CVE-2018-13348","published":"2018-07-06","fixed":"4.6.1","kev":false},{"cve":"CVE-2018-17983","published":"2018-10-04","fixed":"4.7.2","kev":false,"link":{"from":"CVE-2018-13347","to":"CVE-2018-17983","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mercurial","fromFixed":"4.6.1","toFixed":"4.7.2","daysApart":90}]}},{"cve":"CVE-2019-3902","published":"2019-04-22","fixed":"4.9","kev":false}],"package":"PyPI:mercurial"}}