|
877 | 877 |
|
878 | 878 | <a id="PHP_8_4"></a> |
879 | 879 |
|
| 880 | +<section class="version" id="8.4.21"><!-- {{{ 8.4.21 --> |
| 881 | +<h3>Version 8.4.21</h3> |
| 882 | +<b><?php release_date('07-May-2026'); ?></b> |
| 883 | +<ul><li>Core: |
| 884 | +<ul> |
| 885 | + <li>Fixed bug <?php githubissuel('php/php-src', 19983); ?> (GC assertion failure with fibers, generators and destructors).</li> |
| 886 | + <li>Fixed bug <?php githubissuel('php/php-src', 21478); ?> (Forward property operations to real instance for initialized lazy proxies).</li> |
| 887 | + <li>Fixed bug <?php githubissuel('php/php-src', 21605); ?> (Missing addref for Countable::count()).</li> |
| 888 | + <li>Fixed bug <?php githubissuel('php/php-src', 21699); ?> (Assertion failure in shutdown_executor when resolving self::/parent::/static:: callables if the error handler throws).</li> |
| 889 | + <li>Fixed bug <?php githubissuel('php/php-src', 21603); ?> (Missing addref for __unset).</li> |
| 890 | + <li>Fixed bug <?php githubissuel('php/php-src', 21760); ?> (Trait with class constant name conflict against enum case causes SEGV).</li> |
| 891 | +</ul></li> |
| 892 | +<li>CLI: |
| 893 | +<ul> |
| 894 | + <li>Fixed bug <?php githubissuel('php/php-src', 21754); ?> (`--rf` command line option with a method triggers ext/reflection deprecation warnings).</li> |
| 895 | +</ul></li> |
| 896 | +<li>Curl: |
| 897 | +<ul> |
| 898 | + <li>Add support for brotli and zstd on Windows.</li> |
| 899 | +</ul></li> |
| 900 | +<li>DOM: |
| 901 | +<ul> |
| 902 | + <li>Fixed <?php githubsecurityl('php/php-src', '4jhr-8w89-j733'); ?> and <?php githubissuel('php/php-src', 21566); ?> (Dom\XMLDocument::C14N() emits duplicate xmlns declarations after setAttributeNS()). (CVE-2026-7263)</li> |
| 903 | + <li>Fixed bug <?php githubissuel('php/php-src', 21688); ?> (segmentation fault on empty HTMLDocument).</li> |
| 904 | + <li>Upgrade to lexbor v2.7.0.</li> |
| 905 | +</ul></li> |
| 906 | +<li>FPM: |
| 907 | +<ul> |
| 908 | + <li>Fixed <?php githubsecurityl('php/php-src', '7qg2-v9fj-4mwv'); ?> (XSS within status endpoint). (CVE-2026-6735)</li> |
| 909 | +</ul></li> |
| 910 | +<li>Iconv: |
| 911 | +<ul> |
| 912 | + <li>Fixed bug <?php githubissuel('php/php-src', 17399); ?> (iconv memory leak on bailout).</li> |
| 913 | +</ul></li> |
| 914 | +<li>MBString: |
| 915 | +<ul> |
| 916 | + <li>Fixed <?php githubsecurityl('php/php-src', 'wm6j-2649-pv75'); ?> (Null pointer dereference in php_mb_check_encoding() via mb_ereg_search_init()). (CVE-2026-7259)</li> |
| 917 | + <li>Fixed <?php githubsecurityl('php/php-src', '74r9-qxhc-fx53'); ?> (Out-of-bounds access in mbfl_name2encoding_ex()). (CVE-2026-6104)</li> |
| 918 | +</ul></li> |
| 919 | +<li>Opcache: |
| 920 | +<ul> |
| 921 | + <li>Fixed bug <?php githubissuel('php/php-src', 21158); ?> (JIT: Assertion jit->ra[var].flags & (1<<0) failed in zend_jit_use_reg).</li> |
| 922 | + <li>Fixed bug <?php githubissuel('php/php-src', 21593); ?> (Borked function JIT JMPNZ smart branch).</li> |
| 923 | + <li>Fixed bug <?php githubissuel('php/php-src', 21460); ?> (COND optimization regression).</li> |
| 924 | + <li>Fixed faulty returns out of zend_try block in zend_jit_trace().</li> |
| 925 | +</ul></li> |
| 926 | +<li>OpenSSL: |
| 927 | +<ul> |
| 928 | + <li>Fix a bunch of memory leaks and crashes on edge cases.</li> |
| 929 | +</ul></li> |
| 930 | +<li>PDO_Firebird: |
| 931 | +<ul> |
| 932 | + <li>Fixed <?php githubsecurityl('php/php-src', 'w476-322c-wpvm'); ?> (SQL injection via NUL bytes in quoted strings). (CVE-2025-14179)</li> |
| 933 | +</ul></li> |
| 934 | +<li>Phar: |
| 935 | +<ul> |
| 936 | + <li>Restore is_link handler in phar_intercept_functions_shutdown.</li> |
| 937 | + <li>Fixed bug <?php githubissuel('php/php-src', 21797); ?> (phar: NULL dereference in Phar::webPhar() when SCRIPT_NAME is absent from SAPI environment).</li> |
| 938 | + <li>Fix memory leak in Phar::offsetGet().</li> |
| 939 | + <li>Fix memory leak in phar_add_file().</li> |
| 940 | + <li>Fixed bug <?php githubissuel('php/php-src', 21799); ?> (phar: propagate phar_stream_flush return value from phar_stream_close).</li> |
| 941 | + <li>Fix memory leak in phar_verify_signature() when md_ctx is invalid.</li> |
| 942 | +</ul></li> |
| 943 | +<li>Random: |
| 944 | +<ul> |
| 945 | + <li>Fixed bug <?php githubissuel('php/php-src', 21731); ?> (Random\Engine\Xoshiro256StarStar::__unserialize() accepts all-zero state).</li> |
| 946 | +</ul></li> |
| 947 | +<li>Session: |
| 948 | +<ul> |
| 949 | + <li>Fixed memory leak when session GC callback return a refcounted value.</li> |
| 950 | +</ul></li> |
| 951 | +<li>SOAP: |
| 952 | +<ul> |
| 953 | + <li>Fixed <?php githubsecurityl('php/php-src', '85c2-q967-79q5'); ?> (Stale SOAP_GLOBAL(ref_map) pointer with Apache Map). (CVE-2026-6722)</li> |
| 954 | + <li>Fixed <?php githubsecurityl('php/php-src', 'm33r-qmcv-p97q'); ?> (Use-after-free after header parsing failure with SOAP_PERSISTENCE_SESSION). (CVE-2026-7261)</li> |
| 955 | + <li>Fixed <?php githubsecurityl('php/php-src', 'hmxp-6pc4-f3vv'); ?> (Broken Apache map value NULL check). (CVE-2026-7262)</li> |
| 956 | +</ul></li> |
| 957 | +<li>SPL: |
| 958 | +<ul> |
| 959 | + <li>Fixed bug <?php githubissuel('php/php-src', 21499); ?> (RecursiveArrayIterator getChildren UAF after parent free).</li> |
| 960 | + <li>Fix concurrent iteration and deletion issues in SplObjectStorage.</li> |
| 961 | +</ul></li> |
| 962 | +<li>Standard: |
| 963 | +<ul> |
| 964 | + <li>Fixed <?php githubsecurityl('php/php-src', '96wq-48vp-hh57'); ?> (Signed integer overflow of char array offset). (CVE-2026-7568)</li> |
| 965 | + <li>Fixed <?php githubsecurityl('php/php-src', 'm8rr-4c36-8gq4'); ?> (Consistently pass unsigned char to ctype.h functions). (CVE-2026-7258)</li> |
| 966 | +</ul></li> |
| 967 | +<li>Streams: |
| 968 | +<ul> |
| 969 | + <li>Fixed bug <?php githubissuel('php/php-src', 21468); ?> (Segfault in file_get_contents w/ a https URL and a proxy set).</li> |
| 970 | +</ul></li> |
| 971 | +<li>XSL: |
| 972 | +<ul> |
| 973 | + <li>Fixed bug <?php githubissuel('php/php-src', 21600); ?> (Segfault on module shutdown).</li> |
| 974 | +</ul></li> |
| 975 | +<li>Zip: |
| 976 | +<ul> |
| 977 | + <li>Fixed bug <?php githubissuel('php/php-src', 21698); ?> (memory leak with ZipArchive::addGlob() early return statements).</li> |
| 978 | +</ul></li> |
| 979 | +</ul> |
| 980 | +<!-- }}} --></section> |
| 981 | + |
| 982 | + |
| 983 | + |
880 | 984 | <section class="version" id="8.4.20"><!-- {{{ 8.4.20 --> |
881 | 985 | <h3>Version 8.4.20</h3> |
882 | 986 | <b><?php release_date('09-Apr-2026'); ?></b> |
|
0 commit comments