Repository navigation
Update PHP to 8.5.13 (ZTS) - #175
Merged
en-tniepraschk merged 3 commits intoNov 20, 2026
Merged
Conversation
PHP 8.5.13 is the security release of 2026-11-19.
PHP 8.5.13 changed ext/standard/tests/ini_info/php_ini_loaded_file.phpt to pass TEST_PHP_EXTRA_ARGS to the "no ini file" call too. Under make test those contain -c tmp-php.ini, which wins over -n, so the test fails on both architectures. Fixed upstream in php/php-src@6521c11d99, which is not part of 8.5.13.
sapi/fpm/tests/gh24046-stdio-pipe-double-close.phpt (new in this release) starts a background `sleep 3 &` that inherits FPM's listening socket. In CI the following FPM tests then failed with "Address in use" (gh8646), and a later test that signals FPM aborted make test with "User defined signal 1/2", because tester.inc getPid() returned 0 and it ran `kill -SIG 0`. All three failed 8.2.36 runs broke right after gh24046.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Update the PHP ZTS build to 8.5.13, the security release of 2026-11-19. It fixes CVE-2026-115560, CVE-2026-126714, CVE-2026-127960, CVE-2026-128064, CVE-2026-128090, CVE-2026-129182, CVE-2026-129289, CVE-2026-129291, CVE-2026-129292, CVE-2026-129438, CVE-2026-129474, CVE-2026-129481, CVE-2026-129496, CVE-2026-129501, CVE-2026-129506, CVE-2026-129538, CVE-2026-15353, CVE-2026-48841.
Update
PHP_VERSIONandPHP_SOURCE_SHA256(the tarball's sha256 as published on php.net).Validation
php-8.5.13.tar.xzmatches the sha256 that php.net publishes.3.23-stableaports patches forphp85, andfiles/patches/php-xml-expat-fallible-alloc.patch(ext/xml: Make Expat allocators fallible php/php-src#24516 is still open), apply cleanly to the 8.5.13 source (patch --dry-run).Please use the branch CI to build, test, and scan the image before merging.
Also disable
ext/standard/tests/ini_info/php_ini_loaded_file.phpt. In this release it passesTEST_PHP_EXTRA_ARGSto the "no ini file" call as well. Undermake testthose contain-c tmp-php.ini, which wins over-n, so the test failed on both architectures (reproduced locally with a minimal ZTS build). It is fixed upstream in php/php-src@6521c11d99, which did not make it into this release.Also disable
sapi/fpm/tests/gh24046-stdio-pipe-double-close.phpt, which is new in this release. It starts a backgroundsleep 3 &that inherits FPM's listening socket, so the port stays bound after the test. In CI, the next FPM tests then failed with "Address in use" (gh8646). A later test that signals FPM then abortedmake testwith "User defined signal 1/2", becausetester.incgetPid()returned 0 and it rankill -SIG 0. All three failed 8.2.36 runs broke right after this test.