Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-93395— Integer Underflow → Heap Out-of-Bounds Read in `bson_new_from_buffer()

Quick assessment

Affected
MongoDB Inc. C Driver
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

libbson 中的 函数存在下限验证缺失漏洞。在处理带有零长度前缀的 BSON 数据时,该漏洞会导致整数下溢。具体而言,该函数会从输入缓冲区中读取一个 32 位的文档长度值,但在将其用于数组索引计算之前,未验证该值是否至少为 5(BSON 文档的最小有效大小)。当长度字段为 0 时,用于检查文档空终止符的表达式会回绕为 ,从而导致堆越界读取并引发进程崩溃。能够向使用此 API 的应用程序提供特制 BSON 输入的攻击者可利用此漏洞造成服务拒绝(DoS)。

CVSS 5.3 · Medium EPSS 0.24% · P15

Affected Version Matrix 1

VendorProduct Version RangeStatus
MongoDB Inc. C Driver 2.0.0< 2.3.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-93395

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Integer Underflow → Heap Out-of-Bounds Read in `bson_new_from_buffer()
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
整数下溢(超界折返)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
MongoDB Inc. C Driver 2.0.0 ~ 2.3.1 -

II. Public POCs for CVE-2026-93395

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-93395

登录查看更多情报信息。

Vendor Pages for CVE-2026-93395 (1)

Same Patch Batch · MongoDB Inc. · 2026-09-17 · 6 CVEs total

CVE-2026-93393 8.1 HIGH Heap overflow via oversized decrypted TLS record sequence in Windows Secure Channel stream
CVE-2026-92756 5.5 MEDIUM Combining encryption settings may disable encryption
CVE-2026-92757 5.5 MEDIUM Malformed connection string may disable field level encryption
CVE-2026-92758 5.5 MEDIUM Logs may collect sensitive information
CVE-2026-93394 3.7 LOW libmongoc SCRAM client nonce-validation bypass

IV. Related Vulnerabilities

V. Comments for CVE-2026-93395

No comments yet


Leave a comment