CVE-2014-8116

NameCVE-2014-8116
DescriptionThe ELF parser (readelf.c) in file before 5.21 allows remote attackers to cause a denial of service (CPU consumption or crash) via a large number of (1) program or (2) section headers or (3) invalid capabilities.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-131-1, DSA-3121-1
NVD severitymedium (attack range: remote)
Debian Bugs773148

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
file (PTS)wheezy5.11-2+deb7u8fixed
wheezy (security)5.11-2+deb7u9fixed
jessie1:5.22+15-2+deb8u3fixed
stretch (security), stretch1:5.30-1+deb9u1fixed
buster, sid1:5.32-1fixed
php5 (PTS)wheezy5.4.45-0+deb7u2fixed
wheezy (security)5.4.45-0+deb7u11fixed
jessie (security), jessie5.6.30+dfsg-0+deb8u1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
filesource(unstable)1:5.21+15-1low773148
filesourcesqueeze5.04-5+squeeze9mediumDLA-131-1
filesourcewheezy5.11-2+deb7u7mediumDSA-3121-1
php5source(unstable)5.6.4+dfsg-2medium
php5sourcesqueeze(not affected)
php5sourcewheezy(not affected)

Notes

[wheezy] - php5 <not-affected> (Affected code not used in filemagic)
[squeeze] - php5 <not-affected> (Affected code not used in filemagic)
https://www.freebsd.org/security/advisories/FreeBSD-SA-14:28.file.asc
https://github.com/file/file/commit/b4c01141e5367f247b84dcaf6aefbb4e741842b
https://github.com/file/file/commit/d7cdad007c507e6c79f51f058dd77fab70ceb9f6
Other commits needed as well: http://www.openwall.com/lists/oss-security/2014/12/16/2

Search for package or bug name: Reporting problems