PHP Release 8.0.12


PHP 8.0.12 Release Announcement

The PHP development team announces the immediate availability of PHP 8.0.12. This is a security fix release.

All PHP 8.0 users are encouraged to upgrade to this version.

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

Source Code
PHP 8.0.12 (tar.gz)
SHA256: a5b78f04a89d3b401465febf449c7ea9de48681f92803dd8dc2bf922812d572b
PHP 8.0.12 (tar.bz2)
SHA256: b4886db1df322dc8fb128d8b34ae7e94f6fc682ecb29ff4f5a591d4de9feadbf
PHP 8.0.12 (tar.xz)
SHA256: a501017b3b0fd3023223ea25d98e87369b782f8a82310c4033d7ea6a989fea0a
Change Logs
cli
  • Fixed bug #81496 (Server logs incorrect request method).
core
  • Fixed bug #81435 (Observer current_observed_frame may point to an old (overwritten) frame).
  • Fixed bug #81380 (Observer may not be initialized properly).
dom
  • Fixed bug #81433 (DOMElement::setIdAttribute() called twice may remove ID).
ffi
  • Fixed bug #79576 ("TYPE *" shows unhelpful message when type is not defined).
fileinfo
  • Fixed bug #78987 (High memory usage during encoding detection).
filter
  • Fixed bug #61700 (FILTER_FLAG_IPV6/FILTER_FLAG_NO_PRIV|RES_RANGE failing).
fpm
  • Fixed bug #81026 (PHP-FPM oob R/W in root process leading to privilege escalation) (CVE-2021-21703).
opcache
  • Fixed bug #81472 (Cannot support large linux major/minor device number when read /proc/self/maps).
reflection
  • ReflectionAttribute is no longer final.
spl
  • Fixed bug #80663 (Recursive SplFixedArray::setSize() may cause double-free).
  • Fixed bug #81477 (LimitIterator + SplFileObject regression in 8.0.1).
standard
  • Fixed bug #69751 (Change Error message of sprintf/printf for missing/typo position specifier).
streams
  • Fixed bug #81475 (stream_isatty emits warning with attached stream wrapper).
xml
  • Fixed bug #70962 (XML_OPTION_SKIP_WHITE strips embedded whitespace).
zip
  • Fixed bug #81490 (ZipArchive::extractTo() may leak memory).
  • Fixed bug #77978 (Dirname ending in colon unzips to wrong dir).
To Top