
CVE catalog
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 t
- Severity
- Low · CVSS 3.6
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.17% · Oct 25, 2026
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.
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-106432 | 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-106432]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-106432]
- [https://security-tracker.debian.org/tracker/CVE-2026-106432]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-106432.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]