Skip to content

Update PHP extensions and PIE - #269

Merged
csandanov merged 1 commit into
masterfrom
chore/php-dependencies-november
Nov 10, 2026
Merged

csandanov merged 1 commit into
masterfrom
chore/php-dependencies-november

Conversation

@csandanov

Copy link
Copy Markdown
Member

Problem

Several PHP extensions in the images, and the extension installer used to build them, have newer releases. Two of the extensions and the installer fix security issues.

Cause

The images pin exact extension versions, so upstream fixes reach users only when the pins are updated.

Solution

Update the affected extensions and the installer to their latest stable releases. The MongoDB extension now bundles client libraries that fix three vulnerabilities. The Event extension fixes memory-safety bugs that could overflow a buffer or crash PHP. OpenTelemetry fixes a crash in its hooks. The remaining updates are small fixes or support for future PHP versions. No extensions are added or removed, and the PHP versions stay the same.

Changes

Component From To Notes
mongodb 2.5.5 2.5.7 libmongoc 2.5.8 and libmongocrypt 1.21.1: CVE-2026-120954, CVE-2026-120678, CVE-2026-114655; shutdown fixes
event 3.1.6 3.2.0 Heap buffer overflow fixes in EventBuffer::read(), copyout(), and pullup(); crash and leak fixes
PIE 1.5.2 1.5.5 GHSA-4538-pqqf-mv67; pinned to its multi-platform index digest
opentelemetry 1.4.2 1.5.0 Static-method refcount over-free fix
brotli 0.21.0 0.21.1 Stream close reports success; still linked against Alpine's libbrotli
ast 1.1.3 1.1.4 PHP 8.6 support

The Event archive checksum was taken from the PECL release archive. The version checks in 8/tests/extensions.php and 8/tests/tests.sh and the README tables are updated to match.

Pre-releases were not taken: rdkafka 7.0.0alpha1, Xdebug 3.6.0alpha1, and protobuf 5.37.0RC1.

Validation

  • Built 8.5 production (arm64) locally. PIE and the updated extensions report the new versions.
  • make test against that image passed, including the version checks and the functional tests for MongoDB, Event, and OpenTelemetry.
  • The other PHP versions, amd64, and the dev and Apache variants were not built locally. CI covers them.

Follow-up

This ships with the System V IPC extensions in the next image revision (r14).

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.
@csandanov
csandanov merged commit e416fec into master Nov 10, 2026
36 checks passed
@csandanov
csandanov deleted the chore/php-dependencies-november branch November 10, 2026 08:39
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.

1 participant