{"id":"CVE-2018-20712","aliases":["ALPINE-CVE-2018-20712","BELL-CVE-2018-20712","DEBIAN-CVE-2018-20712","EUVD-2018-13259","GHSA-cgr8-f44r-j4r5","ROOT-OS-DEBIAN-12-CVE-2018-20712","UBUNTU-CVE-2018-20712"],"status":"published","title":"A heap-based buffer over-read exists in the function d_expression_1 in cp-demangle.c in GNU...","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.","severity":{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02639,"percentile":0.85674,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2019-01-15T00:00:00Z","modified":"2026-11-03T06:31:21Z","fixes":[{"ecosystem":"Alpine:v3.10","package":"binutils","fixed_in":["2.32-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"binutils","fixed_in":["2.32-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"binutils","fixed_in":["2.32-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"binutils","fixed_in":["2.32-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"binutils","fixed_in":["2.32-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"binutils","fixed_in":["2.32-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"binutils","fixed_in":["2.32-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"binutils","fixed_in":["2.32-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"binutils","fixed_in":["2.32-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"binutils","fixed_in":["2.32-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"binutils","fixed_in":["2.32-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"binutils","fixed_in":["2.32-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"binutils","fixed_in":["2.32-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"binutils","fixed_in":["2.32-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"binutils","fixed_in":["2.32-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"binutils-avr","fixed_in":["2.32-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"binutils-avr","fixed_in":["2.32-r0"],"sources":["osv"]},{"ecosystem":"Root:Debian:12","package":"binutils","fixed_in":["2.40-2.root.io.20","2.40-2.root.io.21","2.40-2.root.io.22","2.40-2.root.io.23","2.40-2.root.io.24","2.40-2.aikido.25"],"sources":["osv"]},{"ecosystem":"Root:Debian:12","package":"rootio-binutils","fixed_in":["2.40-2.root.io.20","2.40-2.root.io.21","2.40-2.root.io.22","2.40-2.root.io.23","2.40-2.root.io.24","2.40-2.aikido.25"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"binutils-avr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"binutils-avr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.32-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.40-2","2.40.50.20230111-1","2.40.50.20230215-1","2.40.50.20230501-1","2.40.50.20230510-1","2.40.50.20230602-1","2.40.50.20230611-1","2.40.50.20230611-2","2.40.50.20230622-1","2.40.50.20230625-1","2.40.50.20230630-1","2.40.90.20230705-1","2.40.90.20230714-1","2.40.90.20230714-2","2.40.90.20230720-1","2.40.90.20230729-1","2.40.90.20230729-2","2.41-1","2.41-2","2.41-3","2.41-4","2.41-5","2.41-6","2.41-7","2.41.50.20230731-1","2.41.50.20230803-1","2.41.50.20230905-1","2.41.50.20231010-1","2.41.50.20231101-1","2.41.50.20231125-1","2.41.50.20231202-1","2.41.50.20231206-1","2.41.50.20231214-1","2.41.50.20231227-1","2.41.90.20240115-1","2.41.90.20240122-1","2.42-1","2.42-2","2.42-2+hurd.1","2.42-3","2.42-4","2.42.50.20240614-1","2.42.50.20240618-1","2.42.50.20240625-1","2.42.50.20240710-1","2.42.90.20240720-1","2.42.90.20240720-2","2.43-1","2.43-2","2.43.1-1","2.43.1-2","2.43.1-3","2.43.1-4","2.43.1-5","2.43.50.20240817-1","2.43.50.20240909-1","2.43.50.20241004-1","2.43.50.20241112-1","2.43.50.20241126-1","2.43.50.20241126-2","2.43.50.20241126-3","2.43.50.20241204-1","2.43.50.20241204-2","2.43.50.20241210-1","2.43.50.20241215-1","2.43.50.20241221-1","2.43.50.20241230-1","2.43.50.20250108-1","2.43.90.20250122-1","2.43.90.20250122-2","2.43.90.20250127-1","2.43.90.20250202-1","2.44-1","2.44-2","2.44-3","2.44.50.20250201-1","2.44.50.20250207-1","2.44.50.20250218-1","2.44.50.20250218-2","2.44.50.20250309-1","2.44.50.20250405-1","2.44.50.20250502-1","2.44.50.20250520-1","2.44.50.20250528-1","2.44.50.20250707-1","2.44.90.20250719-1","2.45-1","2.45-2","2.45-3","2.45-4","2.45-5","2.45-6","2.45-7","2.45-8","2.45.50.20250813-1","2.45.50.20250903-1","2.45.50.20251005-1","2.45.50.20251023-1","2.45.50.20251023-2","2.45.50.20251122-1","2.45.50.20251125-1","2.45.50.20251201-1","2.45.50.20251209-1","2.45.50.20260116-1","2.45.50.20260119-1","2.45.90.20260125-1","2.45.90.20260201-1","2.46-1","2.46-2","2.46-3","2.46.50.20260216-1","2.46.50.20260509-1","2.46.50.20260519-1","2.46.50.20260608-1","2.46.50.20260617-1","2.46.90.20260712-1","2.47-1","2.47-2","2.47-3","2.47-4","2.47-5","2.47-6","2.47.50.20260813-1","2.47.50.20260813-2","2.47.50.20260813-3","2.47.50.20260901-1","2.47.50.20261004-1","2.47.50.20261020-1","2.47.50.20261021-1"]},{"source":"osv","ecosystem":"Debian:13","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.44-3","2.44.50.20250201-1","2.44.50.20250207-1","2.44.50.20250218-1","2.44.50.20250218-2","2.44.50.20250309-1","2.44.50.20250405-1","2.44.50.20250502-1","2.44.50.20250520-1","2.44.50.20250528-1","2.44.50.20250707-1","2.44.90.20250719-1","2.45-1","2.45-2","2.45-3","2.45-4","2.45-5","2.45-6","2.45-7","2.45-8","2.45.50.20250813-1","2.45.50.20250903-1","2.45.50.20251005-1","2.45.50.20251023-1","2.45.50.20251023-2","2.45.50.20251122-1","2.45.50.20251125-1","2.45.50.20251201-1","2.45.50.20251209-1","2.45.50.20260116-1","2.45.50.20260119-1","2.45.90.20260125-1","2.45.90.20260201-1","2.46-1","2.46-2","2.46-3","2.46.50.20260216-1","2.46.50.20260509-1","2.46.50.20260519-1","2.46.50.20260608-1","2.46.50.20260617-1","2.46.90.20260712-1","2.47-1","2.47-2","2.47-3","2.47-4","2.47-5","2.47-6","2.47.50.20260813-1","2.47.50.20260813-2","2.47.50.20260813-3","2.47.50.20260901-1","2.47.50.20261004-1","2.47.50.20261020-1","2.47.50.20261021-1"]},{"source":"osv","ecosystem":"Debian:14","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.44-3","2.44.50.20250201-1","2.44.50.20250207-1","2.44.50.20250218-1","2.44.50.20250218-2","2.44.50.20250309-1","2.44.50.20250405-1","2.44.50.20250502-1","2.44.50.20250520-1","2.44.50.20250528-1","2.44.50.20250707-1","2.44.90.20250719-1","2.45-1","2.45-2","2.45-3","2.45-4","2.45-5","2.45-6","2.45-7","2.45-8","2.45.50.20250813-1","2.45.50.20250903-1","2.45.50.20251005-1","2.45.50.20251023-1","2.45.50.20251023-2","2.45.50.20251122-1","2.45.50.20251125-1","2.45.50.20251201-1","2.45.50.20251209-1","2.45.50.20260116-1","2.45.50.20260119-1","2.45.90.20260125-1","2.45.90.20260201-1","2.46-1","2.46-2","2.46-3","2.46.50.20260216-1","2.46.50.20260509-1","2.46.50.20260519-1","2.46.50.20260608-1","2.46.50.20260617-1","2.46.90.20260712-1","2.47-1","2.47-2","2.47-3","2.47-4","2.47-5","2.47-6","2.47.50.20260813-1","2.47.50.20260813-2","2.47.50.20260813-3","2.47.50.20260901-1","2.47.50.20261004-1","2.47.50.20261020-1","2.47.50.20261021-1"]},{"source":"osv","ecosystem":"Root:Debian:12","package":"binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.40-2.root.io.20"},{"fixed":"2.40-2.root.io.21"},{"fixed":"2.40-2.root.io.22"},{"fixed":"2.40-2.root.io.23"},{"fixed":"2.40-2.root.io.24"},{"fixed":"2.40-2.aikido.25"}]}]},{"source":"osv","ecosystem":"Root:Debian:12","package":"rootio-binutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.40-2.root.io.20"},{"fixed":"2.40-2.root.io.21"},{"fixed":"2.40-2.root.io.22"},{"fixed":"2.40-2.root.io.23"},{"fixed":"2.40-2.root.io.24"},{"fixed":"2.40-2.aikido.25"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libiberty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20141014-1","20160215-1","20160215-1ubuntu0.2","20160215-1ubuntu0.3"]}],"products":[{"vendor":"gnu","product":"binutils"}],"references":[{"url":"https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88629","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=24043","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"http://www.securityfocus.com/bid/106563","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://support.f5.com/csp/article/K38336243","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20712"},{"url":"https://github.com/advisories/GHSA-cgr8-f44r-j4r5"},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-20712","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2018-20712","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-20712","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-20712","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-20712","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-20712","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.","status":"published","published":"2019-01-15T00:00:00Z","modified":"2024-08-05T12:05:17.694Z","updated_at":"2026-11-02T14:34:59.872731Z"}],"euvd":[{"id":"EUVD-2018-13259","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.","status":"published","published":"2019-01-15T00:00:00Z","modified":"2024-08-05T12:05:17Z","updated_at":"2026-11-03T02:39:30.323824Z"}],"ghsa":[{"id":"GHSA-cgr8-f44r-j4r5","title":"A heap-based buffer over-read exists in the function d_expression_1 in cp-demangle.c in GNU...","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.","status":"published","published":"2022-05-13T01:51:06Z","modified":"2023-02-02T05:02:03Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:51:20.253646Z"}],"nvd":[{"id":"CVE-2018-20712","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.","status":"published","published":"2019-01-15T00:29:00.257Z","modified":"2026-06-17T01:53:20.057Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:04:53.079938Z"}],"osv":[{"id":"ALPINE-CVE-2018-20712","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.","status":"published","published":"2019-01-15T00:29:00.257Z","modified":"2026-11-03T06:31:21.723837575Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T07:18:23.800469Z"},{"id":"BELL-CVE-2018-20712","title":"CVE-2018-20712 does not affect BellSoft software","status":"withdrawn","published":"2023-08-31T12:14:21.782789Z","modified":"2026-01-26T09:48:34.116879Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:28:14.701973Z"},{"id":"CVE-2018-20712","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.","status":"published","published":"2019-01-15T00:29:00.257Z","modified":"2026-10-24T10:31:06.989216077Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:09.145458Z"},{"id":"DEBIAN-CVE-2018-20712","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.","status":"published","published":"2019-01-15T00:29:00.257Z","modified":"2026-10-23T18:03:21.165629383Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:30.867575Z"},{"id":"UBUNTU-CVE-2018-20712","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.","status":"published","published":"2019-01-15T00:29:00Z","modified":"2025-10-24T04:47:19Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:17.91743Z"},{"id":"ROOT-OS-DEBIAN-12-CVE-2018-20712","title":"CVE-2018-20712 in binutils - Patched by Root","description":"Root has patched CVE-2018-20712 in the binutils package for Root:Debian:12. Multiple fixed versions available.","status":"published","published":"2026-08-25T10:13:46Z","modified":"2026-08-26T01:10:50.494622239Z","updated_at":"2026-11-02T15:53:30.44348Z"}]}}
