PYSEC-2018-89
Dashboard / Vulnerabilities / PYSEC-2018-89
PYSEC-2018-89
Published: 6 Jul 2018Last Modified: 10 Jun 2026
Aliases:
Summary:
Details: mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002.
References: https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29, https://www.mercurial-scm.org/repo/hg-committed/log?rev=modifies%28%22mercurial%2Fmpatch.c%22%29+and+4.5%3A%3A, https://www.mercurial-scm.org/repo/hg/rev/1acfc35d478c, https://access.redhat.com/errata/RHSA-2019:2276, https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html, https://github.com/advisories/GHSA-3mjj-mr4f-qxmx
Affected packages
Package
Name: mercurial
Purl: pkg:pypi/mercurial
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -4.6.1
Affected versions
0.8.1
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
