{"id":"ALPINE-CVE-2018-19931","details":"An issue was discovered in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils through 2.31. There is a heap-based buffer overflow in bfd_elf32_swap_phdr_in in elfcode.h because the number of program headers is not restricted.","modified":"2025-12-03T22:43:20.633543Z","published":"2018-12-07T07:29:00.253Z","upstream":["CVE-2018-19931"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2018-19931"}],"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-19931.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-19931.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-19931.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-19931.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-19931.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-19931.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-19931.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-19931.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-19931.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-19931.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-19931.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-19931.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-19931.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-19931.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}