NULL Pointer Dereference Affecting binutils-devel package, versions <0:2.29.1-27.amzn2.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
2.13% (82nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-BINUTILSDEVEL-9726948
  • published17 Apr 2025
  • disclosed29 Apr 2018

Introduced: 29 Apr 2018

CVE-2018-10535  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 binutils-devel to version 0:2.29.1-27.amzn2.0.1 or higher.
This issue was patched in ALAS2-2019-1185.

NVD Description

Note: Versions mentioned in the description apply only to the upstream binutils-devel package and not the binutils-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

The ignore_section_sym function in elf.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.30, does not validate the output_section pointer in the case of a symtab entry with a "SECTION" type that has a "0" value, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted file, as demonstrated by objcopy.