Released on October 21, 2021, PHP 8.0.12 fixes security issues. All PHP 8.0 users are encouraged to upgrade to this version in order to reduce any security risks.
Changelog
- CLI:
- Fixed bug #81496 (Server logs incorrect request method).
- Fixed bug #81496 (Server logs incorrect request method).
- Core:
- DOM:
- Fixed bug #81433 (DOMElement::setIdAttribute() called twice may remove ID).
- Fixed bug #81433 (DOMElement::setIdAttribute() called twice may remove ID).
- FFI:
- Fixed bug #79576 (“TYPE *” shows unhelpful message when type is not defined).
- Fixed bug #79576 (“TYPE *” shows unhelpful message when type is not defined).
- FPM:
- Fixed bug #81026 (PHP-FPM oob R/W in root process leading to privilege escalation) (CVE-2021-21703).
- Fixed bug #81026 (PHP-FPM oob R/W in root process leading to privilege escalation) (CVE-2021-21703).
- Fileinfo:
- Fixed bug #78987 (High memory usage during encoding detection).
- Fixed bug #78987 (High memory usage during encoding detection).
- Filter:
- Fixed bug #61700 (FILTER_FLAG_IPV6/FILTER_FLAG_NO_PRIV|RES_RANGE failing).
- Fixed bug #61700 (FILTER_FLAG_IPV6/FILTER_FLAG_NO_PRIV|RES_RANGE failing).
- Opcache:
- Fixed bug #81472 (Cannot support large linux major/minor device number when read /proc/self/maps).
- Fixed bug #81472 (Cannot support large linux major/minor device number when read /proc/self/maps).
- Reflection:
- ReflectionAttribute is no longer final.
- ReflectionAttribute is no longer final.
- SPL:
- Standard:
- Fixed bug #69751 (Change Error message of sprintf/printf for missing/typo position specifier).
- 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).
- Fixed bug #81475 (stream_isatty emits warning with attached stream wrapper).
- XML:
- Fixed bug #70962 (XML_OPTION_SKIP_WHITE strips embedded whitespace).
- Fixed bug #70962 (XML_OPTION_SKIP_WHITE strips embedded whitespace).
- Zip:
For more information, see the PHP website.