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-committed/log?rev=modifies%28%22mercurial%2Fmpatch.c%22%29+and+4.5%3A%3A
Release Notes, Vendor Advisory x_refsource_misc
https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29
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