{"id":"UBUNTU-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-10-24T04:47:19Z","published":"2019-01-15T00:29:00Z","upstream":["CVE-2018-20712"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-20712"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-20712"}],"affected":[{"package":{"name":"libiberty","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libiberty@20160215-1ubuntu0.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20141014-1","20160215-1","20160215-1ubuntu0.2","20160215-1ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_version":"20160215-1ubuntu0.3","binary_name":"libiberty-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-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"},{"type":"Ubuntu","score":"low"}]}