Bug 1338893 (CVE-2015-8878)

Summary: CVE-2015-8878 php: main/php_open_temporary_file.c does not ensure thread safety
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abhgupta, dmcphers, fedora, hhorak, jialiu, jokerman, jorton, kseifried, lmeyer, mmccomas, rcollet, tiwillia, webstack-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: php 5.5.28, php 5.6.12 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-01 13:53:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1338927    
Bug Blocks: Embargoed1338914    

Description Andrej Nemec 2016-05-23 15:18:36 UTC
A vulnerability was found in php. main/php_open_temporary_file.c in PHP before 5.5.28 and 5.6.x before 5.6.12 does not ensure thread safety, which allows remote attackers to cause a denial of service (race condition and heap memory corruption) by leveraging an application that performs many temporary-file accesses.

Upstream bug:


Comment 1 Andrej Nemec 2016-05-23 16:35:47 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1338927]

Comment 2 Tomas Hoger 2016-06-01 13:53:57 UTC
Upstream identified that this problem was introduced via the following change:


in versions 5.5.26 and 5.6.10.  Issue was corrected by this patch:


in versions 5.5.28 and 5.6.12.  No Red Hat product included affected versions.