Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 539106 (CVE-2014-9653) - <sys-apps/file-5.22: malformed elf file causes access to uninitialized memory
Summary: <sys-apps/file-5.22: malformed elf file causes access to uninitialized memory
Alias: CVE-2014-9653
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
Whiteboard: A3 [glsa cve]
Depends on:
Reported: 2015-02-06 13:56 UTC by Agostino Sarubbo
Modified: 2017-01-17 09:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2015-02-06 13:56:53 UTC
From ${URL} :

It was reported [1][2] that a malformed elf file can cause file urility to access invalid memory.
Upstream fixes that correct this:


@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 GLSAMaker/CVETool Bot gentoo-dev 2015-06-17 17:21:37 UTC
CVE-2014-9653 (
  readelf.c in file before 5.22, as used in the Fileinfo component in PHP
  before 5.4.37, 5.5.x before 5.5.21, and 5.6.x before 5.6.5, does not
  consider that pread calls sometimes read only a subset of the available
  data, which allows remote attackers to cause a denial of service
  (uninitialized memory access) or possibly have unspecified other impact via
  a crafted ELF file.
Comment 2 SpanKY gentoo-dev 2016-04-11 17:24:09 UTC
5.22 is stable everywhere now
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2016-11-21 16:50:04 UTC
@ Security: Waiting for GLSA...
Comment 4 GLSAMaker/CVETool Bot gentoo-dev 2017-01-17 09:21:22 UTC
This issue was resolved and addressed in
 GLSA 201701-42 at
by GLSA coordinator Aaron Bauman (b-man).