From aa31e8af6024007e1437adc10d86bd40b79dc891 Mon Sep 17 00:00:00 2001 From: Chingis S Date: Mon, 9 Nov 2026 20:08:50 +0300 Subject: [PATCH] Update PHP extensions and PIE MongoDB extension 2.5.7 updates the bundled libmongoc and libmongocrypt with security fixes (CVE-2026-120954, CVE-2026-120678, CVE-2026-114655). Event 3.2.0 fixes heap buffer overflows in EventBuffer read, copyout, and pullup, plus several crashes. PIE 1.5.5 fixes GHSA-4538-pqqf-mv67 and is pinned to its multi-platform index digest. Also update OpenTelemetry to 1.5.0 (hook refcount fix), Brotli to 0.21.1, and ast to 1.1.4. Keep the extension and installer version checks and the README tables aligned. --- 8/Dockerfile | 4 ++-- 8/install-extensions.sh | 8 ++++---- 8/tests/extensions.php | 8 ++++---- 8/tests/tests.sh | 2 +- README.md | 12 ++++++------ 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/8/Dockerfile b/8/Dockerfile index b315f731..38bc7d38 100644 --- a/8/Dockerfile +++ b/8/Dockerfile @@ -33,7 +33,7 @@ ENV PATH="${PATH}:/home/wodby/.composer/vendor/bin:${APP_ROOT}/vendor/bin:${APP_ ARG TARGETPLATFORM ARG TARGETARCH -COPY --from=ghcr.io/php/pie:1.5.2-bin@sha256:a254c78b51ca34daef0541fa1cf0147385c93ba5ca799868392275d947f00fe7 /pie /usr/local/bin/pie +COPY --from=ghcr.io/php/pie:1.5.5-bin@sha256:3fca03c16df842d02b654dc382db3756058d9c128064f57cace14f8728779ce9 /pie /usr/local/bin/pie COPY install-extensions.sh pie-install.sh /tmp/ # Upgrade inherited packages even when their existing versions satisfy dependencies. @@ -327,7 +327,7 @@ RUN --mount=type=secret,id=composer_auth set -xe; \ chmod -R 775 /var/log/newrelic/; \ \ # Brotli extension. \ - brotli_ext_ver="0.21.0"; \ + brotli_ext_ver="0.21.1"; \ mkdir -p /usr/src/php/ext/brotli; \ brotli_url="https://github.com/kjdev/php-ext-brotli/archive/refs/tags/${brotli_ext_ver}.tar.gz"; \ wget -qO- "${brotli_url}" | tar xz --strip-components=1 -C /usr/src/php/ext/brotli; \ diff --git a/8/install-extensions.sh b/8/install-extensions.sh index 96f62fcb..fa3d273d 100644 --- a/8/install-extensions.sh +++ b/8/install-extensions.sh @@ -53,13 +53,13 @@ install_source() { install_pie apcu/apcu:5.1.28 install_pie php-amqp/php-amqp:2.2.0 -install_pie nikic/php-ast:1.1.3 +install_pie nikic/php-ast:1.1.4 install_pie php-ds/ext-ds:2.0.0 install_pie grpc/grpc-php-ext install_pie igbinary/igbinary:3.2.17RC1 install_pie php-memcached/php-memcached:3.4.0 --enable-memcached-sasl --enable-memcached-session -install_pie mongodb/mongodb-extension:2.5.5 -install_pie open-telemetry/ext-opentelemetry:1.4.2 +install_pie mongodb/mongodb-extension:2.5.7 +install_pie open-telemetry/ext-opentelemetry:1.5.0 install_pie pecl/pcov:1.0.12 install_pie rdkafka/rdkafka:6.0.5 install_pie phpredis/phpredis:6.3.0 @@ -85,7 +85,7 @@ if [[ "${php_minor}" == 8.4 || "${php_minor}" == 8.5 ]]; then fi # The PIE package downloads its source from Bitbucket; the PECL archive avoids # that dependency. Match PECL's configure defaults, especially sockets and TLS. -install_source event-3.1.6 5b74554c6370aae8c284c8110fe27e071d3f663953c3eb762ffc429b0a3c83a2 . \ +install_source event-3.2.0 fb3d4e3c9fdc79125274f2b46461492923edec6b489ed7077973f7e65f41dc1c . \ --enable-event-sockets --with-event-libevent-dir=/usr --with-event-extra=yes \ --with-event-openssl --with-openssl-dir=yes install_source oauth-2.0.10 1fd5e074dacf5149603493c454b476d69850bec0a71d7ea69a36a00db728a0fb . diff --git a/8/tests/extensions.php b/8/tests/extensions.php index 73ba031e..3f0083e2 100644 --- a/8/tests/extensions.php +++ b/8/tests/extensions.php @@ -4,15 +4,15 @@ $versions = [ 'apcu' => '5.1.28', 'amqp' => '2.2.0', - 'ast' => '1.1.3', + 'ast' => '1.1.4', 'ds' => '2.0.0', - 'event' => '3.1.6', + 'event' => '3.2.0', 'igbinary' => '3.2.17RC1', 'imagick' => '3.8.1', 'memcached' => '3.4.0', - 'mongodb' => '2.5.5', + 'mongodb' => '2.5.7', 'oauth' => '2.0.10', - 'opentelemetry' => '1.4.2', + 'opentelemetry' => '1.5.0', 'pdo_sqlsrv' => PHP_VERSION_ID < 80300 ? '5.12.0' : '5.13.3', 'pcov' => '1.0.12', 'protobuf' => '5.36.2', diff --git a/8/tests/tests.sh b/8/tests/tests.sh index 42587ab6..c44399fc 100755 --- a/8/tests/tests.sh +++ b/8/tests/tests.sh @@ -35,7 +35,7 @@ echo "OK" php /usr/local/bin/extensions.php echo -n "Checking extension installer... " -pie --version | grep -q '1.5.2' +pie --version | grep -q '1.5.5' for tool in pecl pear peardev; do if command -v "${tool}" >/dev/null; then echo "Unexpected legacy installer: ${tool}" >&2 diff --git a/README.md b/README.md index bf851bd8..4e20279a 100644 --- a/README.md +++ b/README.md @@ -343,9 +343,9 @@ a release archive on PHP 8.4/8.5. |------------------|-----------|-----------|-----------|-----------| | [amqp] | 2.2.0 | 2.2.0 | 2.2.0 | 2.2.0 | | [apcu] | 5.1.28 | 5.1.28 | 5.1.28 | 5.1.28 | -| [ast] | 1.1.3 | 1.1.3 | 1.1.3 | 1.1.3 | +| [ast] | 1.1.4 | 1.1.4 | 1.1.4 | 1.1.4 | | bcmath | | | | | -| brotli | 0.21.0 | 0.21.0 | 0.21.0 | 0.21.0 | +| brotli | 0.21.1 | 0.21.1 | 0.21.1 | 0.21.1 | | bz2 | | | | | | calendar | | | | | | Core | | | | | @@ -355,7 +355,7 @@ a release archive on PHP 8.4/8.5. | dom | | | | | | [ds] | 2.0.0 | 2.0.0 | 2.0.0 | 2.0.0 | | exif | | | | | -| [event] | 3.1.6 | 3.1.6 | 3.1.6 | 3.1.6 | +| [event] | 3.2.0 | 3.2.0 | 3.2.0 | 3.2.0 | | fileinfo | | | | | | filter | | | | | | ftp | | | | | @@ -373,13 +373,13 @@ a release archive on PHP 8.4/8.5. | libxml | | | | | | mbstring | | | | | | [memcached] | 3.4.0 | 3.4.0 | 3.4.0 | 3.4.0 | -| [mongodb] | 2.5.5 | 2.5.5 | 2.5.5 | 2.5.5 | +| [mongodb] | 2.5.7 | 2.5.7 | 2.5.7 | 2.5.7 | | mysqli | | | | | | mysqlnd | | | | | | [newrelic] | latest | latest | latest | latest | | [OAuth] | 2.0.10 | 2.0.10 | 2.0.10 | 2.0.10 | | openssl | | | | | -| [opentelemetry] | 1.4.2 | 1.4.2 | 1.4.2 | 1.4.2 | +| [opentelemetry] | 1.5.0 | 1.5.0 | 1.5.0 | 1.5.0 | | [pcov] | 1.0.12 | 1.0.12 | 1.0.12 | 1.0.12 | | pcntl | | | | | | pcre | | | | | @@ -436,7 +436,7 @@ Legend: | Tool | all PHP versions | |-------------------------------------|------------------| | [Composer](https://getcomposer.org) | latest | -| [PIE](https://github.com/php/pie) | 1.5.2 | +| [PIE](https://github.com/php/pie) | 1.5.5 | ## Xdebug