{"id":"CVE-2018-20712","details":"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.","modified":"2026-04-21T18:42:02.757685143Z","published":"2019-01-15T00:29:00.257Z","references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/106563"},{"type":"ADVISORY","url":"https://support.f5.com/csp/article/K38336243"},{"type":"REPORT","url":"https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88629"},{"type":"REPORT","url":"https://sourceware.org/bugzilla/show_bug.cgi?id=24043"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://sourceware.org/git/binutils-gdb.git","events":[{"introduced":"0"},{"last_affected":"0860693812fff944ab0602e72b762a4a2078da5b"}],"database_specific":{"cpe":"cpe:2.3:a:gnu:binutils:2.31.1:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"2.31.1"}]}}],"versions":["binutils-2_31","binutils-2_31_1","gdb-4_18-branchpoint","gdb-7.10-branchpoint","gdb-7.11-branchpoint","gdb-7.12-branchpoint","gdb-7.7-branchpoint","gdb-7.8-branchpoint","gdb-7.9-branchpoint","gdb-8.0-branchpoint","gdb-8.1-branchpoint","gdb_5_2-branchpoint","gdb_5_3-branchpoint","gdb_6_0-branchpoint","gdb_6_1-branchpoint","gdb_6_2-branchpoint","gdb_6_3-branchpoint","gdb_6_4-branchpoint","gdb_6_5-branchpoint","gdb_6_6-branchpoint","gdb_6_7-branchpoint","gdb_6_8-branchpoint","gdb_7_0-branchpoint","gdb_7_1-branchpoint","gdb_7_2-branchpoint","gdb_7_3-branchpoint","gdb_7_4-branchpoint","gdb_7_5-branchpoint","gdb_7_6-branchpoint","users/ARM/embedded-binutils-master-2016q4","users/ARM/embedded-binutils-master-2017q4","users/ARM/embedded-gdb-master-2017q4"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-20712.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}