CVE-2018-18520

MEDIUM

elfutils < 0.174 - Denial of Service via Crafted ELF File in elf_end

Title source: llm
STIX 2.1

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.

References (7)

Core 7
Core References
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2019/02/msg00036.html
Mailing List, Patch, Third Party Advisory x_refsource_misc
https://sourceware.org/ml/elfutils-devel/2018-q4/msg00057.html
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://sourceware.org/bugzilla/show_bug.cgi?id=23787
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/4012-1/
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00052.html
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2019:2197
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2021/10/msg00030.html

Scores

CVSS v3 6.5
EPSS 0.0089
EPSS Percentile 75.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Details

CWE
CWE-119
Status published
Products (11)
canonical/ubuntu_linux 16.04
canonical/ubuntu_linux 18.04
canonical/ubuntu_linux 18.10
debian/debian_linux 8.0
debian/debian_linux 9.0
elfutils_project/elfutils < 0.174
opensuse/leap 15.0
opensuse/leap 15.1
redhat/enterprise_linux_desktop 7.0
redhat/enterprise_linux_server 7.0
... and 1 more
Published Oct 19, 2018
Tracked Since Feb 18, 2026