VDB
CVE-2018-13346
CVE-2018-13346
PUBLISHED
Mercurial Improper Input Validation vulnerability
Reported by mitre · Published July 6, 2018
mercurial is fixed in 4.6.1 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mercurial | PyPI | 4.6.1 |
| mercurial | Ubuntu:14.04:LTS | 2.8.2-1ubuntu1.4 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Jul 6, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 9, 2026 Security Advisory (65 in total, the first dated here)
- Sep 24, 2026 Coalition ESS Score
- Oct 18, 2026 CVE Updated
- Oct 19, 2026 Distribution Patch (61 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-13346
vulnetix vdb fixes CVE-2018-13346
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-13346/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- RHSA-2019:2276 vendor-advisoryx_refsource_REDHAT
- [debian-lts-announce] 20200731 [SECURITY] [DLA 2293-1] mercurial security update mailing-listx_refsource_MLIST