{"schemaVersion":3,"id":"CVE-2018-17983","aliases":["MGASA-2018-0442","SUSE-SU-2018:3430-1","GHSA-p575-cf9h-wv42","PYSEC-2018-91","UBUNTU-CVE-2018-17983","DEBIAN-CVE-2018-17983"],"status":"published","duplicateOf":null,"title":null,"description":"cext/manifest.c in Mercurial before 4.7.2 has an out-of-bounds read during parsing of a malformed manifest entry.","dates":{"published":"2018-10-04T23:00:00.000Z","modified":"2024-08-05T11:01:14.786Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.4,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.8,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","score":9.1,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.1,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":9.1,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true}]},"epss":{"probability":0.02049,"percentile":0.80936,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02049},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01861,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02049,"percentile":0.80936}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01861,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02049,"percentile":0.80936}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"debian","product":"mercurial","name":"mercurial","label":"mercurial","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/mercurial","purlType":"deb","versions":[{"text":"< 4.7.2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.7.2-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mercurial","name":"mercurial","label":"mercurial","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mercurial","purlType":"deb","versions":[{"text":"< 4.5.3-1ubuntu2.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.5.3-1ubuntu2.2","eol":null,"hubHref":null},{"vendor":"mageia","product":"mercurial","name":"mercurial","label":"mercurial","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/mercurial","purlType":"rpm","versions":[{"text":"< 4.7.2-1.mga6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.7.2-1.mga6","eol":null,"hubHref":null},{"vendor":"mercurial","product":"mercurial","name":"mercurial","label":"mercurial","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.7.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.7.2","eol":null,"hubHref":"/vendor/mercurial/mercurial"},{"vendor":"PyPI","product":"mercurial","name":"mercurial","label":"mercurial","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/mercurial","purlType":"pypi","versions":[{"text":"< 4.7.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.7.2","eol":null,"hubHref":null},{"vendor":"suse","product":"mercurial&distro=SUSE Linux Enterprise Module for Development Tools 15","name":"mercurial","label":"mercurial&distro=SUSE Linux Enterprise Module for Development Tools 15","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/mercurial&distro=SUSE Linux Enterprise Module for Development Tools 15","purlType":"rpm","versions":[{"text":"< 4.5.2-3.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.5.2-3.6.1","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.mercurial-scm.org/repo/hg/rev/5405cb1a7901","label":"www.mercurial-scm.org/repo/hg/rev/5405cb1a7901","hostname":"www.mercurial-scm.org","tags":["X Refsource MISC","Patch","WEB","REPORT"]},{"url":"https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.7.2_.282018-10-01.29","label":"www.mercurial-scm.org/wiki/WhatsNew","hostname":"www.mercurial-scm.org","tags":["X Refsource MISC","Release Notes","WEB","REPORT"]},{"url":"https://advisories.mageia.org/MGASA-2018-0442.html","label":"advisories.mageia.org/MGASA-2018-0442.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=23763","label":"bugs.mageia.org/show_bug.cgi?id=23763","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.opensuse.org/opensuse-updates/2018-10/msg00212.html","label":"lists.opensuse.org/opensuse-updates/2018-10/msg00212.html","hostname":"lists.opensuse.org","tags":["WEB"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20183430-1/","label":"www.suse.com/support/update/announcement/2018/suse-su-20183430-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1110899","label":"bugzilla.suse.com/1110899","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2018-17983","label":"www.suse.com/security/cve/CVE-2018-17983","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-17983","label":"nvd.nist.gov/vuln/detail/CVE-2018-17983","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2018-91.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2018-91.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-p575-cf9h-wv42","label":"github.com/advisories/GHSA-p575-cf9h-wv42","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-17983","label":"ubuntu.com/security/CVE-2018-17983","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5102-1","label":"ubuntu.com/security/notices/USN-5102-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-17983","label":"www.cve.org/CVERecord?id=CVE-2018-17983","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5102-2","label":"ubuntu.com/security/notices/USN-5102-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-17983","label":"security-tracker.debian.org/tracker/CVE-2018-17983","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:10586-1","USN-5102-1","USN-5102-2"],"duplicates":[],"related":["OPENSUSE-SU-2024:10586-1","USN-5102-1","USN-5102-2"]},"timeline":[{"kind":"published","date":"2018-10-04T23:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T11:01:14.786Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:48:48.337Z","stale":false,"partial":false}}