Skip to main content
VulnerabilityPublished

CVE-2026-106437: MongoDB C Driver · Integer Underflow

Affects MongoDB C DriverSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.9 Medium : upgrade to 2.5.6 or 1.30.13 when convenient.

Data as of 22 Nov 2026, 21:14 UTC

CVSS 4.0 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 2% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.5.6, 1.30.13
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.

What to do

Upgrade MongoDB C Driver to 2.5.6 or 1.30.13.

Affected software

ProductAffectedFixed in
MongoDBC DriverAffected
  • >=2.0.0 <2.5.6
Fixed in
  • 2.5.6
MongoDBC DriverAffected
  • >=1.4.0 <1.30.13
Fixed in
  • 1.30.13

AI-suggested

If you cannot patch yet, avoid supplying undersized lengths to bson_reserve_buffer in embedding applications.

Description

The BSON buffer-reservation API in the MongoDB C Driver can record a length smaller than the five-byte BSON minimum. Later append or comparison operations can underflow unsigned length calculations and read or write outside the document buffer. An actor who can influence the length supplied by an embedding application can cause the application to terminate or read or corrupt adjacent process memory. Reaching this issue requires the application to pass an undersized value to bson_reserve_buffer and then perform an affected operation.

References

Community reviews

Loading reviews…