A flaw was found in the way the File Information (fileinfo) extension parsed Executable and Linkable Format (ELF) files. A remote attacker could use this flaw to crash a PHP application using fileinfo via a specially crafted ELF file.
It was reported  that file versions prior to 5.22 did not limit the number of ELF notes processed, which could lead to a local resource exhaustion.
This issue seems to be introduced here:
which ended up in 5.08 release.
Created file tracking bugs for this issue:
Affects: fedora-all [bug 1180640]
*** Bug 1175082 has been marked as a duplicate of this bug. ***
This issue has been addressed in the following products:
Red Hat Enterprise Linux 6
Via RHSA-2016:0760 https://rhn.redhat.com/errata/RHSA-2016-0760.html