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.3-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+deb13u1
  • stable-p-u: 2.0.0-1+deb13u1
  • testing: 2.5.3-1
  • unstable: 2.5.3-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+deb13u1: [.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]
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. The removal of php-mongodb will also cause the removal of (transitive) reverse dependencies: awl, baconqrcode, cacti, cacti-spine, christianriesen-base32, christianriesen-otp, composer, dasprid-enum, davical, dmarc-srg, doctrine, dokuwiki, dokuwiki-plugin-acknowledge, dokuwiki-plugin-aclinfo, dokuwiki-plugin-addnewpage, dokuwiki-plugin-aibadge, dokuwiki-plugin-autoindex, dokuwiki-plugin-color, dokuwiki-plugin-dw2pdf, dokuwiki-plugin-edittable, dokuwiki-plugin-gitbacked, dokuwiki-plugin-graphviz, dokuwiki-plugin-mathjax, dokuwiki-plugin-sortablejs, dokuwiki-plugin-vshare, dokuwiki-plugin-watchcycle, dokuwiki-plugin-wrap, dokuwiki-plugins-extra, dokuwiki-template-ad-hominem, dokuwiki-templates-extra, eluceo-ical, google-recaptcha, gregwar-captcha, guzzle, icingaweb2-module-idoreports, icingaweb2-module-metapackages, icingaweb2-module-pdfexport, icingaweb2-module-reporting, jsonlint, kalkun, ldap-account-manager, less.php, libphp-phpmailer, libphp-swiftmailer, mariadb-mysql-kbs, matomo-component-cache, matomo-component-decompress, matomo-component-ini, matomo-component-network, matomo-device-detector, matomo-php-tracker, matthiasmullie-minify, matthiasmullie-path-converter, phing, php-algo26-idna-convert, php-amqplib, php-arthurhoaro-web-thumbnailer, php-async-aws-core, php-async-aws-dynamo-db, php-async-aws-ses, php-async-aws-sns, php-async-aws-sqs, php-brick-math, php-brick-varexporter, php-cache-integration-tests, php-cache-tag-interop, php-carbon-doctrine-types, php-code-lts-u2f-php-server, php-codecoverage, php-codeigniter-framework, php-composer-ca-bundle, php-composer-class-map-generator, php-composer-metadata-minifier, php-composer-pcre, php-composer-semver, php-composer-spdx-licenses, php-composer-xdebug-handler, php-constant-time, php-crypt-gpg, php-dapphp-radius, php-datto-json-rpc, php-datto-json-rpc-http, php-db, php-deepcopy, php-dflydev-dot-access-data, php-di, php-di-invoker, php-directory-scanner, php-doctrine-annotations, php-doctrine-cache, php-doctrine-collections, php-doctrine-data-fixtures, php-doctrine-dbal, php-doctrine-deprecations, php-doctrine-event-manager, php-doctrine-inflector, php-doctrine-instantiator, php-doctrine-lexer, php-doctrine-persistence, php-dragonmantank-cron-expression, php-econea-nusoap, php-email-validator, php-embed, php-enum, php-faker, php-fig-http-message-util, php-fig-link-util, php-fig-log-test, php-file-iterator, php-font-lib, php-fruitcake-php-cors, php-getallheaders, php-getid3, php-gettext, php-gettext-languages, php-giggsey-libphonenumber, php-giggsey-locale, php-graham-campbell-result-type, php-guzzlehttp-promises, php-guzzlehttp-psr7, php-guzzlehttp-uri-template, php-hamcrest, php-htmlpurifier, php-http-discovery, php-http-httplug, php-http-interop-http-factory-tests, php-http-message-factory, php-http-promise, php-http-psr7-integration-tests, php-httpful, php-image-text, php-invoker, php-jakeasmith-http-build-url, php-jolicode-jolinotif, php-jolicode-php-os-helper, php-jshrink, php-json-schema, php-kissifrot-php-ixr, php-klogger, php-laravel-framework, php-laravel-prompts, php-laravel-serializable-closure, php-lcobucci-clock, php-lcobucci-jwt, php-league-commonmark, php-league-config, php-league-csv, php-league-flysystem, php-league-html-to-markdown, php-league-mime-type-detection, php-league-uri-src, php-log, php-lorenzo-pinky, php-masterminds-html5, php-matomo-doctrine-cache, php-maxmind-web-service-common, php-mikey179-vfsstream, php-ml-iri, php-ml-json-ld, php-mock, php-mock-integration, php-mockery, php-monolog, php-nesbot-carbon, php-net-ldap2, php-net-ldap3, php-net-sieve, php-net-url2, php-netscape-bookmark-parser, php-nette-schema, php-nette-utils, php-nikic-fast-route, php-nrk-predis, php-nunomaduro-termwind, php-nyholm-psr7, php-opis-closure, php-oscarotero-gettext, php-oscarotero-html-parser, php-parsedown, php-parsedown-extra, php-parser, php-pda-pheanstalk, php-phar-io-manifest, php-phar-io-version, php-phpdocumentor-reflection-common, php-phpdocumentor-reflection-docblock, php-phpdocumentor-type-resolver, php-phpoption, php-phpseclib, php-phpseclib3, php-phpseclib4, php-phpspec-prophecy, php-phpspec-prophecy-phpunit, php-phpstan-phpdoc-parser, php-pimple, php-proxy-manager, php-psr-cache, php-psr-clock, php-psr-container, php-psr-event-dispatcher, php-psr-http-client, php-psr-http-factory, php-psr-http-message, php-psr-link, php-psr-log, php-psr-simple-cache, php-pubsubhubbub-publisher, php-ramsey-collection, php-ramsey-uuid, php-random-compat, php-react-promise, php-revolt-event-loop, php-roundcube-rtf-html-php, php-seld-signal-handler, php-shellcommand, php-slim, php-slim-psr7, php-sparkline, php-spyc, php-staabm-side-effects-detector, php-symfony-contracts, php-symfony-mercure, php-symfony-mercure-bundle, php-symfony-polyfill, php-symfony-security-acl, php-symfony-webpack-encore-bundle, php-tempest-highlight, php-text-captcha, php-text-password, php-text-template, php-tijsverkoyen-css-to-inline-styles, php-timer, php-tokenizer, php-twig, php-vlucas-phpdotenv, php-voku-portable-ascii, php-webmozart-assert, php-zend-code, php-zend-stdlib, php-zeta-base, php-zeta-console-tools, php-zeta-unit-test, php-zumba-json-serializer, phpab, phpmyadmin, phpmyadmin-motranslator, phpmyadmin-shapefile, phpmyadmin-sql-parser, phpsysinfo, phpunit, phpunit-cli-parser, phpunit-comparator, phpunit-complexity, phpunit-diff, phpunit-environment, phpunit-exporter, phpunit-file-filter, phpunit-git-state, phpunit-global-state, phpunit-lines-of-code, phpunit-object-enumerator, phpunit-object-reflector, phpunit-recursion-context, phpunit-type, phpunit-version, postfixadmin, roundcube, roundcube-plugin-authres-status, roundcube-plugin-compose-addressbook, roundcube-plugin-contextmenu, roundcube-plugin-dovecot-impersonate, roundcube-plugin-fail2ban, roundcube-plugin-html5-notifier, roundcube-plugin-keyboard-shortcuts, roundcube-plugin-listcommands, roundcube-plugin-message-highlight, roundcube-plugin-sauserprefs, roundcube-plugin-thunderbird-labels, roundcube-plugins-extra, rss-bridge, spip, symfony, tcpdf, tweeper, twig-i18n-extension, wordpress. You should try to prevent the removal by fixing these RC bugs.
Created: 2026-10-26 Last update: 2026-10-27 04:33
A new upstream version is available: 2.5.5 high
A new upstream version 2.5.5 is available, you should consider packaging it.
Created: 2026-10-25 Last update: 2026-10-26 23:30
3 security issues in sid high

There are 3 open security issues in sid.

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-24 22:00
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-24 22:00
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-24 22:00
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: 2025-06-11 Last update: 2026-10-01 15:00
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
version in VCS is newer than in repository, is it time to upload? normal
vcswatch reports that this package seems to have a new changelog entry (version 2.5.5-1, distribution unstable) and new commits in its VCS. You should consider whether it's time to make an upload.
Created: 2025-08-03 Last update: 2026-10-25 19:33
1 open merge request in Salsa normal
There is 1 open merge request for this package on Salsa. You should consider reviewing and/or merging these merge requests.
Created: 2026-09-29 Last update: 2026-09-29 03:32
3 low-priority security issues in trixie low

There are 3 open security issues in trixie.

3 issues left for the package maintainer to handle:
  • CVE-2026-106432: (needs triaging) 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: (needs triaging) 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: (needs triaging) 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.

You can find information about how to handle these issues in the security team's documentation.

Created: 2026-10-09 Last update: 2026-10-24 22:00
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-01 10:31
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.
news
[rss feed]
  • [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ý)
  • [2021-11-26] Accepted php-mongodb 1.11.1+1.9.2+1.7.5-4 (source all amd64) into unstable, unstable (Debian FTP Masters) (signed by: Ondřej Surý)
  • [2021-02-25] php-mongodb 1.9.0+1.7.5-2 MIGRATED to testing (Debian testing watch)
  • [2021-02-14] Accepted php-mongodb 1.9.0+1.7.5-2 (source) into unstable (Ondřej Surý)
  • 1
  • 2
bugs [bug history graph]
  • all: 2
  • RC: 2
  • I&N: 0
  • M&W: 0
  • F&P: 0
  • patch: 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