CVE-2026-106437
published medium CVSS 4.0 · 5.9Out-of-bounds read and write via undersized BSON buffer reservation in MongoDB C Driver
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB | — | C Driver1.4.0 to < 1.30.13 · 2.0.0 to < 2.5.6 · Other versions: unaffected | Affected | Not stated | mongodb |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- mongodb · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.2 | medium | mongodb · cna | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB | C Driver | 1.4.0 to < 1.30.13 (affected · semver)2.0.0 to < 2.5.6 (affected · semver)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-191 CWE-191: Integer Underflow (Wrap or Wraparound)
References
1Provider assertions
2mongodb · cna
Out-of-bounds read and write via undersized BSON buffer reservation in MongoDB C Driver
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 55cd336dee7afcb9ad8482e68a49cfbb1d5864d60f8d3a8cb94821f7028a5938
- Ingested
- 09 Oct 2026, 16:25:58 UTC
- Source record
- Official CVE record