CVE-2026-126792
JSON

5.6medium

Heap overflow via oversized RSA signature in GCP KMS signing callback

Severity
5.6medium CVSS:4.0 by mongodb
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
MongoDB Libmongocrypt Driverfrom 1.1.0 up to 1.21.2CVE List

All scores

mongodb5.6medium CVSS:4.0CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
mongodb4.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-126792 changed 2026-11-17CVE Terms of Use
NVDCVE-2026-126792 changed 2026-11-17Public domain