CVE-2026-93395
Last modified
CVE-2026-93395 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. A missing lower-bound validation in the bson_new_from_buffer() function of libbson allows an integer underflow when processing BSON data with a zero-length prefix. The function reads a 32-bit document length from the input buffer but does not verify that the value is at least 5 (the minimum valid BSON document size) before using it in an array index calculation. EPSS estimates a 0.40% chance of exploitation in the next 30 days.
Description
A missing lower-bound validation in the bson_new_from_buffer() function of libbson allows an integer underflow when processing BSON data with a zero-length prefix. The function reads a 32-bit document length from the input buffer but does not verify that the value is at least 5 (the minimum valid BSON document size) before using it in an array index calculation. When the length field is zero, the expression used to check the document's null terminator wraps to UINT32_MAX, causing a heap out-of-bounds read that crashes the process. An unauthorized party who can supply crafted BSON input to an application using this API can cause a denial of service.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mongodb | C Driver | >= 2.0.0, < 2.3.1 |
References
- https://jira.mongodb.org/browse/CDRIVER-6343Permissions Required
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-93395?
How severe is CVE-2026-93395?
How do I fix CVE-2026-93395?
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-93385Information leak in Paint in Google Chrome prior to 153.0.80…6.5
- CVE-2026-93386UI misrepresentation in WebAppInstalls in Google Chrome prio…5.4
- CVE-2026-93387Improper state validation in Skia in Google Chrome prior to …4.3
- CVE-2026-93388The Printcart Store (PCDesigner / NB Designer) plugin for Wo…9.8
- CVE-2026-93393A heap-based buffer overflow exists in the TLS transport lay…8.1
- CVE-2026-93394A flaw in libmongoc's SCRAM authentication implementation ca…3.7
- CVE-2026-93399The Bookly plugin for WordPress is vulnerable to Insecure Di…9.1
- CVE-2026-93405Mailspring is a fast, cross-platform, open-source email clie…6.1
- CVE-2026-9341The Academy LMS – WordPress LMS Plugin for Complete eLearnin…4.3
- CVE-2026-9342A security flaw has been discovered in SourceCodester Hospit…6.3
- CVE-2026-93421Mesop is a Python-based UI framework that allows users to bu…5.3
- CVE-2026-93425Dokploy is a free, self-hostable Platform as a Service (PaaS…9.9
Are you affected by CVE-2026-93395?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
