Skip to content

Update PHP to 8.5.13 (ZTS) - #175

Merged
en-tniepraschk merged 3 commits into
Endava:release/8.5-ztsfrom
llupa:security/php-8.5.13-zts
Nov 20, 2026
Merged

en-tniepraschk merged 3 commits into
Endava:release/8.5-ztsfrom
llupa:security/php-8.5.13-zts

Conversation

@llupa

@llupa llupa commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

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_VERSION and PHP_SOURCE_SHA256 (the tarball's sha256 as published on php.net).

Validation

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 passes TEST_PHP_EXTRA_ARGS to the "no ini file" call as well. Under make test those 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 background sleep 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 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 this test.

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.
@en-tniepraschk
en-tniepraschk merged commit e32b53c into Endava:release/8.5-zts Nov 20, 2026
36 checks passed
@llupa
llupa deleted the security/php-8.5.13-zts branch November 20, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants