Hide Forgot
Segmentation fault in mysql_driver.c was found. When Z_TYPE is 0 (IS_NULL) then convert_to_string() returns value obtained from STR_EMPTY_ALLOC(). In turn, STR_EMPTY_ALLOC() returns a value of CG(interned_empty_string). Applying efree() on this value later causes crash. This issue was introduced by commit http://git.php.net/?p=php-src.git;a=commit;h=ef1bd8f0e6f88b1d123cea1c0b5079cfde7f90df Upstream bug: https://bugs.php.net/bug.php?id=71569 Upstream patch: http://git.php.net/?p=php-src.git;a=commit;h=bc419fee5c9704eb4ce338acacbc2380c6f4427d
Created php tracking bugs for this issue: Affects: fedora-all [bug 1315309]
Please explain how this is considered as a security issue, especially as it requires some crafted script.
Agree this is not a security issue. Additionally, it was identified in the upstream bug that the problem was only introduced via a fix for the following upstream bug: https://bugs.php.net/bug.php?id=70389 first used in PHP version 5.6.14.