CVE Vulnerabilities

CVE-2018-18606

NULL Pointer Dereference

Published: Oct 23, 2018 | Modified: Nov 21, 2024
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
3.3 LOW
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product dereferences a pointer that it expects to be valid but is NULL.

Affected Software

NameVendorStart VersionEnd Version
BinutilsGnu2.31 (including)2.31 (including)
BinutilsUbuntubionic*
BinutilsUbuntucosmic*
BinutilsUbuntuesm-infra-legacy/trusty*
BinutilsUbuntuesm-infra/bionic*
BinutilsUbuntuesm-infra/xenial*
BinutilsUbuntuprecise/esm*
BinutilsUbuntutrusty*
BinutilsUbuntutrusty/esm*
BinutilsUbuntuxenial*

Potential Mitigations

References