Skip to content

Update PHP to 8.2.36 (ZTS) - #172

Merged
en-tniepraschk merged 4 commits into
Endava:release/8.2-ztsfrom
llupa:security/php-8.2.36-zts
Nov 20, 2026
Merged

en-tniepraschk merged 4 commits into
Endava:release/8.2-ztsfrom
llupa:security/php-8.2.36-zts

Conversation

@llupa

@llupa llupa commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Update the PHP ZTS build to 8.2.36, 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-129289, CVE-2026-129291, CVE-2026-129292, CVE-2026-129496, CVE-2026-129506, CVE-2026-129538, CVE-2026-15353.

The 3.21-stable aports recipe is still on 8.2.35, so build the requested version from the official php.net tarball instead. The tarball is checked against its published sha256, the same way release/8.4-zts and release/8.5-zts already do it: pkgver is overridden, and abuild checksum regenerates the sha512 from the verified file. PHP_VERSION is now a global build arg shared by both stages.

Validation

Please use the branch CI to build, test, and scan the image before merging.

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.2.36 is the security release of 2026-11-19. The 3.21-stable aports recipe is still on 8.2.35, so build the requested version from the verified php.net tarball like release/8.4-zts does.
The arm64 CI build of 8.2.36 failed only on sapi/fpm/tests/gh8646.phpt, because FPM could not bind 127.0.0.1:9008 (Address in use) while the tests ran in parallel. The same test passed with 8.2.35.
The amd64 CI build of 8.2.36 aborted make test with "User defined signal 1". When FPM fails to start (port collision under the parallel run), sapi/fpm/tests/tester.inc getPid() returns 0, and gh8885-stderr-fd-reload-usr1.phpt then runs `kill -USR1 0`, which signals the whole process group.
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 381180d into Endava:release/8.2-zts Nov 20, 2026
36 checks passed
@llupa
llupa deleted the security/php-8.2.36-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.

3 participants