cve.bz

CVE-2018-18606 NULL Pointer Dereference

5.5 mediumExploit referenceEPSS 2.3%

Medium (5.5). EPSS 2.3% estimated probability of exploitation activity in the next 30 days.

On this page
An issue was discovered in the merge_strings function in merge.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.31. There is a NULL pointer dereference in _bfd_add_merge_section when attempting to merge sections with large alignments. A specially crafted ELF allows remote attackers to cause a denial of service, as demonstrated by ld.

Severity

CVSS 3.0

5.5 medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-18606 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-18606?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-18606?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-18606 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:binutils2.31
debian:debian_linux7.0
debian:debian_linux8.0
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14binutils2.32.51.20190707-1DEBIAN-CVE-2018-18606
Ubuntu18.04:LTSbinutils2.30-21ubuntu1~18.04.3UBUNTU-CVE-2018-18606 USN-4336-1
UbuntuPro:14.04:LTSbinutilsno fix listedUBUNTU-CVE-2018-18606
UbuntuPro:16.04:LTSbinutils2.26.1-1ubuntu1~16.04.8+esm1UBUNTU-CVE-2018-18606 USN-4336-2
SUSEEnterprise Storage 4, Enterprise Storage 5, HPE Helion OpenStack 8 and 16 morebinutils2.32-9.33.1SUSE-SU-2019:2650-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Development Tools 15, Linux Enterprise Module for Package Hub 15binutils2.32-6.8.1SUSE-SU-2019:2780-1
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Development Tools 15 SP1, Linux Enterprise Module for Package Hub 15 SP1binutils2.32-7.5.1SUSE-SU-2019:2779-1
SUSELinux Enterprise Software Development Kit 12 SP4, Linux Enterprise Software Development Kit 12 SP5binutils, cross-ppc-binutils, cross-spu-binutils2.32-9.33.1SUSE-SU-2019:2650-1
openSUSELeap 15.0binutils2.32-lp150.10.1openSUSE-SU-2019:2415-1
openSUSELeap 15.1binutils, cross-rx-binutils, cross-arm-binutils and 18 more2.32-lp151.3.3.1openSUSE-SU-2019:2432-1
openSUSETumbleweedbinutils2.37-1.3openSUSE-SU-2024:10651-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue is classified with a low severity primarily because binutils is not typically exposed to untrusted inputs in most environments, limiting the possibility of exploitation. Additionally, this NULL pointer dereference is only triggered during the parsing of a specially crafted file, requiring an attacker to convince a user to process this file with ld. Furthermore, binutils does not handle privileged operations, meaning that exploitation is unlikely to lead to system compromise or escalation of privileges. Also, the impact is limited to the application itself, without affecting the broader system or network security.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5binutilsWill not fix
Red Hat Enterprise Linux 5binutils220Will not fix
Red Hat Enterprise Linux 6binutilsWill not fix
Red Hat Enterprise Linux 7binutilsWill not fix
Red Hat Enterprise Linux 8binutilsWill not fix
Red Hat Enterprise Linux 8mingw-binutilsWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-18606.

References

Check your stackJSON