Skip to content
OpenAdvisories
High · 7.3 CVE-2014-9426 EUVD-2014-9247GHSA-hcpv-8j4p-29jp

The apprentice_load function in libmagic/apprentice.c in the Fileinfo component in PHP through 5.6.4 attempts to perform a free operation o…

Published Dec 31, 2014 · Updated Oct 29, 2024 · Assigned by mitre

Description

The apprentice_load function in libmagic/apprentice.c in the Fileinfo component in PHP through 5.6.4 attempts to perform a free operation on a stack-based character array, which allows remote attackers to cause a denial of service (memory corruption or application crash) or possibly have unspecified other impact via unknown vectors. NOTE: this is disputed by the vendor because the standard erealloc behavior makes the free operation unreachable

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed php5 5.6.28-1.1 openSUSE-SU-2024:10344-1
openSUSE Tumbleweed php7 7.0.14-1.4 openSUSE-SU-2024:10290-1
openSUSE Tumbleweed php8 8.0.11-1.1 openSUSE-SU-2024:11169-1

Advisories 3

References