CVE-2018-19931: Buffer Overflow

Published Dec 7, 2018
·
Updated

An issue was discovered in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils through 2.31. There is a heap-based buffer overflow in bfdelf32swapphdrin in elfcode.h because the number of program headers is not restricted.

Affected Software

21 affected componentsFixes available
GNU binutils<=2.31
NetApp Vasa Provider Clustered Data Ontap>=7.2
Canonical Ubuntu Linux=18.04
debian/binutils
2.35.2-22.40-22.44-3
alpine/binutils<2.32-r0
2.32-r0
alpine/binutils<2.32-r0
2.32-r0
alpine/binutils<2.32-r0
2.32-r0
alpine/binutils<2.32-r0
2.32-r0
alpine/binutils<2.32-r0
2.32-r0
alpine/binutils<2.32-r0
2.32-r0
alpine/binutils<2.32-r0
2.32-r0
alpine/binutils<2.32-r0
2.32-r0
alpine/binutils<2.32-r0
2.32-r0
alpine/binutils<2.32-r0
2.32-r0
alpine/binutils<2.32-r0
2.32-r0
alpine/binutils<2.32-r0
2.32-r0
alpine/binutils<2.32-r0
2.32-r0
alpine/binutils<2.32-r0
2.32-r0
alpine/binutils<2.32-r0
2.32-r0
alpine/binutils-avr<2.32-r0
2.32-r0
alpine/binutils-avr<2.32-r0
2.32-r0

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 alpine/binutils to a version that resolves this vulnerability.

    Fixed in 2.32-r0
  3. Upgrade

    Upgrade alpine/binutils-avr to a version that resolves this vulnerability.

    Fixed in 2.32-r0

Event History

Dec 7, 2018
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
CVE Published
via MITRE·07:00 AM
Data Sourced
via MITRE·07:00 AM
Description
Data Sourced
via OSV·07:29 AM
DescriptionSeverityAffected Software
Mar 1, 2023
Data Sourced
05:14 PM
Weakness
Nov 7, 2023
Data Sourced
via NVD·02:55 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
02:55 AM
RemedyAffected Software
Updated
02:55 AM
Affected Software
Nov 21, 2024
Updated
via NVD·03:58 AM
RemedyAffected Software

Frequently Asked Questions

1

What is CVE-2018-19931?

CVE-2018-19931 is a vulnerability in the Binary File Descriptor (BFD) library (aka libbfd) as distributed in GNU Binutils through version 2.31, which can lead to a heap-based buffer overflow in bfd_elf32_swap_phdr_in in elfcode.h.

2

How does CVE-2018-19931 affect my system?

CVE-2018-19931 affects systems that have the affected version of GNU Binutils installed, specifically versions up to and including 2.31.

3

What is the severity of CVE-2018-19931?

The severity of CVE-2018-19931 is not specified in the provided information.

4

How can I fix CVE-2018-19931?

To fix CVE-2018-19931, users should update their GNU Binutils to a version that is not affected. Refer to the provided references for specific version numbers and updates.

5

Where can I find more information about CVE-2018-19931?

You can find more information about CVE-2018-19931 in the provided references: [https://sourceware.org/bugzilla/show_bug.cgi?id=23942](https://sourceware.org/bugzilla/show_bug.cgi?id=23942), [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5f60af5d24d181371d67534fa273dd221df20c07](https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5f60af5d24d181371d67534fa273dd221df20c07), [http://www.securityfocus.com/bid/106144](http://www.securityfocus.com/bid/106144).

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