CVE-2018-13348: mercurial Improper Input Validation
CVSS: 7.5v3.0HighModified
AliasesGHSA-3v62-ww8w-758mPYSEC-2018-90UBUNTU-CVE-2018-13348DEBIAN-CVE-2018-13348
Published 06-07-2018Last modified 05-08-2024
Vulnerability summary
CVE-2018-13348 is a high (CVSS 7.5) Improper Input Validation vulnerability in mercurial. EPSS estimates a 2.10% chance of exploitation in the next 30 days, higher than 81.4% of scored vulnerabilities.
CVSS score
7.5/10
010
High · v3.0 (NVD)EPSS score
2.10%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 7 · Related 4Timeline
- 06-07-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
The mpatch_decode function in mpatch.c in Mercurial before 4.6.1 mishandles certain situations where there should be at least 12 bytes remaining after the current position in the patch data, but actually are not, aka OVE-20180430-0001.
CVSS metrics
6 scores · 4 sources · 3 versionsHigh 8.7Preferred score · OSV · Pypi (Ecosystem advisory) · calculated from vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NSourcesSingle source
High 7.5Preferred score · NVD (NIST)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NSourcesAll 4 agree
- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Medium 5.0Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:N/I:P/A:NSourcesSingle source
EPSS trend
Probability
2.10%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
0.00 pp
From 2.10% on 18-09-2026
18-09-202618-10-2026
EPSS score2.10%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- mercurial< 4.6.1-1
Mercurial1 product
- mercurial< 4.6.1
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