{"id":"CVE-2018-20673","details":"The demangle_template function in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.31.1, contains an integer overflow vulnerability (for \"Create an array for saving the template argument values\") that can trigger a heap-based buffer overflow, as demonstrated by nm.","modified":"2026-07-08T20:04:28.384475Z","published":"2019-01-04T18:29:00.210Z","related":["ALSA-2021:4386"],"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/106454"},{"type":"REPORT","url":"https://sourceware.org/bugzilla/show_bug.cgi?id=24039"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://sourceware.org/git/binutils-gdb.git","events":[{"introduced":"0860693812fff944ab0602e72b762a4a2078da5b"},{"last_affected":"0860693812fff944ab0602e72b762a4a2078da5b"}],"database_specific":{"source":"CPE_STRING","extracted_events":[{"introduced":"2.31.1"},{"last_affected":"2.31.1"}],"cpe":"cpe:2.3:a:gnu:binutils:2.31.1:*:*:*:*:*:*:*"}}],"versions":["2.31.1","binutils-2_31_1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20673.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}