{"id":"ALPINE-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":"2025-12-03T22:43:21.632760Z","published":"2019-01-15T00:29:00.257Z","upstream":["CVE-2018-20712"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2018-20712"}],"affected":[{"package":{"name":"binutils","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/binutils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}],"versions":["2.20.51.0.12-r0","2.20.51.0.4-r1","2.21-r0","2.21.1-r0","2.22-r0","2.22-r1","2.23-r0","2.23.1-r0","2.23.2-r0","2.23.2-r1","2.23.2-r2","2.23.2-r3","2.23.2-r4","2.23.2-r5","2.24-r0","2.24-r1","2.24-r2","2.24-r3","2.24-r4","2.24-r5","2.25-r0","2.25-r1","2.25-r2","2.25-r3","2.25.1-r0","2.26-r0","2.26.1-r0","2.27-r0","2.27-r1","2.28-r0","2.28-r1","2.28-r2","2.28-r3","2.30-r0","2.30-r1","2.30-r2","2.30-r3","2.30-r4","2.30-r5","2.31.1-r0","2.31.1-r1","2.31.1-r2"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-20712.json"}},{"package":{"name":"binutils","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/binutils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}],"versions":["2.20.51.0.12-r0","2.20.51.0.4-r1","2.21-r0","2.21.1-r0","2.22-r0","2.22-r1","2.23-r0","2.23.1-r0","2.23.2-r0","2.23.2-r1","2.23.2-r2","2.23.2-r3","2.23.2-r4","2.23.2-r5","2.24-r0","2.24-r1","2.24-r2","2.24-r3","2.24-r4","2.24-r5","2.25-r0","2.25-r1","2.25-r2","2.25-r3","2.25.1-r0","2.26-r0","2.26.1-r0","2.27-r0","2.27-r1","2.28-r0","2.28-r1","2.28-r2","2.28-r3","2.30-r0","2.30-r1","2.30-r2","2.30-r3","2.30-r4","2.30-r5","2.31.1-r0","2.31.1-r1","2.31.1-r2"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-20712.json"}},{"package":{"name":"binutils","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/binutils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}],"versions":["2.20.51.0.12-r0","2.20.51.0.4-r1","2.21-r0","2.21.1-r0","2.22-r0","2.22-r1","2.23-r0","2.23.1-r0","2.23.2-r0","2.23.2-r1","2.23.2-r2","2.23.2-r3","2.23.2-r4","2.23.2-r5","2.24-r0","2.24-r1","2.24-r2","2.24-r3","2.24-r4","2.24-r5","2.25-r0","2.25-r1","2.25-r2","2.25-r3","2.25.1-r0","2.26-r0","2.26.1-r0","2.27-r0","2.27-r1","2.28-r0","2.28-r1","2.28-r2","2.28-r3","2.30-r0","2.30-r1","2.30-r2","2.30-r3","2.30-r4","2.30-r5","2.31.1-r0","2.31.1-r1","2.31.1-r2"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-20712.json"}},{"package":{"name":"binutils","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/binutils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}],"versions":["2.20.51.0.12-r0","2.20.51.0.4-r1","2.21-r0","2.21.1-r0","2.22-r0","2.22-r1","2.23-r0","2.23.1-r0","2.23.2-r0","2.23.2-r1","2.23.2-r2","2.23.2-r3","2.23.2-r4","2.23.2-r5","2.24-r0","2.24-r1","2.24-r2","2.24-r3","2.24-r4","2.24-r5","2.25-r0","2.25-r1","2.25-r2","2.25-r3","2.25.1-r0","2.26-r0","2.26.1-r0","2.27-r0","2.27-r1","2.28-r0","2.28-r1","2.28-r2","2.28-r3","2.30-r0","2.30-r1","2.30-r2","2.30-r3","2.30-r4","2.30-r5","2.31.1-r0","2.31.1-r1","2.31.1-r2"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-20712.json"}},{"package":{"name":"binutils","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/binutils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}],"versions":["2.20.51.0.12-r0","2.20.51.0.4-r1","2.21-r0","2.21.1-r0","2.22-r0","2.22-r1","2.23-r0","2.23.1-r0","2.23.2-r0","2.23.2-r1","2.23.2-r2","2.23.2-r3","2.23.2-r4","2.23.2-r5","2.24-r0","2.24-r1","2.24-r2","2.24-r3","2.24-r4","2.24-r5","2.25-r0","2.25-r1","2.25-r2","2.25-r3","2.25.1-r0","2.26-r0","2.26.1-r0","2.27-r0","2.27-r1","2.28-r0","2.28-r1","2.28-r2","2.28-r3","2.30-r0","2.30-r1","2.30-r2","2.30-r3","2.30-r4","2.30-r5","2.31.1-r0","2.31.1-r1","2.31.1-r2"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-20712.json"}},{"package":{"name":"binutils","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/binutils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}],"versions":["2.20.51.0.12-r0","2.20.51.0.4-r1","2.21-r0","2.21.1-r0","2.22-r0","2.22-r1","2.23-r0","2.23.1-r0","2.23.2-r0","2.23.2-r1","2.23.2-r2","2.23.2-r3","2.23.2-r4","2.23.2-r5","2.24-r0","2.24-r1","2.24-r2","2.24-r3","2.24-r4","2.24-r5","2.25-r0","2.25-r1","2.25-r2","2.25-r3","2.25.1-r0","2.26-r0","2.26.1-r0","2.27-r0","2.27-r1","2.28-r0","2.28-r1","2.28-r2","2.28-r3","2.30-r0","2.30-r1","2.30-r2","2.30-r3","2.30-r4","2.30-r5","2.31.1-r0","2.31.1-r1","2.31.1-r2"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-20712.json"}},{"package":{"name":"binutils","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/binutils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}],"versions":["2.20.51.0.12-r0","2.20.51.0.4-r1","2.21-r0","2.21.1-r0","2.22-r0","2.22-r1","2.23-r0","2.23.1-r0","2.23.2-r0","2.23.2-r1","2.23.2-r2","2.23.2-r3","2.23.2-r4","2.23.2-r5","2.24-r0","2.24-r1","2.24-r2","2.24-r3","2.24-r4","2.24-r5","2.25-r0","2.25-r1","2.25-r2","2.25-r3","2.25.1-r0","2.26-r0","2.26.1-r0","2.27-r0","2.27-r1","2.28-r0","2.28-r1","2.28-r2","2.28-r3","2.30-r0","2.30-r1","2.30-r2","2.30-r3","2.30-r4","2.30-r5","2.31.1-r0","2.31.1-r1","2.31.1-r2"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-20712.json"}},{"package":{"name":"binutils","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/binutils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}],"versions":["2.20.51.0.12-r0","2.20.51.0.4-r1","2.21-r0","2.21.1-r0","2.22-r0","2.22-r1","2.23-r0","2.23.1-r0","2.23.2-r0","2.23.2-r1","2.23.2-r2","2.23.2-r3","2.23.2-r4","2.23.2-r5","2.24-r0","2.24-r1","2.24-r2","2.24-r3","2.24-r4","2.24-r5","2.25-r0","2.25-r1","2.25-r2","2.25-r3","2.25.1-r0","2.26-r0","2.26.1-r0","2.27-r0","2.27-r1","2.28-r0","2.28-r1","2.28-r2","2.28-r3","2.30-r0","2.30-r1","2.30-r2","2.30-r3","2.30-r4","2.30-r5","2.31.1-r0","2.31.1-r1","2.31.1-r2"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-20712.json"}},{"package":{"name":"binutils","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/binutils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}],"versions":["2.20.51.0.12-r0","2.20.51.0.4-r1","2.21-r0","2.21.1-r0","2.22-r0","2.22-r1","2.23-r0","2.23.1-r0","2.23.2-r0","2.23.2-r1","2.23.2-r2","2.23.2-r3","2.23.2-r4","2.23.2-r5","2.24-r0","2.24-r1","2.24-r2","2.24-r3","2.24-r4","2.24-r5","2.25-r0","2.25-r1","2.25-r2","2.25-r3","2.25.1-r0","2.26-r0","2.26.1-r0","2.27-r0","2.27-r1","2.28-r0","2.28-r1","2.28-r2","2.28-r3","2.30-r0","2.30-r1","2.30-r2","2.30-r3","2.30-r4","2.30-r5","2.31.1-r0","2.31.1-r1","2.31.1-r2"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-20712.json"}},{"package":{"name":"binutils","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/binutils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}],"versions":["2.20.51.0.12-r0","2.20.51.0.4-r1","2.21-r0","2.21.1-r0","2.22-r0","2.22-r1","2.23-r0","2.23.1-r0","2.23.2-r0","2.23.2-r1","2.23.2-r2","2.23.2-r3","2.23.2-r4","2.23.2-r5","2.24-r0","2.24-r1","2.24-r2","2.24-r3","2.24-r4","2.24-r5","2.25-r0","2.25-r1","2.25-r2","2.25-r3","2.25.1-r0","2.26-r0","2.26.1-r0","2.27-r0","2.27-r1","2.28-r0","2.28-r1","2.28-r2","2.28-r3","2.30-r0","2.30-r1","2.30-r2","2.30-r3","2.30-r4","2.30-r5","2.31.1-r0","2.31.1-r1","2.31.1-r2"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-20712.json"}},{"package":{"name":"binutils","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/binutils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}],"versions":["2.20.51.0.12-r0","2.20.51.0.4-r1","2.21-r0","2.21.1-r0","2.22-r0","2.22-r1","2.23-r0","2.23.1-r0","2.23.2-r0","2.23.2-r1","2.23.2-r2","2.23.2-r3","2.23.2-r4","2.23.2-r5","2.24-r0","2.24-r1","2.24-r2","2.24-r3","2.24-r4","2.24-r5","2.25-r0","2.25-r1","2.25-r2","2.25-r3","2.25.1-r0","2.26-r0","2.26.1-r0","2.27-r0","2.27-r1","2.28-r0","2.28-r1","2.28-r2","2.28-r3","2.30-r0","2.30-r1","2.30-r2","2.30-r3","2.30-r4","2.30-r5","2.31.1-r0","2.31.1-r1","2.31.1-r2"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-20712.json"}},{"package":{"name":"binutils","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/binutils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}],"versions":["2.20.51.0.12-r0","2.20.51.0.4-r1","2.21-r0","2.21.1-r0","2.22-r0","2.22-r1","2.23-r0","2.23.1-r0","2.23.2-r0","2.23.2-r1","2.23.2-r2","2.23.2-r3","2.23.2-r4","2.23.2-r5","2.24-r0","2.24-r1","2.24-r2","2.24-r3","2.24-r4","2.24-r5","2.25-r0","2.25-r1","2.25-r2","2.25-r3","2.25.1-r0","2.26-r0","2.26.1-r0","2.27-r0","2.27-r1","2.28-r0","2.28-r1","2.28-r2","2.28-r3","2.30-r0","2.30-r1","2.30-r2","2.30-r3","2.30-r4","2.30-r5","2.31.1-r0","2.31.1-r1","2.31.1-r2"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-20712.json"}},{"package":{"name":"binutils","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/binutils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}],"versions":["2.20.51.0.12-r0","2.20.51.0.4-r1","2.21-r0","2.21.1-r0","2.22-r0","2.22-r1","2.23-r0","2.23.1-r0","2.23.2-r0","2.23.2-r1","2.23.2-r2","2.23.2-r3","2.23.2-r4","2.23.2-r5","2.24-r0","2.24-r1","2.24-r2","2.24-r3","2.24-r4","2.24-r5","2.25-r0","2.25-r1","2.25-r2","2.25-r3","2.25.1-r0","2.26-r0","2.26.1-r0","2.27-r0","2.27-r1","2.28-r0","2.28-r1","2.28-r2","2.28-r3","2.30-r0","2.30-r1","2.30-r2","2.30-r3","2.30-r4","2.30-r5","2.31.1-r0","2.31.1-r1","2.31.1-r2"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-20712.json"}},{"package":{"name":"binutils","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/binutils?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}],"versions":["2.20.51.0.12-r0","2.20.51.0.4-r1","2.21-r0","2.21.1-r0","2.22-r0","2.22-r1","2.23-r0","2.23.1-r0","2.23.2-r0","2.23.2-r1","2.23.2-r2","2.23.2-r3","2.23.2-r4","2.23.2-r5","2.24-r0","2.24-r1","2.24-r2","2.24-r3","2.24-r4","2.24-r5","2.25-r0","2.25-r1","2.25-r2","2.25-r3","2.25.1-r0","2.26-r0","2.26.1-r0","2.27-r0","2.27-r1","2.28-r0","2.28-r1","2.28-r2","2.28-r3","2.30-r0","2.30-r1","2.30-r2","2.30-r3","2.30-r4","2.30-r5","2.31.1-r0","2.31.1-r1","2.31.1-r2"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-20712.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}