Up to [cvs.NetBSD.org] / pkgsrc / lang / php82
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: recursive bump for icu 79
lang/php82: reset PKGREVISION
Pullup ticket #7278 - requested by taca
lang/php82: Security fix
Revisions pulled up:
- lang/php/phpversion.mk 1.516
- lang/php82/Makefile 1.27
- lang/php82/distinfo 1.39
---
Module Name: pkgsrc
Committed By: taca
Date: Thu Sep 24 15:37:57 UTC 2026
Modified Files:
pkgsrc/lang/php: phpversion.mk
pkgsrc/lang/php82: Makefile distinfo
Log Message:
lang/php82: update to 8.2.34
PHP 8.2.34 (2026-09-24)
- Filter:
. Fixed GHSA-ch8v-r6jh-4vvr (FILTER_SANITIZE_ENCODED does not encode 0xFF).
(Ilia Alshanetsky)
- FPM:
. Fixed GHSA-62xp-839h-2637 (IPv6 ACL bypass in FastCGI listen.allowed_clients
due to partial address comparison). (CVE-2026-91768) (Alexandre Daubois)
- MySQLnd:
. Fixed GHSA-r6x9-5r99-36j7 (Various packet overreads in mysqlnd wire
protocol). (CVE-2025-1218) (Jakub Zelenka, Nora Dossche)
- OpenSSL:
. Fixed GHSA-vvx9-73fr-5jjx (TLS hostname verification falls back to CN after
SAN mismatch). (CVE-2026-91769) (Jakub Zelenka)
. Fixed GHSA-xr7j-rvgx-xq5p (Heap buffer overflow in
php_openssl_matches_wildcard_name() on crafted server certificate wildcard
CN). (CVE-2026-91767) (Jakub Zelenka)
- Phar:
. Fixed GHSA-j3wh-g957-2m85 (Integer overflow in phar_tar_number() allowing
TAR archive entry injection). (CVE-2026-6103) (Jakub Zelenka)
- SOAP:
. Fixed GHSA-rgrp-mwpx-f6rm (Unbounded recursion in server-side
cleanup_xml_node()). (CVE-2026-91765) (Alexandre Daubois)
. Fixed GHSA-cj93-vc83-wgqv (Integer overflow to buffer overflow in SOAP HTTP
parsing). (CVE-2025-14181) (Nora Dossche, Jakub Zelenka)
- Standard:
. Fixed GHSA-88hq-2827-7pg6 (Out-of-bounds read in convert.* stream filters
when line-break-chars contains NUL). (CVE-2026-92842) (geeknik)
. Fixed GHSA-fpwc-w8rq-cr92 (Cross-origin credential leak in HTTP stream
wrapper redirects). (CVE-2026-91766) (Alexandre Daubois, Jakub Zelenka)
. Fixed GHSA-7875-c8px-7q5f (Out-of-bounds read in the HTTP stream wrapper
when following a redirect with an empty Location header). (CVE-2026-93682)
(Ilia Alshanetsky, Jordi Kroon)
- Windows:
. Fixed GHSA-9f67-6fw4-hpfp (Reserved device names are not rejected before
file and stream I/O). (CVE-2026-17545) (Shivam Mathur, Jakub Zelenka)
*: recursive bump for pcre2 10.49
*: revbump for pcre2 symbol versioning change
lang/php82: update to 8.2.34
PHP 8.2.34 (2026-09-24)
- Filter:
. Fixed GHSA-ch8v-r6jh-4vvr (FILTER_SANITIZE_ENCODED does not encode 0xFF).
(Ilia Alshanetsky)
- FPM:
. Fixed GHSA-62xp-839h-2637 (IPv6 ACL bypass in FastCGI listen.allowed_clients
due to partial address comparison). (CVE-2026-91768) (Alexandre Daubois)
- MySQLnd:
. Fixed GHSA-r6x9-5r99-36j7 (Various packet overreads in mysqlnd wire
protocol). (CVE-2025-1218) (Jakub Zelenka, Nora Dossche)
- OpenSSL:
. Fixed GHSA-vvx9-73fr-5jjx (TLS hostname verification falls back to CN after
SAN mismatch). (CVE-2026-91769) (Jakub Zelenka)
. Fixed GHSA-xr7j-rvgx-xq5p (Heap buffer overflow in
php_openssl_matches_wildcard_name() on crafted server certificate wildcard
CN). (CVE-2026-91767) (Jakub Zelenka)
- Phar:
. Fixed GHSA-j3wh-g957-2m85 (Integer overflow in phar_tar_number() allowing
TAR archive entry injection). (CVE-2026-6103) (Jakub Zelenka)
- SOAP:
. Fixed GHSA-rgrp-mwpx-f6rm (Unbounded recursion in server-side
cleanup_xml_node()). (CVE-2026-91765) (Alexandre Daubois)
. Fixed GHSA-cj93-vc83-wgqv (Integer overflow to buffer overflow in SOAP HTTP
parsing). (CVE-2025-14181) (Nora Dossche, Jakub Zelenka)
- Standard:
. Fixed GHSA-88hq-2827-7pg6 (Out-of-bounds read in convert.* stream filters
when line-break-chars contains NUL). (CVE-2026-92842) (geeknik)
. Fixed GHSA-fpwc-w8rq-cr92 (Cross-origin credential leak in HTTP stream
wrapper redirects). (CVE-2026-91766) (Alexandre Daubois, Jakub Zelenka)
. Fixed GHSA-7875-c8px-7q5f (Out-of-bounds read in the HTTP stream wrapper
when following a redirect with an empty Location header). (CVE-2026-93682)
(Ilia Alshanetsky, Jordi Kroon)
- Windows:
. Fixed GHSA-9f67-6fw4-hpfp (Reserved device names are not rejected before
file and stream I/O). (CVE-2026-17545) (Shivam Mathur, Jakub Zelenka)
*: recursive bump for pcre2 10.48
Pullup ticket #7109 - requested by taca
lang/php82: security fix
Revisions pulled up:
- lang/php/phpversion.mk 1.499
- lang/php82/Makefile 1.25
- lang/php82/distinfo 1.36
---
Module Name: pkgsrc
Committed By: taca
Date: Fri May 8 02:09:05 UTC 2026
Modified Files:
pkgsrc/lang/php: phpversion.mk
pkgsrc/lang/php82: Makefile distinfo
Log Message:
lang/php82: update to 8.2.31
PHP 8.2.31 (2026-05-07)
- Curl:
. Add support for brotli and zstd on Windows. (Shivam Mathur)
- FPM:
. Fixed GHSA-7qg2-v9fj-4mwv (XSS within status endpoint). (CVE-2026-6735)
(Jakub Zelenka)
- MBString:
. Fixed GHSA-wm6j-2649-pv75 (Null pointer dereference in
php_mb_check_encoding() via mb_ereg_search_init()). (CVE-2026-7259)
(vi3tL0u1s)
- OpenSSL:
. Fix compatibility issues with OpenSSL 4.0. (jordikroon, Remi)
- PDO_Firebird:
. Fixed GHSA-w476-322c-wpvm (SQL injection via NUL bytes in quoted strings).
(CVE-2025-14179) (SakiTakamachi)
- SOAP:
. Fixed GHSA-85c2-q967-79q5 (Stale SOAP_GLOBAL(ref_map) pointer with Apache
Map). (CVE-2026-6722) (ilutov)
. Fixed GHSA-m33r-qmcv-p97q (Use-after-free after header parsing failure with
SOAP_PERSISTENCE_SESSION). (CVE-2026-7261) (ilutov)
. Fixed GHSA-hmxp-6pc4-f3vv (Broken Apache map value NULL check).
(CVE-2026-7262) (ilutov)
- Standard:
. Fixed GHSA-96wq-48vp-hh57 (Signed integer overflow of char array offset).
(CVE-2026-7568) (TimWolla)
. Fixed GHSA-m8rr-4c36-8gq4 (Consistently pass unsigned char to ctype.h
functions). (CVE-2026-7258) (ilutov)
lang/php82: update to 8.2.31
PHP 8.2.31 (2026-05-07)
- Curl:
. Add support for brotli and zstd on Windows. (Shivam Mathur)
- FPM:
. Fixed GHSA-7qg2-v9fj-4mwv (XSS within status endpoint). (CVE-2026-6735)
(Jakub Zelenka)
- MBString:
. Fixed GHSA-wm6j-2649-pv75 (Null pointer dereference in
php_mb_check_encoding() via mb_ereg_search_init()). (CVE-2026-7259)
(vi3tL0u1s)
- OpenSSL:
. Fix compatibility issues with OpenSSL 4.0. (jordikroon, Remi)
- PDO_Firebird:
. Fixed GHSA-w476-322c-wpvm (SQL injection via NUL bytes in quoted strings).
(CVE-2025-14179) (SakiTakamachi)
- SOAP:
. Fixed GHSA-85c2-q967-79q5 (Stale SOAP_GLOBAL(ref_map) pointer with Apache
Map). (CVE-2026-6722) (ilutov)
. Fixed GHSA-m33r-qmcv-p97q (Use-after-free after header parsing failure with
SOAP_PERSISTENCE_SESSION). (CVE-2026-7261) (ilutov)
. Fixed GHSA-hmxp-6pc4-f3vv (Broken Apache map value NULL check).
(CVE-2026-7262) (ilutov)
- Standard:
. Fixed GHSA-96wq-48vp-hh57 (Signed integer overflow of char array offset).
(CVE-2026-7568) (TimWolla)
. Fixed GHSA-m8rr-4c36-8gq4 (Consistently pass unsigned char to ctype.h
functions). (CVE-2026-7258) (ilutov)
*: recursive bump for icu 78.1
lang/php82: update to 8.2.30
PHP 8.2.30 (2025-12-18)
- Curl:
. Fix curl build and test failures with version 8.16.
(nielsdos, ilutov, Jakub Zelenka)
- Opcache:
. Reset global pointers to prevent use-after-free in zend_jit_status().
(Florian Engelhardt)
- PDO:
. Fixed GHSA-8xr5-qppj-gvwj (PDO quoting result null deref). (CVE-2025-14180)
(Jakub Zelenka)
- Standard:
. Fixed GHSA-www2-q4fc-65wf (Null byte termination in dns_get_record()).
(ndossche)
. Fixed GHSA-h96m-rvf9-jgm2 (Heap buffer overflow in array_merge()).
(CVE-2025-14178) (ndossche)
. Fixed GHSA-3237-qqm7-mfv7 (Information Leak of Memory in getimagesize).
(CVE-2025-14177) (ndossche)
*: recursive bump for pcre2 Running an old binary against the new pcre doesn't work: /usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined
Pullup ticket #6976 - requested by taca
lang/php82: Security fix
Revisions pulled up:
- lang/php/phpversion.mk 1.468
- lang/php82/Makefile 1.21
- lang/php82/distinfo 1.34
---
Module Name: pkgsrc
Committed By: taca
Date: Fri Jul 4 01:23:50 UTC 2025
Modified Files:
pkgsrc/lang/php: phpversion.mk
pkgsrc/lang/php82: Makefile distinfo
Log Message:
lang/php82: update to 8.2.29
PHP 8.2.29 (2025-07-03)
- PGSQL:
. Fixed GHSA-hrwm-9436-5mv3 (pgsql extension does not check for errors during
escaping). (CVE-2025-1735) (Jakub Zelenka)
- SOAP:
. Fixed GHSA-453j-q27h-5p8x (NULL Pointer Dereference in PHP SOAP Extension
via Large XML Namespace Prefix). (CVE-2025-6491) (Lekssays, nielsdos)
- Standard:
. Fixed GHSA-3cr5-j632-f35r (Null byte termination in hostnames).
(CVE-2025-1220) (Jakub Zelenka)
lang/php82: update to 8.2.29
PHP 8.2.29 (2025-07-03)
- PGSQL:
. Fixed GHSA-hrwm-9436-5mv3 (pgsql extension does not check for errors during
escaping). (CVE-2025-1735) (Jakub Zelenka)
- SOAP:
. Fixed GHSA-453j-q27h-5p8x (NULL Pointer Dereference in PHP SOAP Extension
via Large XML Namespace Prefix). (CVE-2025-6491) (Lekssays, nielsdos)
- Standard:
. Fixed GHSA-3cr5-j632-f35r (Null byte termination in hostnames).
(CVE-2025-1220) (Jakub Zelenka)
lang/php{74,81,82,83,84}: correct include_path
Correct default include_path in configuration files.
Bump PKGREVISION.
lang/php{56,74,81,82,83}: explictly specify libdir and datadir
Explictly specify libdir and datadir to set PHP_LIBDIR and PHP_DATADIR
correctly.
Bump PKGREVISION.
php*: Improve SUPERSEDES matches. By using a generic catch-all of php-[0-9]* it was impossible for tools to correctly determine what package should be the successor when there are multiple to choose from. Matching against exact versions will mean that improved SUPERSEDES handling in the next version of pkgin should hopefully be able to support upgrades Past the php renovation. At least with a hand-modified pkgin.db and a test pkgin binary it correctly detects the php-8.2.26 => php82-8.2.28nb1 rename. Bump PKGREVISION for each.
*: recursive bump for icu 77 and libxml2 2.14
lang/php82: multiple PHP support
lang/php82: reset PKGREVISION Reset PKGREVISION with updating to 8.2.26.
*: recursive bump for icu 76 shlib major version bump
*: revbump for icu downgrade
*: recursive bump for icu 76.1 shlib bump
Pullup ticket #6868 - requested by taca lang/php81, lang/php82, lang/php83: bugfix Revisions pulled up: - lang/php81/Makefile 1.24 - lang/php82/Makefile 1.11 - lang/php83/Makefile 1.5 --- Module Name: pkgsrc Committed By: jperkin Date: Tue Jun 11 13:14:01 UTC 2024 Modified Files: pkgsrc/lang/php81: Makefile pkgsrc/lang/php82: Makefile pkgsrc/lang/php83: Makefile Log Message: php8*: Run autoconf under CONFIGURE_ENV. Without this, depending on the user's LANG, the configure stage can break due to the --disable-pdo option being parsed after the checks for individual PDO modules, which then fail. Something in the maze of m4 includes is dependent on the locale for correct ordering when generating configure.
Pullup ticket #6867 - requested by taca
lang/php82: security fix
Revisions pulled up:
- lang/php/phpversion.mk 1.430,1.435
- lang/php82/Makefile 1.9
- lang/php82/distinfo 1.21-1.22
- lang/php82/patches/patch-build_php.m4 1.1
- lang/php82/patches/patch-configure deleted
- lang/php82/patches/patch-sapi_apache2handler_config.m4 1.1
---
Module Name: pkgsrc
Committed By: taca
Date: Fri Jun 7 13:58:44 UTC 2024
Modified Files:
pkgsrc/lang/php: phpversion.mk
pkgsrc/lang/php82: Makefile distinfo
Added Files:
pkgsrc/lang/php82/patches: patch-build_php.m4
patch-sapi_apache2handler_config.m4
Removed Files:
pkgsrc/lang/php82/patches: patch-configure
Log Message:
lang/php82: update to 8.2.20
pkgsrc change:
Instead of patch configure, patch m4 files and use autoconf to generate
configure.
PHP 8.2.20 (2024-06-06)
- CGI:
. Fixed buffer limit on Windows, replacing read call usage by _read.
(David Carlier)
. Fixed bug GHSA-3qgc-jrrr-25jv (Bypass of CVE-2012-1823, Argument Injection
in PHP-CGI). (CVE-2024-4577) (nielsdos)
- CLI:
. Fixed bug GH-14189 (PHP Interactive shell input state incorrectly handles
quoted heredoc literals.). (nielsdos)
- Core:
. Fixed bug GH-13970 (Incorrect validation of #[Attribute] flags type for
non-compile-time expressions). (ilutov)
. Fixed bug GH-14140 (Floating point bug in range operation on Apple Silicon
hardware). (Derick, Saki)
- DOM:
. Fix crashes when entity declaration is removed while still having entity
references. (nielsdos)
. Fix references not handled correctly in C14N. (nielsdos)
. Fix crash when calling childNodes next() when iterator is exhausted.
(nielsdos)
. Fix crash in ParentNode::append() when dealing with a fragment
containing text nodes. (nielsdos)
- FFI:
. Fixed bug GH-14215 (Cannot use FFI::load on CRLF header file with
apache2handler). (nielsdos)
- Filter:
. Fixed bug GHSA-w8qr-v226-r27w (Filter bypass in filter_var FILTER_VALIDATE_URL).
(CVE-2024-5458) (nielsdos)
- FPM:
. Fix bug GH-14175 (Show decimal number instead of scientific notation in
systemd status). (Benjamin Cremer)
- Hash:
. ext/hash: Swap the checking order of `__has_builtin` and `__GNUC__`
(Saki Takamachi)
- Intl:
. Fixed build regression on systems without C++17 compilers. (Calvin Buckley,
Peter Kokot)
- Ini:
. Fixed bug GH-14100 (Corrected spelling mistake in php.ini files).
(Marcus Xavier)
- MySQLnd:
. Fix bug GH-14255 (mysqli_fetch_assoc reports error from
nested query). (Kamil Tekiela)
- Opcache:
. Fixed bug GH-14109 (Fix accidental persisting of internal class constant in
shm). (ilutov)
- OpenSSL:
. The openssl_private_decrypt function in PHP, when using PKCS1 padding
(OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack
unless it is used with an OpenSSL version that includes the changes from this pull
request: https://github.com/openssl/openssl/pull/13817 (rsa_pkcs1_implicit_rejection).
These changes are part of OpenSSL 3.2 and have also been backported to stable
versions of various Linux distributions, as well as to the PHP builds provided for
Windows since the previous release. All distributors and builders should ensure that
this version is used to prevent PHP from being vulnerable. (CVE-2024-2408)
- Standard:
. Fixed bug GHSA-9fcc-425m-g385 (Bypass of CVE-2024-1874).
(CVE-2024-5585) (nielsdos)
- XML:
. Fixed bug GH-14124 (Segmentation fault with XML extension under certain
memory limit). (nielsdos)
- XMLReader:
. Fixed bug GH-14183 (XMLReader::open() can't be overridden). (nielsdos)
---
Module Name: pkgsrc
Committed By: taca
Date: Fri Jun 7 23:11:41 UTC 2024
Modified Files:
pkgsrc/lang/php81: Makefile Makefile.php
pkgsrc/lang/php82: Makefile Makefile.php
pkgsrc/lang/php83: Makefile Makefile.php
pkgsrc/www/ap-php: Makefile
pkgsrc/www/php-fpm: Makefile
Log Message:
Fix build problem of www/ap-php and www/php-fpm.
Switch these packages to use autoconf, too.
---
Module Name: pkgsrc
Committed By: taca
Date: Fri May 10 15:07:21 UTC 2024
Modified Files:
pkgsrc/lang/php: phpversion.mk
pkgsrc/lang/php82: distinfo
pkgsrc/lang/php82/patches: patch-configure
Log Message:
lang/php82: update to
PHP 8.2.19 (2024-05-09)
- Core:
. Fixed bug GH-13772 (Invalid execute_data->opline pointers in observ=
er fcall
handlers when JIT is enabled). (Bob)
. Fixed bug GH-13931 (Applying zero offset to null pointer in
Zend/zend_opcode.c). (nielsdos)
. Fixed bug GH-13942 (Align the behavior of zend-max-execution-timers=
with
other timeout implementations). (K=E9vin Dunglas)
. Fixed bug GH-14003 (Broken cleanup of unfinished calls with callabl=
e convert
parameters). (ilutov)
. Fixed bug GH-14013 (Erroneous dnl appended in configure). (Peter Ko=
kot)
. Fixed bug GH-10232 (If autoloading occurs during constant resolutio=
n
filename and lineno are identified incorrectly). (ranvis)
. Fixed bug GH-13727 (Missing void keyword). (Peter Kokot)
- Fibers:
. Fixed bug GH-13903 (ASAN false positive underflow when executing co=
py()).
(nielsdos)
- FPM:
. Fixed bug GH-13563 (Setting bool values via env in FPM config fails=
).
(Jakub Zelenka)
- Intl:
. Fixed build for icu 74 and onwards. (dunglas)
- MySQLnd:
. Fix shift out of bounds on 32-bit non-fast-path platforms. (nielsdo=
s)
- Opcache:
. Fixed incorrect assumptions across compilation units for static cal=
ls.
(ilutov)
- OpenSSL:
. Fixed bug GH-10495 (feof on OpenSSL stream hangs indefinitely).
(Jakub Zelenka)
- PDO SQLite:
. Fix GH-13984 (Buffer size is now checked before memcmp). (Saki Taka=
machi)
. Fix GH-13998 (Manage refcount of agg_context->val correctly).
(Saki Takamachi)
- Phar:
. Fixed bug GH-13836 (Renaming a file in a Phar to an already existin=
g
filename causes a NULL pointer dereference). (nielsdos)
. Fixed bug GH-13833 (Applying zero offset to null pointer in zend_ha=
sh.c).
(nielsdos)
. Fix potential NULL pointer dereference before calling EVP_SignInit.=
(icy17)
- PHPDBG:
. Fixed bug GH-13827 (Null pointer access of type 'zval' in phpdbg_fr=
ame).
(nielsdos)
- Posix:
. Fix usage of reentrant functions in ext/posix. (Arnaud)
- Session:
. Fixed bug GH-13856 (Member access within null pointer of type 'ps_f=
iles' in
ext/session/mod_files.c). (nielsdos)
. Fixed bug GH-13891 (memleak and segfault when using ini_set with
session.trans_sid_hosts). (nielsdos, kamil-tekiela)
. Fixed buffer _read/_write size limit on windows for the file mode. =
(David Carlier)
- Streams:
. Fixed file_get_contents() on Windows fails with "errno=3D22 Invalid=
argument". (Damian W=F3jcik)
. Fixed bug GH-13264 (Part 1 - Memory leak on stream filter failure).=
(Jakub Zelenka)
. Fixed bug GH-13860 (Incorrect PHP_STREAM_OPTION_CHECK_LIVENESS case=
in
ext/openssl/xp_ssl.c - causing use of dead socket). (nielsdos)
. Fixed bug GH-11678 (Build fails on musl 1.2.4 - lfs64). (Arnaud)
- Treewide:
. Fix gcc-14 Wcalloc-transposed-args warnings. (Cristian Rodr=EDguez)=
---
Module Name: pkgsrc
Committed By: taca
Date: Fri Jun 7 23:11:41 UTC 2024
Modified Files:
pkgsrc/lang/php81: Makefile Makefile.php
pkgsrc/lang/php82: Makefile Makefile.php
pkgsrc/lang/php83: Makefile Makefile.php
pkgsrc/www/ap-php: Makefile
pkgsrc/www/php-fpm: Makefile
Log Message:
Fix build problem of www/ap-php and www/php-fpm.
Switch these packages to use autoconf, too.
php8*: Run autoconf under CONFIGURE_ENV. Without this, depending on the user's LANG, the configure stage can break due to the --disable-pdo option being parsed after the checks for individual PDO modules, which then fail. Something in the maze of m4 includes is dependent on the locale for correct ordering when generating configure.
Fix build problem of www/ap-php and www/php-fpm. Switch these packages to use autoconf, too.
lang/php82: update to 8.2.20
pkgsrc change:
Instead of patch configure, patch m4 files and use autoconf to generate
configure.
PHP 8.2.20 (2024-06-06)
- CGI:
. Fixed buffer limit on Windows, replacing read call usage by _read.
(David Carlier)
. Fixed bug GHSA-3qgc-jrrr-25jv (Bypass of CVE-2012-1823, Argument Injection
in PHP-CGI). (CVE-2024-4577) (nielsdos)
- CLI:
. Fixed bug GH-14189 (PHP Interactive shell input state incorrectly handles
quoted heredoc literals.). (nielsdos)
- Core:
. Fixed bug GH-13970 (Incorrect validation of #[Attribute] flags type for
non-compile-time expressions). (ilutov)
. Fixed bug GH-14140 (Floating point bug in range operation on Apple Silicon
hardware). (Derick, Saki)
- DOM:
. Fix crashes when entity declaration is removed while still having entity
references. (nielsdos)
. Fix references not handled correctly in C14N. (nielsdos)
. Fix crash when calling childNodes next() when iterator is exhausted.
(nielsdos)
. Fix crash in ParentNode::append() when dealing with a fragment
containing text nodes. (nielsdos)
- FFI:
. Fixed bug GH-14215 (Cannot use FFI::load on CRLF header file with
apache2handler). (nielsdos)
- Filter:
. Fixed bug GHSA-w8qr-v226-r27w (Filter bypass in filter_var FILTER_VALIDATE_URL).
(CVE-2024-5458) (nielsdos)
- FPM:
. Fix bug GH-14175 (Show decimal number instead of scientific notation in
systemd status). (Benjamin Cremer)
- Hash:
. ext/hash: Swap the checking order of `__has_builtin` and `__GNUC__`
(Saki Takamachi)
- Intl:
. Fixed build regression on systems without C++17 compilers. (Calvin Buckley,
Peter Kokot)
- Ini:
. Fixed bug GH-14100 (Corrected spelling mistake in php.ini files).
(Marcus Xavier)
- MySQLnd:
. Fix bug GH-14255 (mysqli_fetch_assoc reports error from
nested query). (Kamil Tekiela)
- Opcache:
. Fixed bug GH-14109 (Fix accidental persisting of internal class constant in
shm). (ilutov)
- OpenSSL:
. The openssl_private_decrypt function in PHP, when using PKCS1 padding
(OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack
unless it is used with an OpenSSL version that includes the changes from this pull
request: https://github.com/openssl/openssl/pull/13817 (rsa_pkcs1_implicit_rejection).
These changes are part of OpenSSL 3.2 and have also been backported to stable
versions of various Linux distributions, as well as to the PHP builds provided for
Windows since the previous release. All distributors and builders should ensure that
this version is used to prevent PHP from being vulnerable. (CVE-2024-2408)
- Standard:
. Fixed bug GHSA-9fcc-425m-g385 (Bypass of CVE-2024-1874).
(CVE-2024-5585) (nielsdos)
- XML:
. Fixed bug GH-14124 (Segmentation fault with XML extension under certain
memory limit). (nielsdos)
- XMLReader:
. Fixed bug GH-14183 (XMLReader::open() can't be overridden). (nielsdos)
revbump after icu and protobuf updates
PHP 8.2.13 (2023-11-23)
- Core:
. Fixed double-free of non-interned enum case name. (ilutov)
. Fixed bug GH-12457 (Incorrect result of stripos with single character
needle). (SakiTakamachi)
. Fixed bug GH-12468 (Double-free of doc_comment when overriding static
property via trait). (ilutov)
. Fixed segfault caused by weak references to FFI objects. (sj-i)
. Fixed max_execution_time: don't delete an unitialized timer. (Kévin Dunglas)
. Fixed bug GH-12558 (Arginfo soft-breaks with namespaced class return type
if the class name starts with N). (kocsismate)
- DOM:
. Fix registerNodeClass with abstract class crashing. (nielsdos)
. Add missing NULL pointer error check. (icy17)
. Fix validation logic of php:function() callbacks. (nielsdos)
- Fiber:
. Fixed bug GH-11121 (ReflectionFiber segfault). (danog, trowski, bwoebi)
- FPM:
. Fixed bug GH-9921 (Loading ext in FPM config does not register module
handlers). (Jakub Zelenka)
. Fixed bug GH-12232 (FPM: segfault dynamically loading extension without
opcache). (Jakub Zelenka)
. Fixed bug #76922 (FastCGI terminates conn after FCGI_GET_VALUES).
(Jakub Zelenka)
- Intl:
. Removed the BC break on IntlDateFormatter::construct which threw an
exception with an invalid locale. (David Carlier)
- Opcache:
. Added warning when JIT cannot be enabled. (danog)
. Fixed bug GH-8143 (Crashes in zend_accel_inheritance_cache_find since
upgrading to 8.1.3 due to corrupt on-disk file cache). (turchanov)
- OpenSSL:
. Fixed bug GH-12489 (Missing sigbio creation checking in openssl_cms_verify).
(Jakub Zelenka)
- PCRE:
. Fixed bug GH-11374 (Backport upstream fix, Different preg_match result
with -d pcre.jit=0). (mvorisek)
- SOAP:
. Fixed bug GH-12392 (Segmentation fault on SoapClient::__getTypes).
(nielsdos)
. Fixed bug #66150 (SOAP WSDL cache race condition causes Segmentation
Fault). (nielsdos)
. Fixed bug #67617 (SOAP leaves incomplete cache file on ENOSPC). (nielsdos)
. Fix incorrect uri check in SOAP caching. (nielsdos)
. Fix segfault and assertion failure with refcounted props and arrays.
(nielsdos)
. Fix potential crash with an edge case of persistent encoders. (nielsdos)
. Fixed bug #75306 (Memleak in SoapClient). (nielsdos)
- Streams:
. Fixed bug #75708 (getimagesize with "&$imageinfo" fails on StreamWrappers).
(Jakub Zelenka)
- XMLReader:
. Add missing NULL pointer error check. (icy17)
- XMLWriter:
. Add missing NULL pointer error check. (icy17)
- XSL:
. Add missing module dependency. (nielsdos)
. Fix validation logic of php:function() callbacks. (nielsdos)
*: recursive bump for icu 74.1
lang/php82: update to 8.2.12
26 Oct 2023, PHP 8.2.12
- Core:
. Fixed bug GH-12207 (memory leak when class using trait with doc block).
(rioderelfte)
. Fixed bug GH-12215 (Module entry being overwritten causes type errors in
ext/dom). (nielsdos)
. Fixed bug GH-12273 (__builtin_cpu_init check). (Freaky)
. Fixed bug #80092 (ZTS + preload = segfault on shutdown). (nielsdos)
- CLI:
. Ensure a single Date header is present. (coppolafab)
- CType:
. Fixed bug GH-11997 (ctype_alnum 5 times slower in PHP 8.1 or greater).
(nielsdos)
- DOM:
. Restore old namespace reconciliation behaviour. (nielsdos)
. Fixed bug GH-8996 (DOMNode serialization on PHP ^8.1). (nielsdos)
- Fileinfo:
. Fixed bug GH-11891 (fileinfo returns text/xml for some svg files). (usarise)
- Filter:
. Fix explicit FILTER_REQUIRE_SCALAR with FILTER_CALLBACK (ilutov)
- Hash:
. Fixed bug GH-12186 (segfault copying/cloning a finalized HashContext).
(MaxSem)
- Intl:
. Fixed bug GH-12243 (segfault on IntlDateFormatter::construct).
(David Carlier)
. Fixed bug GH-12282 (IntlDateFormatter::construct should throw an exception
on an invalid locale). (David Carlier)
- MySQLnd:
. Fixed bug GH-12297 (PHP Startup: Invalid library (maybe not a PHP library)
'mysqlnd.so' in Unknown on line). (nielsdos)
- Opcache:
. Fixed opcache_invalidate() on deleted file. (mikhainin)
. Fixed bug GH-12380 (JIT+private array property access inside closure
accesses private property in child class). (nielsdos)
- PCRE:
. Fixed bug GH-11956 (Backport upstream fix, PCRE regular expressions with
JIT enabled gives different result). (nielsdos)
- SimpleXML:
. Fixed bug GH-12170 (Can't use xpath with comments in SimpleXML). (nielsdos)
. Fixed bug GH-12223 (Entity reference produces infinite loop in
var_dump/print_r). (nielsdos)
. Fixed bug GH-12167 (Unable to get processing instruction contents in
SimpleXML). (nielsdos)
. Fixed bug GH-12169 (Unable to get comment contents in SimpleXML).
(nielsdos)
- Streams:
. Fixed bug GH-12190 (binding ipv4 address with both address and port at 0).
(David Carlier)
- XML:
. Fix return type of stub of xml_parse_into_struct(). (nielsdos)
. Fix memory leak when calling xml_parse_into_struct() twice. (nielsdos)
- XSL:
. Fix type error on XSLTProcessor::transformToDoc return value with
SimpleXML. (nielsdos)
*: bump for openssl 3
lang/php82: update to 8.2.6
11 May 2023, PHP 8.2.6
- Core:
. Fix inconsistent float negation in constant expressions. (ilutov)
. Fixed bug GH-8841 (php-cli core dump calling a badly formed function).
(nielsdos)
. Fixed bug GH-10085 (Assertion when adding two arrays with += where the first
array is contained in the second). (ilutov)
. Fixed bug GH-10737 (PHP 8.1.16 segfaults on line 597 of
sapi/apache2handler/sapi_apache2.c). (nielsdos, ElliotNB)
. Fixed bug GH-11028 (Heap Buffer Overflow in zval_undefined_cv.). (nielsdos)
. Fixed bug GH-11108 (Incorrect CG(memoize_mode) state after bailout in ??=).
(ilutov)
- Date:
. Fixed bug where the diff() method would not return the right result around
DST changeover for date/times associated with a timezone identifier. (Derick)
. Fixed out-of-range bug when converting to/from around the LONG_MIN unix
timestamp. (Derick)
- DOM:
. Fixed bug #80602 (Segfault when using DOMChildNode::before()).
(Nathan Freeman)
. Fixed incorrect error handling in dom_zvals_to_fragment(). (nielsdos)
- Exif:
. Fixed bug GH-9397 (exif read : warnings and errors : Potentially invalid
endianess, Illegal IFD size and Undefined index). (nielsdos)
- Intl:
. Fixed bug GH-11071 (TZData version not displayed anymore). (Remi)
- PCRE:
. Fixed bug GH-10968 (Segfault in preg_replace_callback_array()). (ilutov)
- Reflection:
. Fixed bug GH-10983 (State-dependant segfault in
ReflectionObject::getProperties). (nielsdos)
- SPL:
. Handle indirect zvals and use up-to-date properties in
SplFixedArray::__serialize. (nielsdos)
- Standard:
. Fixed bug GH-10990 (mail() throws TypeError after iterating over
$additional_headers array by reference). (nielsdos)
. Fixed bug GH-9775 (Duplicates returned by array_unique when using enums).
(ilutov)
- Streams:
. Fixed bug GH-10406 (feof() behavior change for UNIX based socket
resources). (Jakub Zelenka)
revbump after textproc/icu update
lang/php82: add package version 8.2.0 Add php82, PHP 8.2.0 package with current framework of lang/php. PHP is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. It is modular, and object-oriented. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The language is designed to allow web developers to write dynamically generated pages quickly. PHP 8.2 comes with numerous improvements and new features such as * Readonly classes * Disjunctive Normal Form (DNF) Types * New stand-alone types: null, false, and true * New "Random" extension * Constants in traits * Deprecate dynamic properties * And much much more...