CVE-2026-126792
Received Received - Intake

Heap Out-of-Bounds Write in Key-Management Library

Vulnerability report for CVE-2026-126792, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-13

Last updated on: 2026-11-13

Assigner: MongoDB, Inc.

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-13
Last Modified
2026-11-13
Generated
2026-11-13
AI Q&A
2026-11-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
mongodb library *
mongodb mongodb *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a memory-safety flaw in the key-management request-building component of a library. It causes an out-of-bounds write on the heap due to a fixed-size output buffer not validating cryptographic key sizes. When the library is used with a custom cryptographic callback, data larger than the buffer can overwrite memory beyond its limits. Exploitation requires high privileges to control key-management provider configuration.

Detection Guidance

Detection requires identifying memory corruption or abnormal process termination in applications using the vulnerable library. Monitor logs for crashes or heap corruption errors. Use tools like AddressSanitizer (ASan) or Valgrind to detect out-of-bounds writes during execution.

Impact Analysis

The impact includes memory corruption, which can lead to abnormal termination of the client process. Since exploitation requires high privileges, only attackers with significant access could trigger this flaw. The primary risk is system instability or crashes in the affected application.

Compliance Impact

This vulnerability may impact compliance with GDPR and HIPAA due to potential memory corruption leading to abnormal process termination. Such failures could disrupt data processing or storage operations, potentially violating integrity and availability requirements under these regulations.

Mitigation Strategies

Update the library to the latest patched version. If using a custom cryptographic callback, validate key sizes before passing them to the library. Restrict privileges of processes using the library to limit exploitation potential.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-126792. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...