CVE Professor
›
Back
CVE-2026-126792

CVE-2026-126792 — MongoDB Libmongocrypt Driver (1.21.2) — CWE-787

MEDIUM CVSS 5.6 ⚡ EPSS 0.1% CVE.org

CVE-2026-126792 is a MEDIUM severity Memory Corruption / Buffer Overflow vulnerability (CWE-787) (CVSS 5.6/10 (EPSS: 0.1%)) affecting MongoDB Libmongocrypt Driver (1.21.2). Technical vector analysis shows that an attacker can exploit this flaw via local access (AV:L) with high privileges (PR:H) with zero user interaction (UI:N), allowing unauthorized disclosure of sensitive data (C:H).

📄 Official NVD / MITRE Original Record Text

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.

Published 12.11.2026
ISO Date 2026-11-12
CVSS Version v4.0
Source CVE.org
CVSS v4.0 Vector Metrics
CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Attack Vector Local AV:L
Attack Complexity High AC:H
Attack Reqs. Present AT:P
Privileges Req. High PR:H
User Interaction None UI:N
Vuln. Conf. None VC:N
Vuln. Integrity Low VI:L
Vuln. Avail. High VA:H
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
EPSS — Exploit Prediction Scoring System
0.1%
30-day probability
In the 1. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-126792
CVSS 5.6/10 · MEDIUM · 12.11.2026
CWE: CWE-787
Vector: CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Buffer Overflow / Memory Corruption
Summary: 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 it…
Affected: MongoDB:Libmongocrypt Driver

⚡ ATTACK CHAIN
1. Fuzz with Boofuzz/AFL++ to find crash.
2. Find offset: pattern_create→crash→pattern_offset EIP
3. Control EIP/RIP, bypass NX with ROP chains.
4. ASLR bypass via info leak or brute force.
5. Metasploit: search CVE-XXXX; use exploit/...; run

🔧 Tools: GDB+PEDA/pwndbg, ROPgadget, pwntools, Metasploit, AFL++
🗺️ MITRE ATT&CK: T1203 (Exploitation for Client Execution), T1068

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; service can be completely taken down.

🛡️ REMEDIATION
→ Apply vendor security update for MongoDB:Libmongocrypt Driver.
→ Verify ASLR/NX/Stack Canary are active.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="MongoDB"
CVSS Score
5.6 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-787
Affected Products (1)
MongoDB:Libmongocrypt Driver (1.21.2)
References & Advisories (2)
Related CVEs
9.8
CVE-2026-110486
In Eclipse Mosquitto versions 2.1 through 2.1.2, a listener configured with `protocol websockets` mishandles e
9.8
CVE-2026-116446
Dell PowerStore SDNAS contains an out-of-bounds memory vulnerability in the NAS NFS service that an unauthenti
9.6
CVE-2026-116441
Dell PowerStore SDNAS contains an out-of-bounds write vulnerability in the storage-processor interconnect driv
8.8
CVE-2026-131875
fqterm before 0.9.11 contains a heap out-of-bounds write vulnerability in FQTermDecode that allows malicious s
8.3
CVE-2026-131848
Snap7 through 1.4.3 contains an out-of-bounds write vulnerability in TSnap7MicroClient::opReadMultiVars() that
8.1
CVE-2026-123007
This issue affects NGINX Plus or NGINX Open Source configurations that use HTTP/2. When NGINX processes undisc