Skip to content

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

MediumCVSS 5.6 EPSS 0.10%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
azure linux libmongocrypt(Azure Linux 4.0) All versions No fix listed No fix yet
MongoDB Libmongocrypt Driver >= 1.1.0, <= 1.21.2 after 1.21.2 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Libmongocrypt Driver >= 1.1.0, <= 1.21.2 No fix listed
azure linux libmongocrypt(Azure Linux:4.0) All versions No fix listed

References