cve.bz

CVE-2026-126792

Heap overflow via oversized RSA signature in GCP KMS signing callback

5.6 medium

Medium (5.6) in mongodb libmongocrypt driver.

On this page
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.

Severity

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

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
CWE
CWE-787 Out-of-bounds Write
Published
Assigned by
mongodb (CNA)
NVD analysis
Not in the NVD yet
Record from
the CVE List, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-126792 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-126792?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-126792?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-126792 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-126792

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-126792](https://cve.bz/cve/badge/CVE-2026-126792.svg)](https://cve.bz/cve/CVE-2026-126792)

HTML:

<a href="https://cve.bz/cve/CVE-2026-126792"><img src="https://cve.bz/cve/badge/CVE-2026-126792.svg" alt="CVE-2026-126792"></a>

Affected

  • mongodb:libmongocrypt driver

Versions

From the CNA's record in the CVE List.

ProductAffected
MongoDB Libmongocrypt Driverfrom 1.1.0 through 1.21.2

References

Check your stackJSON