CVE-2018-18521

NameCVE-2018-18521
DescriptionDivide-by-zero vulnerabilities in the function arlib_add_symbols() in arlib.c in elfutils 0.174 allow remote attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated by eu-ranlib, because a zero sh_entsize is mishandled.
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 Bugs911413

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-1low911413

Notes

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

Search for package or bug name: Reporting problems