{"schemaVersion":3,"id":"CVE-2018-20712","aliases":["ALPINE-CVE-2018-20712","UBUNTU-CVE-2018-20712","DEBIAN-CVE-2018-20712"],"status":"published","duplicateOf":null,"title":null,"description":"A heap-based buffer over-read exists in the function d_expression_1 in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31.1. A crafted input can cause segmentation faults, leading to denial-of-service, as demonstrated by c++filt.","dates":{"published":"2019-01-15T00:00:00.000Z","modified":"2024-08-05T12:05:17.694Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Alpine","score":6.5,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true}]},"epss":{"probability":0.02675,"percentile":0.85576,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.00999999999999994,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02685},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02915,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02675,"percentile":0.85576}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02915,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02675,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02675,"percentile":0.85576}]},"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":[{"id":"REF_9CE948D727ADB11F","name":"Exploit Reference (gcc.gnu.org)","source":"reference","url":"https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88629","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_0EAE57DAB00B6059","name":"Exploit Reference (sourceware.org)","source":"reference","url":"https://sourceware.org/bugzilla/show_bug.cgi?id=24043","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"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":"alpine","product":"binutils","name":"binutils","label":"binutils","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/binutils","purlType":"apk","versions":[{"text":"< 2.32-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.32-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"binutils","name":"binutils","label":"binutils","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/binutils","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libiberty","name":"libiberty","label":"libiberty","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libiberty","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"gnu","product":"binutils","name":"binutils","label":"binutils","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.31.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.31.1","eol":null,"hubHref":"/vendor/gnu/binutils"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88629","label":"gcc.gnu.org/bugzilla/show_bug.cgi?id=88629","hostname":"gcc.gnu.org","tags":["X Refsource MISC","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=24043","label":"sourceware.org/bugzilla/show_bug.cgi?id=24043","hostname":"sourceware.org","tags":["X Refsource MISC","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/106563","label":"www.securityfocus.com/bid/106563","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://support.f5.com/csp/article/K38336243","label":"support.f5.com/csp/article/K38336243","hostname":"support.f5.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-20712","label":"security.alpinelinux.org/vuln/CVE-2018-20712","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-20712","label":"ubuntu.com/security/CVE-2018-20712","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-20712","label":"www.cve.org/CVERecord?id=CVE-2018-20712","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-20712","label":"security-tracker.debian.org/tracker/CVE-2018-20712","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2019-01-15T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T12:05:17.694Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":37,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:01:38.031Z","stale":false,"partial":false}}