{"id":"UBUNTU-CVE-2019-7148","details":"An attempted excessive memory allocation was discovered in the function read_long_names in elf_begin.c in libelf in elfutils 0.174. Remote attackers could leverage this vulnerability to cause a denial-of-service via crafted elf input, which leads to an out-of-memory exception. NOTE: The maintainers believe this is not a real issue, but instead a \"warning caused by ASAN because the allocation is big. By setting ASAN_OPTIONS=allocator_may_return_null=1 and running the reproducer, nothing happens.\"","modified":"2026-04-22T12:21:32.751800Z","published":"2019-01-29T00:29:00Z","upstream":["CVE-2019-7148"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-7148"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-7148"}],"affected":[{"package":{"name":"elfutils","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/elfutils@0.158-0ubuntu5.3+esm1?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.157-1ubuntu1","0.158-0ubuntu3","0.158-0ubuntu4","0.158-0ubuntu5","0.158-0ubuntu5.1","0.158-0ubuntu5.2","0.158-0ubuntu5.3","0.158-0ubuntu5.3+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"elfutils","binary_version":"0.158-0ubuntu5.3+esm1"},{"binary_name":"libasm1","binary_version":"0.158-0ubuntu5.3+esm1"},{"binary_name":"libdw1","binary_version":"0.158-0ubuntu5.3+esm1"},{"binary_name":"libelf1","binary_version":"0.158-0ubuntu5.3+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-7148.json"}},{"package":{"name":"elfutils","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/elfutils@0.165-3ubuntu1.2+esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.163-4ubuntu1","0.163-5.1","0.164-1","0.165-3","0.165-3ubuntu1","0.165-3ubuntu1.1","0.165-3ubuntu1.2","0.165-3ubuntu1.2+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.165-3ubuntu1.2+esm1","binary_name":"elfutils"},{"binary_name":"libasm1","binary_version":"0.165-3ubuntu1.2+esm1"},{"binary_name":"libdw1","binary_version":"0.165-3ubuntu1.2+esm1"},{"binary_name":"libelf1","binary_version":"0.165-3ubuntu1.2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-7148.json"}},{"package":{"name":"elfutils","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/elfutils@0.170-0.4ubuntu0.1+esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.170-0.1","0.170-0.2","0.170-0.3","0.170-0.4","0.170-0.4ubuntu0.1","0.170-0.4ubuntu0.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"elfutils","binary_version":"0.170-0.4ubuntu0.1+esm1"},{"binary_name":"libasm1","binary_version":"0.170-0.4ubuntu0.1+esm1"},{"binary_name":"libdw1","binary_version":"0.170-0.4ubuntu0.1+esm1"},{"binary_name":"libelf1","binary_version":"0.170-0.4ubuntu0.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-7148.json"}}],"schema_version":"1.7.5","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":"negligible"}]}