Buffer overflow in Elfutils Project
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.028 (85.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 85.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.028 · newest: 0.028 · change: 0.000
Affected products
- Elfutils Project
- Canonical Ubuntu Linux — versions 16.04, 18.04, 18.10
- Debian Linux — versions 8.0, 9.0
- openSUSE Leap — versions 15.0, 15.1
- Red Hat Enterprise Linux Desktop — versions 7.0
- Red Hat Enterprise Linux Server — versions 7.0
- Red Hat Enterprise Linux Workstation — versions 7.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- lists.debian.org/debian-lts-announce/2019/02/msg00036.html (mailing-list, Mailing List, Third Party Advisory)
- sourceware.org/ml/elfutils-devel/2018-q4/msg00057.html (Patch, Mailing List, Third Party Advisory)
- sourceware.org/bugzilla/show_bug.cgi (Exploit, Third Party Advisory, Issue Tracking)
- usn.ubuntu.com/4012-1/ (vendor-advisory, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2019-06/msg00052.html (vendor-advisory, Mailing List, Third Party Advisory)
- access.redhat.com/errata/RHSA-2019:2197 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2021/10/msg00030.html (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-18520?
- CVE-2018-18520 is a medium-severity vulnerability in Elfutils Project, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 6.5/10. Published 2018-10-19.
- How severe is CVE-2018-18520?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2018-18520 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.