Back to CVE records
Medium 5.3Published Sep 17, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects MongoDB Inc. C Driver. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
5.3 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness (CWE)
CWE-191
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
mongodb
NVD analysis
Analyzed
Record last updated
Sep 18, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
MongoDB Inc. C Driver
mongodb:c_driver (from the name)
from 2.0.0 before 2.3.1
CNA record
mongodb c_driver
mongodb:c_driver
from 2.0.0 before 2.3.1
NVD

References

  • permissions-required

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.