CVE-2026-126792
Heap overflow via oversized RSA signature in GCP KMS signing callback
- Severity
- medium CVSS 5.6 (v4.0)
- Affects
- Libmongocrypt Driver · MongoDB
- Weakness
- CWE-787: Out-of-bounds Write
- Published
- 12 November 2026 by mongodb
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.