# CVE-2026-126792: Heap overflow via oversized RSA signature in GCP KMS signing callback

- Severity: Medium 5.6 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-11-12T23:53:12.989Z
- Modified: 2026-11-17T17:18:00.670Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## 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.

(As written by CVE List.)

## Affected

- MongoDB Libmongocrypt Driver: from 1.1.0 up to 1.21.2

## Every score

- mongodb: CVSS:4.0 5.6 Medium `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`
- mongodb: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H`

## References

- <https://jira.mongodb.org/browse/MONGOCRYPT-975>
- <https://jira.mongodb.org/browse/PYTHON-5999>

## Sources

- CVE List: [CVE-2026-126792](https://www.cve.org/CVERecord?id=CVE-2026-126792), CVE Terms of Use, modified 2026-11-17
- NVD: [CVE-2026-126792](https://nvd.nist.gov/vuln/detail/CVE-2026-126792), Public domain, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-126792 · Whole record: https://cve.day/CVE-2026-126792.json · Rebuilt by cve.day 2026-11-25T22:59:50.582Z
