CVE-2026-106431
Last modified
CVE-2026-106431 is a medium-severity vulnerability rated 5.7/10 on the CVSS scale. 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.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| MongoDB | C Driver | >= 0.5.0, < 1.30.13; >= 2.0.0, < 2.5.6 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-106431?
How severe is CVE-2026-106431?
How do I fix CVE-2026-106431?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-106426Race condition in Fonts in Google Chrome prior to 155.0.8059…8.3
- CVE-2026-106427Confused deputy in Mobile in Google Chrome on on iOS prior t…5.4
- CVE-2026-106428An out-of-bounds read in SCRAM authentication response parsi…3.7
- CVE-2026-106429An integer underflow in the KMS endpoint-parsing logic of Mo…6.5
- CVE-2026-10643Zephyr's IP socket recvmsg() implementation (subsys/net/lib/…7.8
- CVE-2026-106430The MongoDB C++ Driver discards content after an embedded NU…5.9
- CVE-2026-106432The BSON encoder in the MongoDB PHP Driver converts a string…3.6
- CVE-2026-106433Improper state management in MongoDB libmongocrypt can cause…8.8
- CVE-2026-106434The explicit decryption component of MongoDB libmongocrypt c…4.3
- CVE-2026-106436The BSON encoder in the MongoDB PHP Driver does not check so…4.8
- CVE-2026-106437The BSON buffer-reservation API in the MongoDB C Driver can …6.2
- CVE-2026-106438An incorrect calculation in Decimal128 string parsing in the…4
Are you affected by CVE-2026-106431?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
