Skip to main content
← All vulnerabilities
CVE-2026-106437

Out-of-bounds read and write via undersized BSON buffer reservation in MongoDB C Driver

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.30.13, 2.5.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • MongoDB C Driver

    From 1.4.0 · fixed in 1.30.13; From 2.0.0 · fixed in 2.5.6

References 1

jira.mongodb.org