Bug 1260741

Summary: php: Null pointer deref (segfault) in spl_autoload via ob_start
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: bleanhar, ccoleman, dmcphers, fedora, jdetiber, jialiu, jkeck, jokerman, jorton, kseifried, lmeyer, mmaslano, mmccomas, rcollet, webstack-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: php 5.6.13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-30 07:44:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1260761    
Bug Blocks: 1260756    

Description Adam Mariš 2015-09-07 15:11:15 UTC
If spl_autoload doesn't load anything valid, it tries to throw an exception, possibly using null pointer, causing the crash.

Upstream report:

https://bugs.php.net/bug.php?id=70290

Upstream patch:

http://git.php.net/?p=php-src.git;a=commit;h=b584b513983319be170f02828bc7c12850b40320

Comment 1 Adam Mariš 2015-09-07 16:13:12 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1260761]

Comment 2 Fedora Update System 2015-09-14 22:19:24 UTC
php-5.6.13-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.

Comment 3 Fedora Update System 2015-09-14 23:18:30 UTC
php-5.6.13-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2015-09-18 18:38:42 UTC
php-5.6.13-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 5 Tomas Hoger 2015-09-30 07:44:05 UTC
This is not considered to be a security vulnerability - crash is triggered by specially-crafted / malicious PHP script, hence trust boundary is not crossed.