Skip to main content
MEDIUM

CVE-2018-18520

CVSS v3

6.5

MEDIUM

EPSS Score

2.8 %

exploit probability, as of 2026-10-18

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for elfutils.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Vendor advisories

  • CVE-2018-18520 Red Hat Product Security443 products fixed · 9 known affected

    elfutils: eu-size cannot handle recursive ar files

    elfutils as a component of Red Hat Enterprise Linux 5 · elfutils as a component of Red Hat Enterprise Linux 6 · elfutils-devel as a component of Red Hat Enterprise Linux 6

  • RHBA-2020:0547 Red Hat Product Security3 products fixed

    Red Hat Bug Fix Advisory: Container Image Rebuild for Ansible Tower 3.4 Dependency

  • RHSA-2019:2197 Red Hat Product Security119 products fixed

    Red Hat Security Advisory: elfutils security, bug fix, and enhancement update

Full record on NVD

Description

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.

Technical details

Published
2018-10-19

Frequently asked questions

What is CVE-2018-18520?

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.

Is CVE-2018-18520 actively exploited?

Active exploitation of CVE-2018-18520 has not been confirmed. Its EPSS score was 2.8% on 2026-10-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-18520?

CVE-2018-18520 has a CVSS v3 base score of 6.5 (MEDIUM severity).

Running elfutils? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month