
CVE catalog
CVE-2026-106431
An off-by-one error in the BSON bulk document writer in the MongoDB C Driver can write one zero byte immediately past a heap allocation when a document ends at a specific buffer boundary. An actor who
- Severity
- Medium · CVSS 5.9
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/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.10% · Oct 22, 2026
An off-by-one error in the BSON bulk document writer in the MongoDB C Driver can write one zero byte immediately past a heap allocation when a document ends at a specific buffer boundary. An actor who can influence the size of documents serialized by an embedding application can corrupt adjacent process memory or terminate the process. Reaching this issue requires the application to use the BSON bulk-writer API and produce a precise cumulative document size.
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 | mongo-c-driver | sid | 2.5.7-1 | fixed |
| Debian | mongo-c-driver | forky | 2.5.6-1 | fixed |
| Debian | mongo-c-driver | trixie | 1.30.4-1+deb13u3 | vulnerable |
| Debian | mongo-c-driver | bookworm | 1.23.1-1+deb12u3 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | mongo-c-driver | source | sid | 2.5.6-1 | not yet assigned | Not reported | Not reported |
| Debian | mongo-c-driver | source | forky | 2.5.6-1 | not yet assigned | Not reported | Not reported |
| Debian | mongo-c-driver | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | mongo-c-driver | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
Notes
[trixie] mongo-c-driver: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libbson-1.0-0]Affected
Source package: [mongo-c-driver]
Details (2)
1.23.1-1+deb12u3· amd64 · bookwormAffected
nvd · mongo-c-driver · debian · bookworm
1.23.1-1+deb12u3· arm64 · bookwormAffected
nvd · mongo-c-driver · debian · bookworm
- [libbson-dev]Affected
Source package: [mongo-c-driver]
Details (2)
1.23.1-1+deb12u3· amd64 · bookwormAffected
nvd · mongo-c-driver · debian · bookworm
1.23.1-1+deb12u3· arm64 · bookwormAffected
nvd · mongo-c-driver · debian · bookworm
- [libbson-doc]Affected
Source package: [mongo-c-driver]
Details (2)
1.23.1-1+deb12u3· all · bookwormAffected
nvd · mongo-c-driver · debian · bookworm
1.23.1-1+deb12u3· all · bookwormAffected
nvd · mongo-c-driver · debian · bookworm
- [libmongoc-1.0-0]Affected
Source package: [mongo-c-driver]
Details (2)
1.23.1-1+deb12u3· amd64 · bookwormAffected
nvd · mongo-c-driver · debian · bookworm
1.23.1-1+deb12u3· arm64 · bookwormAffected
nvd · mongo-c-driver · debian · bookworm
- [libmongoc-dev]Affected
Source package: [mongo-c-driver]
Details (2)
1.23.1-1+deb12u3· amd64 · bookwormAffected
nvd · mongo-c-driver · debian · bookworm
1.23.1-1+deb12u3· arm64 · bookwormAffected
nvd · mongo-c-driver · debian · bookworm
- [libmongoc-doc]Affected
Source package: [mongo-c-driver]
Details (2)
1.23.1-1+deb12u3· all · bookwormAffected
nvd · mongo-c-driver · debian · bookworm
1.23.1-1+deb12u3· all · bookwormAffected
nvd · mongo-c-driver · debian · bookworm
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-106431]
- [https://security-tracker.debian.org/tracker/CVE-2026-106431]
- [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)]