CVE-2018-17983
CRITICAL 9.1CVSS 3.0Mercurial Out-of-bounds Read vulnerability
cext/manifest.c in Mercurial before 4.7.2 has an out-of-bounds read during parsing of a malformed manifest entry.
- Published
- 4 Oct 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-125
- Also known as
- GHSA-p575-cf9h-wv42PYSEC-2018-91
- Sources
- NVDJSONOSV GHSA-p575-cf9h-wv42JSONOSV PYSEC-2018-91JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:P/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mercurial | mercurialcpe:2.3:a:mercurial:mercurial:*:*:*:*:*:*:*:* |
< 4.7.2 | 4.7.2 |
| OSV | PyPI | mercurial | < 4.7.2 | 4.7.2 |
References
- https://www.mercurial-scm.org/repo/hg/rev/5405cb1a7901 · Patch, WEB
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.7.2_.282018-10-01.29 · Release Notes, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-17983 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2018-91.yaml · WEB
- https://github.com/advisories/GHSA-p575-cf9h-wv42 · ADVISORY
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 4 Oct 2018)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Oct 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 14 May 2022)