Article View: linux.debian.bugs.dist
Article #337Bug#1150514: php-mongodb: CVE-2026-106432 CVE-2026-106436
From: Salvatore Bonaccorso
Date: Sat, 10 Oct 2026 09:40
Date: Sat, 10 Oct 2026 09:40
47 lines
3319 bytes
3319 bytes
Source: php-mongodb
Version: 2.5.3-1
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security upstream
Hi,
The following vulnerabilities were published for php-mongodb.
CVE-2026-106432[0]:
| 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[1]:
| 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.
If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.
For further information see:
[0] https://security-tracker.debian.org/tracker/CVE-2026-106432
https://www.cve.org/CVERecord?id=CVE-2026-106432
https://jira.mongodb.org/browse/PHPC-2741
[1] https://security-tracker.debian.org/tracker/CVE-2026-106436
https://www.cve.org/CVERecord?id=CVE-2026-106436
https://jira.mongodb.org/browse/PHPC-2739
Please adjust the affected versions in the BTS as needed.
Regards,
Salvatore
Technical Details
Message-ID:
<NMBIB-4FnQ-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Salvatore Bonaccorso <carnil@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1150514: php-mongodb: CVE-2026-106432 CVE-2026-106436 Date: Sat, 10 Oct 2026 11:40:01 +0200 Message-ID: <NMBIB-4FnQ-7@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Oct 10 09:33:14 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Salvatore Bonaccorso <carnil@debian.org>, 1150514@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team@security.debian.org, team+php-pecl@tracker.debian.org X-Debian-Pr-Message: report 1150514 X-Debian-Pr-Package: src:php-mongodb X-Debian-Pr-Keywords: security upstream X-Debian-Pr-Source: php-mongodb MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debian-User: carnil X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996033 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 47 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 10 Oct 2026 11:02:14 +0200 X-Original-Message-ID: <asn_FncEJ4MEwI9l@eldamar.lan>