Read the docs

Heap buffer overflow in MongoDB Libmongocrypt Driver

Priority LOW 24CWE-787Published · Updated

Key facts

Attack vector
Local
Privileges required
High
User interaction
None
Attack complexity
High
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · Low · High
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

MongoDB Libmongocrypt Driver from 1.1.0 through 1.21.2 has an out-of-bounds write (CWE-787) in key-management request code. A fixed-size output buffer assumes a key size that is never validated, so oversized data is written past its end when an application supplies its own cryptographic callback. An attacker needs high privileges over the application's in-process key-management configuration and can corrupt memory, terminating the client process.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

Description from the CNA

A memory-safety flaw in the key-management request-building component of the library can lead to an out-of-bounds write on the heap. A fixed-size output buffer is used under an assumption about cryptographic key size that is never validated, so when the library is embedded by a caller that supplies its own cryptographic callback implementation, data larger than the buffer can be written past its end. Exploitation requires the ability to control the embedding application's in-process key-management provider configuration, a high-privilege position. The demonstrated impact is memory corruption resulting in abnormal termination of the client process.

Why it matters now

EPSS 0.001 0th percentileScored 2026-11-16
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
MongoDBLibmongocrypt Driver1.1.0 – 1.21.2—No fix listedCNA
  • Libmongocrypt Driver VendorMongoDB Affected 1.1.0 – 1.21.2 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for MongoDB Libmongocrypt Driver.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

Timeline

  1. 2026-11-13 Threatist record created from CVE-2026-126792
  2. 2026-11-13 Alias added: GHSA-26gf-ccr3-ppg9

References

  • TI-2019-08023 Remote code execution in mongo-express via toBSON endpoints KEVCVSS 3.1CRITICAL 9.9
  • TI-2025-13542 Zlib header length mismatch in MongoDB Server allows memory read KEVCVSS 4.0HIGH 8.7
  • TI-2026-89295 MongoDB Server Missing Authorization Check in Replication Administrative Command CVSS 4.0HIGH 8.6
  • TI-2026-89289 Incorrect authorization in MongoDB Server allows admin access CVSS 4.0HIGH 8.6
  • TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
  • TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
See all 411 →

Sources