VDB

CVE-2018-18521

CVE-2018-18521 PUBLISHED

Reported by mitre · Published October 19, 2018

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
elfutils-libelf-develAmazon Linux0.176-2.amzn2
elfutilsUbuntu:16.04:LTS0.165-3ubuntu1.2

Affected products

VendorProductVersions
n/an/an/a
amazon:2elfutils-libelf-devel0
n/an/a*
archelfutils0
amazon:2elfutils-devel0
amazon:2elfutils-libs0
amazon:2elfutils-libelf0
amazon:2elfutils-libelf-devel-static0
amazon:2elfutils0
amazon:2elfutils-devel-static0
amazon:2elfutils-default-yama-scope0

Timeline

  • Oct 19, 2018 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 6, 2026 Distribution Patch (63 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (69 in total, the first dated here)
  • Sep 22, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-18521
vulnetix vdb fixes CVE-2018-18521

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-18521/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›