Repository navigation
Update PHP extensions and PIE - #269
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
EventBuffer::read(),copyout(), andpullup(); crash and leak fixesThe Event archive checksum was taken from the PECL release archive. The version checks in
8/tests/extensions.phpand8/tests/tests.shand 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
8.5production (arm64) locally. PIE and the updated extensions report the new versions.make testagainst that image passed, including the version checks and the functional tests for MongoDB, Event, and OpenTelemetry.Follow-up
This ships with the System V IPC extensions in the next image revision (
r14).