Debian Package Tracker
Register | Log in
Subscribe

php-mongodb

MongoDB driver for PHP

Choose email to subscribe with

general
  • source: php-mongodb (main)
  • version: 2.5.5-1
  • maintainer: Debian PHP PECL Maintainers (DMD)
  • uploaders: Ondřej Surý [DMD]
  • arch: all any
  • std-ver: 4.5.1
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • o-o-stable: 1.9.0+1.7.5-2
  • oldstable: 1.15.0+1.11.1+1.9.2+1.7.5-1
  • stable: 2.0.0-1
  • stable-sec: 2.0.0-1+deb13u2
  • stable-p-u: 2.0.0-1+deb13u2
  • testing: 2.5.3-1
  • unstable: 2.5.5-1
versioned links
  • 1.9.0+1.7.5-2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.15.0+1.11.1+1.9.2+1.7.5-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.0.0-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.0.0-1+deb13u2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.5.3-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.5.5-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • php-mongodb
  • php-mongodb-all-dev
  • php8.4-mongodb
action needed
Marked for autoremoval on 25 November: #1150514 high
Version 2.5.3-1 of php-mongodb is marked for autoremoval from testing on Wed 25 Nov 2026. It is affected by #1150514. You should try to prevent the removal by fixing these RC bugs.
Created: 2026-10-26 Last update: 2026-10-30 13:31
lintian reports 1 error and 18 warnings high
Lintian reports 1 error and 18 warnings about this package. You should make the package lintian clean getting rid of them.
Created: 2026-10-28 Last update: 2026-10-28 18:01
3 security issues in forky high

There are 3 open security issues in forky.

3 important issues:
  • CVE-2026-106432: The BSON encoder in the MongoDB PHP Driver converts a string length to a 32-bit value without validation. When an affected application encodes a string near 4 GiB, the allocation size can wrap while the copy operation uses the original length. The resulting heap buffer overflow can corrupt process memory or terminate the PHP process. Reaching this issue requires a non-default runtime configuration that permits multi-gigabyte values. No MongoDB server interaction is required.
  • CVE-2026-106436: The BSON encoder in the MongoDB PHP Driver does not check some return values after a document exceeds libbson's size limit. This can leave the encoder in an invalid state. An unauthenticated actor who can cause an affected application to encode an unusually large data structure can terminate the PHP worker or cause the resulting document to omit fields. No MongoDB server connection or database authentication is required.
  • CVE-2026-112368: An uncontrolled recursion weakness in the BSON decoding logic of the MongoDB PHP driver may allow an unauthenticated party who can supply crafted binary document data to the decoder to exhaust the process stack. This may cause the PHP process using the driver to terminate unexpectedly, resulting in a loss of availability for that process. The condition occurs below the PHP layer and cannot be intercepted by application-level error handling.
Created: 2026-10-09 Last update: 2026-10-28 10:01
6 security issues in bookworm high

There are 6 open security issues in bookworm.

4 important issues:
  • CVE-2026-96745: Deserialization of untrusted data in the command monitoring support of the MongoDB PHP Driver can cause class names embedded in document content to be honored when the driver builds monitoring event objects. When an application registers a command monitoring subscriber and includes untrusted data in a database operation, an unauthenticated party who controls that data may cause an application class implementing the driver's persistable interface to be instantiated and its unserialization method invoked with the supplied data. The resulting impact depends on the classes available in the application.
  • CVE-2026-106432: The BSON encoder in the MongoDB PHP Driver converts a string length to a 32-bit value without validation. When an affected application encodes a string near 4 GiB, the allocation size can wrap while the copy operation uses the original length. The resulting heap buffer overflow can corrupt process memory or terminate the PHP process. Reaching this issue requires a non-default runtime configuration that permits multi-gigabyte values. No MongoDB server interaction is required.
  • CVE-2026-106436: The BSON encoder in the MongoDB PHP Driver does not check some return values after a document exceeds libbson's size limit. This can leave the encoder in an invalid state. An unauthenticated actor who can cause an affected application to encode an unusually large data structure can terminate the PHP worker or cause the resulting document to omit fields. No MongoDB server connection or database authentication is required.
  • CVE-2026-112368: An uncontrolled recursion weakness in the BSON decoding logic of the MongoDB PHP driver may allow an unauthenticated party who can supply crafted binary document data to the decoder to exhaust the process stack. This may cause the PHP process using the driver to terminate unexpectedly, resulting in a loss of availability for that process. The condition occurs below the PHP layer and cannot be intercepted by application-level error handling.
2 issues postponed or untriaged:
  • CVE-2026-6811: (needs triaging) Stack exhaustion vulnerability in the MongoDB PHP driver can cause application crashes when processing deeply nested BSON documents in unusual circumstances when the source of these BSON documents is not MongoDB Server.
  • CVE-2026-84968: (postponed; to be fixed through a stable update) An out-of-bounds read in the BSON decoding component of the MongoDB PHP driver may allow an unauthenticated party who supplies specially formed input to have a small amount of adjacent process memory copied into an error message that is returned to application code. This may result in unintended disclosure of limited memory contents.
Created: 2026-09-25 Last update: 2026-10-28 10:01
3 security issues in bullseye high

There are 3 open security issues in bullseye.

1 important issue:
  • CVE-2026-81525: The MongoDB client library for PHP does not sufficiently sanitize special elements in application-supplied namespace identifiers before using them to construct the target namespace for database operations. An application that incorporates untrusted text into these identifiers may have operations silently directed at a different storage location than the one the application intended.
2 issues postponed or untriaged:
  • CVE-2026-6811: (postponed; to be fixed through a stable update) Stack exhaustion vulnerability in the MongoDB PHP driver can cause application crashes when processing deeply nested BSON documents in unusual circumstances when the source of these BSON documents is not MongoDB Server.
  • CVE-2021-32050: (needs triaging) Some MongoDB Drivers may erroneously publish events containing authentication-related data to a command listener configured by an application. The published events may contain security-sensitive data when specific authentication-related commands are executed. Without due care, an application may inadvertently expose this sensitive information, e.g., by writing it to a log file. This issue only arises if an application enables the command listener feature (this is not enabled by default). This issue affects the MongoDB C Driver 1.0.0 prior to 1.17.7, MongoDB PHP Driver 1.0.0 prior to 1.9.2, MongoDB Swift Driver 1.0.0 prior to 1.1.1, MongoDB Node.js Driver 3.6 prior to 3.6.10, MongoDB Node.js Driver 4.0 prior to 4.17.0 and MongoDB Node.js Driver 5.0 prior to 5.8.0. This issue also affects users of the MongoDB C++ Driver dependent on the C driver 1.0.0 prior to 1.17.7 (C++ driver prior to 3.7.0).
Created: 2026-08-28 Last update: 2026-08-28 15:02
Standards version of the package is outdated. wishlist
The package should be updated to follow the last version of Debian Policy (Standards-Version 4.7.4 instead of 4.5.1).
Created: 2018-02-02 Last update: 2026-10-28 10:50
testing migrations
  • This package will soon be part of the auto-openssl transition. You might want to ensure that your package is ready for it. You can probably find supplementary information in the debian-release archives or in the corresponding release.debian.org bug.
  • excuses:
    • Migration status for php-mongodb (2.5.3-1 to 2.5.5-1): Waiting for test results or another package, or too young (no action required now - check later)
    • Issues preventing migration:
    • ∙ ∙ Autopkgtest for php-monolog/3.12.1-1: amd64: Pass, arm64: Pass, armhf: Pass, i386: Test triggered, loong64: Pass, ppc64el: Pass, riscv64: Pass, s390x: Pass
    • ∙ ∙ Autopkgtest for php-symfony-polyfill/1.43.2-2: amd64: Pass, arm64: Pass, armhf: Pass, i386: Test triggered, loong64: Pass, ppc64el: Pass, s390x: Pass
    • Additional info (not blocking):
    • ∙ ∙ Updating php-mongodb will fix bugs in testing: #1150514, #1151934
    • ∙ ∙ Piuparts tested OK - https://piuparts.debian.org/sid/source/p/php-mongodb.html
    • ∙ ∙ Reproduced on amd64 - info
    • ∙ ∙ Reproduced on arm64 - info
    • ∙ ∙ Reproduced on armhf - info
    • ∙ ∙ Reproduced on i386 - info
    • ∙ ∙ 2 days old (needed 2 days)
    • Not considered
news
[rss feed]
  • [2026-10-29] Accepted php-mongodb 2.0.0-1+deb13u2 (source) into proposed-updates (Debian FTP Masters) (signed by: Ondřej Surý)
  • [2026-10-28] Accepted php-mongodb 2.5.5-1 (source) into unstable (Ondřej Surý)
  • [2026-10-27] Accepted php-mongodb 2.0.0-1+deb13u2 (source) into stable-security (Debian FTP Masters) (signed by: Ondřej Surý)
  • [2026-10-11] Accepted php-mongodb 2.0.0-1+deb13u1 (source) into proposed-updates (Debian FTP Masters) (signed by: Ondřej Surý)
  • [2026-10-06] php-mongodb 2.5.3-1 MIGRATED to testing (Debian testing watch)
  • [2026-10-02] Accepted php-mongodb 2.0.0-1+deb13u1 (source) into stable-security (Debian FTP Masters) (signed by: Ondřej Surý)
  • [2026-10-01] Accepted php-mongodb 2.5.3-1 (source) into unstable (Ondřej Surý)
  • [2025-08-13] php-mongodb 2.1.0-1 MIGRATED to testing (Debian testing watch)
  • [2025-06-10] Accepted php-mongodb 2.1.0-1 (source) into unstable (Ondřej Surý)
  • [2025-04-29] php-mongodb 2.0.0-1 MIGRATED to testing (Debian testing watch)
  • [2025-04-19] Accepted php-mongodb 2.0.0-1 (source) into unstable (Ondřej Surý)
  • [2025-03-16] php-mongodb 1.21.0-1 MIGRATED to testing (Debian testing watch)
  • [2025-03-11] Accepted php-mongodb 1.21.0-1 (source) into unstable (Ondřej Surý)
  • [2025-01-10] php-mongodb 1.20.1-1 MIGRATED to testing (Debian testing watch)
  • [2024-12-03] Accepted php-mongodb 1.20.1-1 (source) into unstable (Ondřej Surý)
  • [2024-12-02] Accepted php-mongodb 1.20.0-1 (source) into unstable (Ondřej Surý)
  • [2024-09-27] Accepted php-mongodb 1.19.4-3~exp4 (source) into experimental (Ondřej Surý)
  • [2024-09-24] Accepted php-mongodb 1.19.4-3~exp3 (source all amd64) into experimental (Ondřej Surý)
  • [2024-09-24] Accepted php-mongodb 1.19.4-3~exp2 (source all amd64) into experimental (Debian FTP Masters) (signed by: Ondřej Surý)
  • [2024-09-21] Accepted php-mongodb 1.19.4-2 (source) into experimental (Ondřej Surý)
  • [2024-07-10] php-mongodb 1.19.3-1 MIGRATED to testing (Debian testing watch)
  • [2024-07-04] Accepted php-mongodb 1.19.3-1 (source) into unstable (Ondřej Surý)
  • [2024-05-03] php-mongodb 1.15.0+1.11.1+1.9.2+1.7.5-1 MIGRATED to testing (Debian testing watch)
  • [2023-07-18] php-mongodb REMOVED from testing (Debian testing watch)
  • [2023-01-13] php-mongodb 1.15.0+1.11.1+1.9.2+1.7.5-1 MIGRATED to testing (Debian testing watch)
  • [2023-01-06] Accepted php-mongodb 1.15.0+1.11.1+1.9.2+1.7.5-1 (source) into unstable (Ondřej Surý)
  • [2022-01-09] php-mongodb 1.12.0+1.9.2+1.7.5-4 MIGRATED to testing (Debian testing watch)
  • [2022-01-03] Accepted php-mongodb 1.12.0+1.9.2+1.7.5-4 (source) into unstable (Ondřej Surý)
  • [2022-01-02] Accepted php-mongodb 1.12.0+1.9.2+1.7.5-3 (source all amd64) into unstable, unstable (Debian FTP Masters) (signed by: Ondřej Surý)
  • [2022-01-02] Accepted php-mongodb 1.12.0+1.9.2+1.7.5-2 (source all amd64) into unstable, unstable (Debian FTP Masters) (signed by: Ondřej Surý)
  • 1
  • 2
bugs [bug history graph]
  • all: 0
links
  • homepage
  • lintian (1, 18)
  • buildd: logs, reproducibility, cross
  • popcon
  • browse source code
  • other distros
  • security tracker
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 2.1.7-0ubuntu2
  • 1 bug
  • patches for 2.1.7-0ubuntu2

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing