CVE-2018-18520

NameCVE-2018-18520
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1689-1, DLA-2802-1, ELA-85-1
Debian Bugs911414

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
elfutils (PTS)jessie, jessie (lts)0.159-4.2+deb8u2fixed
stretch (security)0.168-1+deb9u1fixed
stretch (lts), stretch0.168-1+deb9u2fixed
buster (security), buster, buster (lts)0.176-1.1+deb10u1fixed
bullseye0.183-1fixed
bookworm0.188-2.1fixed
sid, trixie0.192-4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
elfutilssourcewheezy0.152-1+wheezy2ELA-85-1
elfutilssourcejessie0.159-4.2+deb8u1DLA-1689-1
elfutilssourcestretch0.168-1+deb9u1DLA-2802-1
elfutilssource(unstable)0.175-1low911414

Notes

https://sourceware.org/bugzilla/show_bug.cgi?id=23787
https://sourceware.org/ml/elfutils-devel/2018-q4/msg00057.html
https://sourceware.org/git/?p=elfutils.git;a=commit;h=22d2d082d57a7470fadc0eae67179553f4919209
[wheezy] - elfutils <no-dsa> (Minor issue)

Search for package or bug name: Reporting problems