CVE-2026-126792 Heap overflow via oversized RSA signature in GCP KMS signing callback
A caller controlling key-management configuration can overflow a heap buffer in Libmongocrypt, crashing the client process.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Harmful if only installed
- No
- Needs a specific call
- Yes
- Fix
- None listed
What is CVE-2026-126792?
CVE-2026-126792 is a medium-severity memory corruption vulnerability in MongoDB Libmongocrypt Driver, published on 12 Nov 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-787
Which versions are affected by CVE-2026-126792?
An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.
How do I fix CVE-2026-126792?
No fix has been published for CVE-2026-126792 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-126792 being exploited?
There is no known exploitation of CVE-2026-126792 in the wild and no public exploit code.
Sources
Also known as GHSA-26gf-ccr3-ppg9.