CVE-2018-8945: Input Validation

Published Mar 22, 2018
·
Updated

binutils through version 2.30 has a vulnerability in the elf.c:bfdsectionfromshdr() functionof the Binary File Descriptor (BFD) library (aka libbfd). An attacker could exploit this with a crafted executable file to cause a crash.

Upstream Bug:

https://sourceware.org/bugzilla/showbug.cgi?id=22809

Upstream Patch:

https://sourceware.org/bugzilla/attachment.cgi?id=10814&action=diff

Other sources

The bfdsectionfromshdr function in elf.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.30, allows remote attackers to cause a denial of service (segmentation fault) via a large attribute section.

Launchpad

Affected Software

5 affected componentsFixes available
GNU binutils=2.30
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
debian/binutils
2.35.2-22.40-22.44-3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/binutils to a version that resolves this vulnerability.

    Fixed in 2.35.2-2Fixed in 2.40-2Fixed in 2.44-3
  2. Upgrade

    Upgrade GNU Binutils (libbfd) to a version that resolves this vulnerability.

    Fixed in 2.30

Event History

Mar 22, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Mar 27, 2018
Data Sourced
via Red Hat·04:38 AM
DescriptionSeverityAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:10 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·02:07 AM
RemedyDescriptionSeverityAffected Software
Feb 27, 2025
Data Sourced
via Debian·03:53 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is CVE-2018-8945?

CVE-2018-8945 is a vulnerability in the Binary File Descriptor (BFD) library, also known as libbfd, which can cause a denial of service attack by triggering a segmentation fault.

2

How does CVE-2018-8945 impact affected software?

CVE-2018-8945 can cause a denial of service (segmentation fault) on systems running GNU Binutils 2.30 or earlier versions.

3

How severe is CVE-2018-8945?

CVE-2018-8945 has a low severity level.

4

Which versions of binutils are affected by CVE-2018-8945?

GNU Binutils 2.30 and earlier versions are affected by CVE-2018-8945.

5

How can I fix CVE-2018-8945?

To fix CVE-2018-8945, update to GNU Binutils version 2.30.90.20180627-1 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203