9.8

CVE-2018-13347: mercurial Integer Overflow or Wraparound

Modified
AliasesGHSA-3mjj-mr4f-qxmxPYSEC-2018-89UBUNTU-CVE-2018-13347
Published 06-07-2018Last modified 05-08-2024

Vulnerability summary

CVE-2018-13347 is a critical (CVSS 9.8) Integer Overflow or Wraparound vulnerability in mercurial. EPSS estimates a 2.72% chance of exploitation in the next 30 days, higher than 86.4% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.0 (NVD)
EPSS score
2.72%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 7 · Related 3

Timeline

  1. 06-07-2018
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

Description

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

CVSS metrics

6 scores · 4 sources · 3 versions

EPSS trend

Probability

2.72%

Chance of exploitation in the next 30 days

Percentile

86%

Versus all other CVEs

30-day change

Increase +0.05 pp

From 2.67% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • mercurial< 4.6.1-1
Mercurial1 product
PyPI1 product
  • mercurial< 4.6.1
Ubuntu1 product
  • mercurial< 2.8.2-1ubuntu1.4 | < 3.7.3-1ubuntu1.1 | < 4.5.3-1ubuntu2.1

4 vendors · 4 products

References

11 links
Show all 11 references