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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.6, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-12 · Modified: 2026-11-17
- Record: https://cvemate.com/vulnerability/CVE-2026-126792 · JSON: https://cvemate.com/vulnerability/CVE-2026-126792/json

## Description

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

## Signals

- CVSS: 5.7 medium (v4.0, NVD) 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- EPSS: 0.129%, percentile 2.753%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- mongodb libmongocrypt driver: ≥ 1.1.0, ≤ 1.21.2

## References

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

---

Data as of 2026-12-05T04:25:08.231Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
