CVE-2018-20651
Description
A NULL pointer dereference in GNU Binutils 2.31.1's BFD library causes a denial of service via a crafted ELF file lacking program headers.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A NULL pointer dereference in GNU Binutils 2.31.1's BFD library causes a denial of service via a crafted ELF file lacking program headers.
Vulnerability
A NULL pointer dereference vulnerability exists in the elf_link_add_object_symbols function within elflink.c of the Binary File Descriptor (BFD) library (libbfd) in GNU Binutils 2.31.1 [1]. The flaw is triggered when processing a crafted ELF file of type ET_DYN that contains no program headers, leading to an invalid memory access [1].
Exploitation
An attacker can remotely cause a denial of service by tricking a user or automated system into processing a specially crafted ELF file using tools that rely on the affected library, such as the ld linker [1][2]. No special privileges or authentication are required beyond the ability to supply the malformed file [1].
Impact
Successful exploitation results in a denial of service, as the NULL pointer dereference causes the application to crash [1]. While the referenced advisories also mention possible arbitrary code execution in other binutils flaws, this specific CVE is limited to a crash (availability impact) [1][2].
Mitigation
Fixed versions have been released: for Ubuntu 18.04 LTS, binutils 2.30-21ubuntu1~18.04.3 [1]; for Gentoo, binutils 2.32-r1 [2]. Users should update their binutils packages to the latest available version to mitigate the vulnerability [1][2].
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
56- osv-coords54 versionspkg:rpm/opensuse/binutils&distro=openSUSE%20Leap%2015.0pkg:rpm/opensuse/binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/binutils&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/cross-aarch64-binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/cross-arm-binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/cross-avr-binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/cross-epiphany-binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/cross-hppa64-binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/cross-hppa-binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/cross-i386-binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/cross-ia64-binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/cross-m68k-binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/cross-mips-binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/cross-ppc64-binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/cross-ppc64le-binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/cross-ppc-binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/cross-riscv64-binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/cross-rx-binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/cross-s390-binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/cross-s390x-binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/cross-sparc64-binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/cross-sparc-binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/cross-spu-binutils&distro=openSUSE%20Leap%2015.1pkg:rpm/suse/binutils&distro=HPE%20Helion%20OpenStack%208pkg:rpm/suse/binutils&distro=SUSE%20Enterprise%20Storage%204pkg:rpm/suse/binutils&distro=SUSE%20Enterprise%20Storage%205pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP4pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP1pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP1pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP1pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1-LTSSpkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSSpkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCLpkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSSpkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP4pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/binutils&distro=SUSE%20OpenStack%20Cloud%207pkg:rpm/suse/binutils&distro=SUSE%20OpenStack%20Cloud%208pkg:rpm/suse/binutils&distro=SUSE%20OpenStack%20Cloud%20Crowbar%208pkg:rpm/suse/cross-ppc-binutils&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP4pkg:rpm/suse/cross-ppc-binutils&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/cross-spu-binutils&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP4pkg:rpm/suse/cross-spu-binutils&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5
< 2.32-lp150.10.1+ 53 more
- (no CPE)range: < 2.32-lp150.10.1
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.37-1.3
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.32-lp151.3.3.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-6.8.1
- (no CPE)range: < 2.32-7.5.1
- (no CPE)range: < 2.32-6.8.1
- (no CPE)range: < 2.32-7.5.1
- (no CPE)range: < 2.32-6.8.1
- (no CPE)range: < 2.32-7.5.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
- (no CPE)range: < 2.32-9.33.1
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
7- lists.opensuse.org/opensuse-security-announce/2019-10/msg00072.htmlmitrevendor-advisoryx_refsource_SUSE
- lists.opensuse.org/opensuse-security-announce/2019-11/msg00008.htmlmitrevendor-advisoryx_refsource_SUSE
- security.gentoo.org/glsa/201908-01mitrevendor-advisoryx_refsource_GENTOO
- usn.ubuntu.com/4336-1/mitrevendor-advisoryx_refsource_UBUNTU
- www.securityfocus.com/bid/106440mitrevdb-entryx_refsource_BID
- sourceware.org/bugzilla/show_bug.cgimitrex_refsource_MISC
- support.f5.com/csp/article/K38336243mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.