VDB

CVE-2018-18520

CVE-2018-18520 PUBLISHED

Reported by mitre · Published October 19, 2018

An Invalid Memory Address Dereference exists in the function elf_end in libelf in elfutils through v0.174. Although eu-size is intended to support ar files inside ar files, handle_ar in size.c closes the outer ar file before handling all inner entries. The vulnerability allows attackers to cause a denial of service (application crash) with a crafted ELF file.

Fixed versions

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

PackageEcosystemFixed in
elfutils-libelfAmazon Linux0.176-2.amzn2
elfutils-develAmazon Linux0.176-2.amzn2
elfutilsArch Linux0.175-1
elfutilsUbuntu:Pro:14.04:LTS0.158-0ubuntu5.3+esm1
elfutilselfutils_project0.174
elfutilsUbuntu:18.04:LTS0.170-0.4ubuntu0.1

Affected products

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

Timeline

  • Oct 19, 2018 CVE Published
  • Dec 13, 2019 PoC Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • 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-18520
vulnetix vdb fixes CVE-2018-18520

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-18520/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 ›