CVE-2018-13347

CRITICAL

Mercurial < 4.6.1 - Integer Overflow in mpatch.c

Title source: llm
STIX 2.1

Description

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

References (5)

Core 5
Core References
Patch, Vendor Advisory x_refsource_misc
https://www.mercurial-scm.org/repo/hg/rev/1acfc35d478c
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2019:2276
Mailing List mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html

Scores

CVSS v3 9.8
EPSS 0.0264
EPSS Percentile 83.7%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-190
Status published
Products (2)
mercurial/mercurial < 4.6.1
pypi/mercurial 0 - 4.6.1PyPI
Published Jul 06, 2018
Tracked Since Feb 18, 2026