PHP Release 5.4.18


PHP 5.4.18 Release Announcement

The PHP development team announces the immediate availability of PHP 5.4.18. About 30 bugs were fixed, including security issues CVE-2013-4113 and CVE-2013-4248.

NOTE: Please do not use this release, due to the bug in the fix for CVE-2013-4248. This bug is fixed in PHP 5.4.19.

For source downloads of PHP 5.4.18 please visit our downloads page, Windows binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.

Source Code
Change Logs
core
  • Fixed value of FILTER_SANITIZE_FULL_SPECIAL_CHARS constant (previously was erroneously set to FILTER_SANITIZE_SPECIAL_CHARS value). .
  • Fixed bug #65254 (Exception not catchable when exception thrown in autoload with a namespace).
  • Fixed bug #65108 (is_callable() triggers Fatal Error).
  • Fixed bug #65088 (Generated configure script is malformed on OpenBSD).
  • Fixed bug #62964 (Possible XSS on "Registered stream filters" info).
  • Fixed bug #62672 (Error on serialize of ArrayObject).
  • Fixed bug #62475 (variant_* functions causes crash when null given as an argument).
  • Fixed bug #60732 (php_error_docref links to invalid pages).
  • Fixed bug #65226 (chroot() does not get enabled).
cgi
  • Fixed Bug #65143 (Missing php-cgi man page).
cli server
  • Fixed bug #65066 (Cli server not responsive when responding with 422 http status code).
curl
  • Fixed bug #62665 (curl.cainfo doesn't appear in php.ini).
fpm
  • Fixed bug #63983 (enabling FPM borks compile on FreeBSD).
ftp
  • Fixed bug #65228 (FTPs memory leak with SSL).
gmp
  • Fixed bug #65227 (Memory leak in gmp_cmp second parameter).
imap
  • Fixed bug #64467 (Segmentation fault after imap_reopen failure).
intl
  • Fixed bug #62759 (Buggy grapheme_substr() on edge case).
  • Fixed bug #61860 (Offsets may be wrong for grapheme_stri* functions).
mysqlnd
  • Fixed segfault in mysqlnd when doing long prepare.
odbc
  • Fixed bug #61387 (NULL valued anonymous column causes segfault in odbc_fetch_array).
openssl
  • Fixed handling null bytes in subjectAltName (CVE-2013-4248).
pdo
  • Allowed PDO_OCI to compile with Oracle Database 12c client libraries.
pdo_dblib
  • Fixed bug #65219 (PDO/dblib not working anymore ("use dbName" not sent)).
pdo_pgsql
  • Fixed meta data retrieve when OID is larger than 2^31.
phar
  • Fixed Bug #65142 (Missing phar man page).
  • Session
  • Fixed bug #62535 ($_SESSION[$key]["cancel_upload"] doesn't work as documented).
  • Fixed bug #35703 (when session_name("123") consist only digits, should warning).
  • Fixed bug #49175 (mod_files.sh does not support hash bits). Patch by oorza2k5 at gmail dot com
sockets
  • Implemented FR #63472 (Setting SO_BINDTODEVICE with socket_set_option).
spl
  • Fixed bug #65136 (RecursiveDirectoryIterator segfault).
  • Fixed bug #61828 (Memleak when calling Directory(Recursive)Iterator /Spl(Temp)FileObject ctor twice).
  • Fixed bug #60560 (SplFixedArray un-/serialize, getSize(), count() return 0, keys are strings).
xml
  • Fixed bug #65236 (heap corruption in xml parser, CVE-2013-4113).
To Top