7.5

CVE-2018-13346: mercurial Improper Input Validation

CVSS: 7.5v3.0HighModified
AliasesGHSA-9xv4-r2hf-26ghPYSEC-2018-88UBUNTU-CVE-2018-13346
Published 06-07-2018Last modified 05-08-2024

Vulnerability summary

CVE-2018-13346 is a high (CVSS 7.5) Improper Input Validation vulnerability in mercurial. EPSS estimates a 2.36% chance of exploitation in the next 30 days, higher than 83.4% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.0 (NVD)
EPSS score
2.36%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 8 · Related 4

Timeline

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

Description

The mpatch_apply function in mpatch.c in Mercurial before 4.6.1 incorrectly proceeds in cases where the fragment start is past the end of the original data, aka OVE-20180430-0004.

CVSS metrics

6 scores · 4 sources · 3 versions

EPSS trend

Probability

2.36%

Chance of exploitation in the next 30 days

Percentile

83%

Versus all other CVEs

30-day change

0.00 pp

From 2.36% on 19-09-2026

19-09-202619-10-2026
EPSS score
2.36%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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

10 links