{"id":34504,"date":"2021-10-25T19:00:02","date_gmt":"2021-10-25T19:00:02","guid":{"rendered":"https:\/\/www.hostduplex.com\/kb\/?post_type=ht_kb&#038;p=34504"},"modified":"2021-10-25T20:56:08","modified_gmt":"2021-10-25T20:56:08","slug":"php-version-8-0-12","status":"publish","type":"ht_kb","link":"https:\/\/www.hostduplex.com\/kb\/article\/php-version-8-0-12\/","title":{"rendered":"PHP version 8.0.12"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Changelog<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>CLI:<br><ul><li>Fixed bug&nbsp;<a href=\"http:\/\/bugs.php.net\/81496\" target=\"_blank\" rel=\"noopener\">#81496<\/a>&nbsp;(Server logs incorrect request method).<br><\/li><\/ul><\/li><li>Core:<br><ul><li>Fixed bug&nbsp;<a href=\"http:\/\/bugs.php.net\/81435\" target=\"_blank\" rel=\"noopener\">#81435<\/a>&nbsp;(Observer current_observed_frame may point to an old (overwritten) frame).<\/li><li>Fixed bug&nbsp;<a href=\"http:\/\/bugs.php.net\/81380\" target=\"_blank\" rel=\"noopener\">#81380<\/a>&nbsp;(Observer may not be initialized properly).<br><\/li><\/ul><\/li><li>DOM:<br><ul><li>Fixed bug&nbsp;<a href=\"http:\/\/bugs.php.net\/81433\" target=\"_blank\" rel=\"noopener\">#81433<\/a>&nbsp;(DOMElement::setIdAttribute() called twice may remove ID).<br><\/li><\/ul><\/li><li>FFI:<br><ul><li>Fixed bug&nbsp;<a href=\"http:\/\/bugs.php.net\/79576\" target=\"_blank\" rel=\"noopener\">#79576<\/a>&nbsp;(&#8220;TYPE *&#8221; shows unhelpful message when type is not defined).<br><\/li><\/ul><\/li><li>FPM:<br><ul><li>Fixed bug&nbsp;<a href=\"http:\/\/bugs.php.net\/81026\" target=\"_blank\" rel=\"noopener\">#81026<\/a>&nbsp;(PHP-FPM oob R\/W in root process leading to privilege escalation) (CVE-2021-21703).<br><\/li><\/ul><\/li><li>Fileinfo:<br><ul><li>Fixed bug&nbsp;<a href=\"http:\/\/bugs.php.net\/78987\" target=\"_blank\" rel=\"noopener\">#78987<\/a>&nbsp;(High memory usage during encoding detection).<br><\/li><\/ul><\/li><li>Filter:<br><ul><li>Fixed bug&nbsp;<a href=\"http:\/\/bugs.php.net\/61700\" target=\"_blank\" rel=\"noopener\">#61700<\/a>&nbsp;(FILTER_FLAG_IPV6\/FILTER_FLAG_NO_PRIV|RES_RANGE failing).<br><\/li><\/ul><\/li><li>Opcache:<br><ul><li>Fixed bug&nbsp;<a href=\"http:\/\/bugs.php.net\/81472\" target=\"_blank\" rel=\"noopener\">#81472<\/a>&nbsp;(Cannot support large linux major\/minor device number when read \/proc\/self\/maps).<br><\/li><\/ul><\/li><li>Reflection:<br><ul><li>ReflectionAttribute is no longer final.<br><\/li><\/ul><\/li><li>SPL:<br><ul><li>Fixed bug&nbsp;<a href=\"http:\/\/bugs.php.net\/80663\" target=\"_blank\" rel=\"noopener\">#80663<\/a>&nbsp;(Recursive SplFixedArray::setSize() may cause double-free).<\/li><li>Fixed bug&nbsp;<a href=\"http:\/\/bugs.php.net\/81477\" target=\"_blank\" rel=\"noopener\">#81477<\/a>&nbsp;(LimitIterator + SplFileObject regression in 8.0.1).<br><\/li><\/ul><\/li><li>Standard:<br><ul><li>Fixed bug&nbsp;<a href=\"http:\/\/bugs.php.net\/69751\" target=\"_blank\" rel=\"noopener\">#69751<\/a>&nbsp;(Change Error message of sprintf\/printf for missing\/typo position specifier).<br><\/li><\/ul><\/li><li>Streams:<br><ul><li>Fixed bug&nbsp;<a href=\"http:\/\/bugs.php.net\/81475\" target=\"_blank\" rel=\"noopener\">#81475<\/a>&nbsp;(stream_isatty emits warning with attached stream wrapper).<br><\/li><\/ul><\/li><li>XML:<br><ul><li>Fixed bug&nbsp;<a href=\"http:\/\/bugs.php.net\/70962\" target=\"_blank\" rel=\"noopener\">#70962<\/a>&nbsp;(XML_OPTION_SKIP_WHITE strips embedded whitespace).<br><\/li><\/ul><\/li><li>Zip:<br><ul><li>Fixed bug&nbsp;<a href=\"http:\/\/bugs.php.net\/81490\" target=\"_blank\" rel=\"noopener\">#81490<\/a>&nbsp;(ZipArchive::extractTo() may leak memory).<\/li><li>Fixed bug&nbsp;<a href=\"http:\/\/bugs.php.net\/77978\" target=\"_blank\" rel=\"noopener\">#77978<\/a>&nbsp;(Dirname ending in colon unzips to wrong dir).<br><\/li><\/ul><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For more information, see the <a href=\"https:\/\/www.php.net\" target=\"_blank\" rel=\"noopener\">PHP website<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&nbsp;#81496&nbsp;(Server logs incorrect request method). Core: Fixed bug&nbsp;#81435&nbsp;(Observer current_observed_frame may point to an old (overwritten) frame). Fixed bug&nbsp;#81380&nbsp;(Observer may&#8230;<\/p>\n","protected":false},"author":2,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"ht-kb-category":[],"ht-kb-tag":[122,214,210,213],"class_list":["post-34504","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_tag-php","ht_kb_tag-php-8-0-12","ht_kb_tag-security","ht_kb_tag-update"],"_links":{"self":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/ht-kb\/34504","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/comments?post=34504"}],"version-history":[{"count":2,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/ht-kb\/34504\/revisions"}],"predecessor-version":[{"id":34506,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/ht-kb\/34504\/revisions\/34506"}],"wp:attachment":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/media?parent=34504"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=34504"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=34504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}