PHP 5.6.12 came out on 6 August 2015. Below is the full list of changes it made, grouped by the part of PHP that each one affects.
The changes are listed in English, exactly as the PHP developers wrote them (30 in total).
Core
Fixed bug #70012 (Exception lost with nested finally block). (Laruence) Fixed bug #70002 (TS issues with temporary dir handling). (Anatol) Fixed bug #69793 (Remotely triggerable stack exhaustion via recursive method calls). (Stas) Fixed bug #69892 (Different arrays compare indentical due to integer key truncation). (Nikita) Fixed bug #70121 (unserialize() could lead to unexpected methods execution / NULL pointer deref). (Stas)
CLI server
Fixed bug #69655 (php -S changes MKCALENDAR request method to MKCOL). (cmb) Fixed bug #64878 (304 responses return Content-Type header). (cmb)
GD
Fixed bug #53156 (imagerectangle problem with point ordering). (cmb) Fixed bug #66387 (Stack overflow with imagefilltoborder). (CVE-2015-8874 ) (cmb) Fixed bug #70102 (imagecreatefromwebm() shifts colors). (cmb) Fixed bug #66590 (imagewebp() doesn't pad to even length). (cmb) Fixed bug #66882 (imagerotate by -90 degrees truncates image by 1px). (cmb) Fixed bug #70064 (imagescale(..., IMG_BICUBIC) leaks memory). (cmb) Fixed bug #69024 (imagescale segfault with palette based image). (cmb) Fixed bug #53154 (Zero-height rectangle has whiskers). (cmb) Fixed bug #67447 (imagecrop() add a black line when cropping). (cmb) Fixed bug #68714 (copy 'n paste error). (cmb) Fixed bug #66339 (PHP segfaults in imagexbm). (cmb) Fixed bug #70047 (gd_info() doesn't report WebP support). (cmb)
ODBC
Fixed bug #69975 (PHP segfaults when accessing nvarchar(max) defined columns). (CVE-2015-8879 ) (cmb)
OpenSSL
Fixed bug #69882 (OpenSSL error "key values mismatch" after openssl_pkcs12_read with extra cert). (Tomasz Sawicki) Fixed bug #70014 (openssl_random_pseudo_bytes() is not cryptographically secure). (CVE-2015-8867 ) (Stas)
Phar
Improved fix for bug #69441 . (Anatol Belski) Fixed bug #70019 (Files extracted from archive may be placed outside of destination directory). (CVE-2015-6833 ) (Anatol Belski)
SOAP
Fixed bug #70081 (SoapClient info leak / null pointer dereference via multiple type confusions). (Stas)
SPL
Fixed bug #70068 (Dangling pointer in the unserialization of ArrayObject items). (CVE-2015-6832 ) (sean.heelan) Fixed bug #70166 (Use After Free Vulnerability in unserialize() with SPLArrayObject). (CVE-2015-6831 ) (taoguangchen at icloud dot com) Fixed bug #70168 (Use After Free Vulnerability in unserialize() with SplObjectStorage). (CVE-2015-6831 ) (taoguangchen at icloud dot com) Fixed bug #70169 (Use After Free Vulnerability in unserialize() with SplDoublyLinkedList). (CVE-2015-6831 ) (taoguangchen at icloud dot com)
Standard
Fixed bug #70096 (Repeated iptcembed() adds superfluous FF bytes). (cmb)
← Previous release: PHP 5.6.11 Next release: PHP 5.6.13 →
This list comes from the NEWS file that the PHP developers keep with the PHP source code, and the same list is also published on php.net .
Related articles
Useful articles to help you determine if you need to upgrade your server's PHP version and how to go about doing so.
Read more →
If you don't want to use our tool or have already tried what follows is a list of three simple tests you can perform to determine your PHP version.We have listed them in order of complexity, starting with the easiest.
Read more →
← Back to Guide Index
Article last updated: 21st October, 2026