CVEfocus › CVE database › CVE-2018-19931

CVE-2018-19931

CVSS 7.8 HighEPSS 1.6% (higher than 76% of CVEs)Published 2018-12-07Updated 2024-08-05Assigner: mitre

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 bfd_elf32_swap_phdr_in in elfcode.h because the number of program headers is not restricted.

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

21Fixed
2Fix pending
4Will not fix
12Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04binutilsNot affected
vulnerable_code_not_present
Ubuntu 25.10binutilsNot affected
vulnerable_code_not_present
Ubuntu 24.04binutilsNot affected
vulnerable_code_not_present
Ubuntu 22.04binutilsNot affected
vulnerable_code_not_present
Ubuntu 18.04binutilsFixed2.30-21ubuntu1~18.04.3UBUNTU-CVE-2018-19931
Ubuntu 16.04binutilsFix pending2.26.1-1ubuntu1~16.04.8+esm1 (Ubuntu Pro)UBUNTU-CVE-2018-19931
Ubuntu 14.04binutilsFix pendingUBUNTU-CVE-2018-19931
Debian 14binutilsFixed2.32.51.20190707-1DEBIAN-CVE-2018-19931
Debian 13binutilsFixed2.32.51.20190707-1DEBIAN-CVE-2018-19931
Debian 12binutilsFixed2.32.51.20190707-1DEBIAN-CVE-2018-19931
Red Hat Enterprise Linux 8binutilsNot affected
Red Hat Enterprise Linux 8binutils-develNot affected
Red Hat Enterprise Linux 8mingw-binutilsNot affected
Red Hat Enterprise Linux 8mingw-binutils-genericNot affected
Red Hat Enterprise Linux 8mingw32-binutilsNot affected
Red Hat Enterprise Linux 8mingw64-binutilsNot affected
Red Hat Enterprise Linux 7binutilsNot affected
Red Hat Enterprise Linux 7binutils-develNot affected
Red Hat Enterprise Linux 6binutilsWill not fix
Will not fix
Red Hat Enterprise Linux 6binutils-develWill not fix
Will not fix
Red Hat Enterprise Linux 5binutilsWill not fix
Will not fix
Red Hat Enterprise Linux 5binutils220Will not fix
Will not fix
Alpine Linux 3.24binutilsFixed2.32-r0ALPINE-CVE-2018-19931
Alpine Linux 3.23binutilsFixed2.32-r0ALPINE-CVE-2018-19931
Alpine Linux 3.22binutilsFixed2.32-r0ALPINE-CVE-2018-19931
Alpine Linux 3.21binutilsFixed2.32-r0ALPINE-CVE-2018-19931
Alpine Linux 3.20binutilsFixed2.32-r0ALPINE-CVE-2018-19931
Alpine Linux 3.19binutilsFixed2.32-r0ALPINE-CVE-2018-19931
Alpine Linux 3.18binutilsFixed2.32-r0ALPINE-CVE-2018-19931
Alpine Linux 3.17binutilsFixed2.32-r0ALPINE-CVE-2018-19931
Alpine Linux 3.16binutilsFixed2.32-r0ALPINE-CVE-2018-19931
Alpine Linux 3.15binutilsFixed2.32-r0ALPINE-CVE-2018-19931
Alpine Linux 3.14binutilsFixed2.32-r0ALPINE-CVE-2018-19931
Alpine Linux 3.13binutilsFixed2.32-r0ALPINE-CVE-2018-19931
Alpine Linux 3.12binutilsFixed2.32-r0ALPINE-CVE-2018-19931
Alpine Linux 3.12binutils-avrFixed2.32-r0ALPINE-CVE-2018-19931
Alpine Linux 3.11binutilsFixed2.32-r0ALPINE-CVE-2018-19931
Alpine Linux 3.11binutils-avrFixed2.32-r0ALPINE-CVE-2018-19931
Alpine Linux 3.10binutilsFixed2.32-r0ALPINE-CVE-2018-19931

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.