Skip to content
Heist/ feed
Medium

One-byte heap buffer overflow in BSON bulk document writer in MongoDB C Driver

Type: advisorySource: Official CVE List1 source record

An off-by-one error in the BSON bulk document writer in the MongoDB C Driver can write one zero byte immediately past a heap allocation when a document ends at a specific buffer boundary. An actor who can influence the size of documents serialized by an embedding application can corrupt adjacent process memory or terminate the process. Reaching this issue requires the application to use the BSON bulk-writer API and produce a precise cumulative document size.

Announced Source revision 1
Original source ↗

CVE-2026-106431

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-106431

C Driver

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "MongoDB",
    "product": "C Driver",
    "versions": [
      {
        "status": "affected",
        "version": "0.5.0",
        "lessThan": "1.30.13",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "2.0.0",
        "lessThan": "2.5.6",
        "versionType": "semver"
      }
    ],
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-106431

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#15675 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement