Heap overflow via oversized RSA signature in GCP KMS signing callback
- CVE-2026-126792
- GHSA-26gf-ccr3-ppg9
- EUVD-2026-124805
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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
MongoDB Libmongocrypt Driver
Affected versions Fixed in from 1.1.0 up to 1.21.2 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.