×
UpdatePHP Pro Log in Register
PHP expiry alert : PHP v8.1 has recently expired. Is your website still running this version? Click here for more details
SAFE versions of PHP: 8.5.12, 8.4.27, 8.3.36, 8.2.35
☰

PHP 5.4.40 release notes: what changed

PHP 5.4.40 came out on 16 April 2015. Below is the full list of changes it made, grouped by the part of PHP that each one affects.

What changed in PHP 5.4.40

All PHP 5.4 releases

The changes are listed in English, exactly as the PHP developers wrote them (14 in total).

Apache2handler

  • Fixed bug #69218 (potential remote code execution with apache 2.4 apache2handler). (CVE-2015-3330) (Gerrit Venema)

Core

  • Additional fix for bug #69152 (Type confusion vulnerability in exception::getTraceAsString). (Stas)
  • Fixed bug #69337 (php_stream_url_wrap_http_ex() type-confusion vulnerability). (Stas)
  • Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions). (Stas)

cURL

  • Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER). (Laruence)

Ereg

  • Fixed bug #68740 (NULL Pointer Dereference). (Laruence)

Fileinfo

  • Fixed bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault). (Anatol Belski)

GD

Phar

Postgres

SOAP

  • Fixed bug #69152 (Type Confusion Infoleak Vulnerability in unserialize() with SoapFault). (Dmitry)

Sqlite3

  • Fixed bug #66550 (SQLite prepared statement use-after-free). (Sean Heelan)

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.

Back to Guide Index
Article last updated: 21st October, 2026