Skip to main content
VulnerabilityPublished Updated

CVE-2026-106437: Mongo c driver · The BSON buffer-reservation API in the MongoDB C Driver can record a length smaller

Affects mongo-c-driverSource GCVE Database

0
Authoritative record:CVE-2026-106437· Medium 5.9

Not known to be exploited · CVSS 5.9 Medium.

Data as of 28 Oct 2026, 22:31 UTC

CVSS 4.0 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.
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. Weaponised: 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 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10mongo-c-driverpkg:deb/ubuntu/mongo-c-driver?arch=source&distro=stonkingOther threatsAffected
  • 2.2.2-1 – 2.5.0-1
5 affected builds
Fixed in–
Ubuntu 26.04 LTSmongo-c-driverpkg:deb/ubuntu/mongo-c-driver?arch=source&distro=resoluteOther threatsAffected
  • 1.30.4-1ubuntu1 – 2.2.2-1
4 affected builds
Fixed in–
Ubuntu Pro 24.04 LTSmongo-c-driverpkg:deb/ubuntu/mongo-c-driver?arch=source&distro=esm-apps/nobleOther threatsAffected
  • 1.24.3-1 – 1.26.0-1.1ubuntu2+esm1
9 affected builds
Fixed in–
Ubuntu Pro 22.04 LTSmongo-c-driverpkg:deb/ubuntu/mongo-c-driver?arch=source&distro=esm-apps/jammyOther threatsAffected
  • 1.18.0-1 – 1.21.0-1ubuntu0.1~esm1
9 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSmongo-c-driverpkg:deb/ubuntu/mongo-c-driver?arch=source&distro=esm-apps/focalOther threatsAffected
  • 1.15.0-1 – 1.16.1-1ubuntu0.1~esm1
8 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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…