
CVE catalog
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
- Severity
- Medium · CVSS 6.3
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.26% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | php-mongodb | sid | 2.5.3-1 | vulnerable |
| Debian | php-mongodb | forky | 2.5.3-1 | vulnerable |
| Debian | php-mongodb | trixie | 2.0.0-1 | vulnerable |
| Debian | php-mongodb | trixie-security | 2.0.0-1+deb13u2 | fixed |
| Debian | php-mongodb | bookworm | 1.15.0+1.11.1+1.9.2+1.7.5-1 | vulnerable |
| Cpe | php_driver | Not reported | 2.5.4 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | php-mongodb | source | sid | (unfixed) | not yet assigned | Not reported | [1150514] |
| Debian | php-mongodb | source | forky | (unfixed) | not yet assigned | Not reported | [1150514] |
| Debian | php-mongodb | source | trixie | 2.0.0-1+deb13u2 | not yet assigned | Not reported | [1150514] |
| Debian | php-mongodb | source | bookworm | (unfixed) | not yet assigned | Not reported | [1150514] |
| Cpe | php_driver | cpe | Not reported | 2.5.4 | Not reported | NVD-CVE-2026-106436 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [php8.2-mongodb]Affected
Source package: [php-mongodb]
Details (2)
1.15.0+1.11.1+1.9.2+1.7.5-1· amd64 · bookwormAffected
nvd · php-mongodb · debian · bookworm; nvd · php-mongodb · debian · 12
1.15.0+1.11.1+1.9.2+1.7.5-1· arm64 · bookwormAffected
nvd · php-mongodb · debian · bookworm; nvd · php-mongodb · debian · 12
- [php-mongodb]Affected
Details (2)
1.15.0+1.11.1+1.9.2+1.7.5-1· amd64 · bookwormAffected
nvd · php-mongodb · debian · bookworm; nvd · php-mongodb · debian · 12
1.15.0+1.11.1+1.9.2+1.7.5-1· arm64 · bookwormAffected
nvd · php-mongodb · debian · bookworm; nvd · php-mongodb · debian · 12
- [php-mongodb-all-dev]Affected
Source package: [php-mongodb]
Details (2)
1.15.0+1.11.1+1.9.2+1.7.5-1· all · bookwormAffected
nvd · php-mongodb · debian · bookworm; nvd · php-mongodb · debian · 12
1.15.0+1.11.1+1.9.2+1.7.5-1· all · bookwormAffected
nvd · php-mongodb · debian · bookworm; nvd · php-mongodb · debian · 12
[Debian 13 (Trixie)]
- [php8.4-mongodb]Affected
Source package: [php-mongodb]
Details (4)
2.0.0-1· amd64 · trixieAffected · Fixed:
2.0.0-1+deb13u2nvd · php-mongodb · debian · 13
2.0.0-1· arm64 · trixieAffected · Fixed:
2.0.0-1+deb13u2nvd · php-mongodb · debian · 13
2.0.0-1+deb13u1· amd64 · trixie-security · Historical versionAffected · Fixed:
2.0.0-1+deb13u2nvd · php-mongodb · debian · 13
2.0.0-1+deb13u2· amd64 · trixie-securityFixed · Fixed:
2.0.0-1+deb13u2nvd · php-mongodb · debian · 13
- [php-mongodb]Affected
Details (4)
2.0.0-1· all · trixieAffected · Fixed:
2.0.0-1+deb13u2nvd · php-mongodb · debian · 13
2.0.0-1· all · trixieAffected · Fixed:
2.0.0-1+deb13u2nvd · php-mongodb · debian · 13
2.0.0-1+deb13u1· all · trixie-security · Historical versionAffected · Fixed:
2.0.0-1+deb13u2nvd · php-mongodb · debian · 13
2.0.0-1+deb13u2· all · trixie-securityFixed · Fixed:
2.0.0-1+deb13u2nvd · php-mongodb · debian · 13
- [php-mongodb-all-dev]Affected
Source package: [php-mongodb]
Details (4)
2.0.0-1· all · trixieAffected · Fixed:
2.0.0-1+deb13u2nvd · php-mongodb · debian · 13
2.0.0-1· all · trixieAffected · Fixed:
2.0.0-1+deb13u2nvd · php-mongodb · debian · 13
2.0.0-1+deb13u1· all · trixie-security · Historical versionAffected · Fixed:
2.0.0-1+deb13u2nvd · php-mongodb · debian · 13
2.0.0-1+deb13u2· all · trixie-securityFixed · Fixed:
2.0.0-1+deb13u2nvd · php-mongodb · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-106436]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-106436]
- [https://security-tracker.debian.org/tracker/CVE-2026-106436]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-106436.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-3830.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]