CVEfocus › CVE database › CVE-2018-18521

CVE-2018-18521

CVSS 5.5 MediumEPSS 1.7% (higher than 78% of CVEs)Published 2018-10-19Updated 2024-08-05Assigner: mitre

Divide-by-zero vulnerabilities in the function arlib_add_symbols() in arlib.c in elfutils 0.174 allow remote attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated by eu-ranlib, because a zero sh_entsize is mishandled.

What to do

Fixed builds are available from Debian, Red Hat, 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

13Fixed
1Fix pending
8Will not fix
10Not 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 22.04elfutilsNot affected
vulnerable_code_not_present
Ubuntu 20.04elfutilsNot affected
vulnerable_code_not_present
Ubuntu 18.04elfutilsFixed0.170-0.4ubuntu0.1UBUNTU-CVE-2018-18521
Ubuntu 16.04elfutilsFixed0.165-3ubuntu1.2UBUNTU-CVE-2018-18521
Ubuntu 14.04elfutilsFix pending0.158-0ubuntu5.3+esm1 (Ubuntu Pro)UBUNTU-CVE-2018-18521
Debian 14elfutilsFixed0.175-1DEBIAN-CVE-2018-18521
Debian 13elfutilsFixed0.175-1DEBIAN-CVE-2018-18521
Debian 12elfutilsFixed0.175-1DEBIAN-CVE-2018-18521
Red Hat Enterprise Linux 8elfutilsNot affected
Red Hat Enterprise Linux 8elfutils-default-yama-scopeNot affected
Red Hat Enterprise Linux 8elfutils-develNot affected
Red Hat Enterprise Linux 8elfutils-devel-staticNot affected
Red Hat Enterprise Linux 8elfutils-libelfNot affected
Red Hat Enterprise Linux 8elfutils-libelf-develNot affected
Red Hat Enterprise Linux 8elfutils-libelf-devel-staticNot affected
Red Hat Enterprise Linux 8elfutils-libsNot affected
Red Hat Enterprise Linux 7elfutilsFixed0:0.176-2.el7RHSA-2019:2197
Red Hat Enterprise Linux 7elfutils-default-yama-scopeFixed0:0.176-2.el7RHSA-2019:2197
Red Hat Enterprise Linux 7elfutils-develFixed0:0.176-2.el7RHSA-2019:2197
Red Hat Enterprise Linux 7elfutils-devel-staticFixed0:0.176-2.el7RHSA-2019:2197
Red Hat Enterprise Linux 7elfutils-libelfFixed0:0.176-2.el7RHSA-2019:2197
Red Hat Enterprise Linux 7elfutils-libelf-develFixed0:0.176-2.el7RHSA-2019:2197
Red Hat Enterprise Linux 7elfutils-libelf-devel-staticFixed0:0.176-2.el7RHSA-2019:2197
Red Hat Enterprise Linux 7elfutils-libsFixed0:0.176-2.el7RHSA-2019:2197
Red Hat Enterprise Linux 6elfutilsWill not fix
Will not fix
Red Hat Enterprise Linux 6elfutils-develWill not fix
Will not fix
Red Hat Enterprise Linux 6elfutils-devel-staticWill not fix
Will not fix
Red Hat Enterprise Linux 6elfutils-libelfWill not fix
Will not fix
Red Hat Enterprise Linux 6elfutils-libelf-develWill not fix
Will not fix
Red Hat Enterprise Linux 6elfutils-libelf-devel-staticWill not fix
Will not fix
Red Hat Enterprise Linux 6elfutils-libsWill not fix
Will not fix
Red Hat Enterprise Linux 5elfutilsWill not fix
Will not fix

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.