Skip to content

libmongocrypt

Heap overflow via oversized RSA signature in GCP KMS signing callback

CVE-2026-126792Published 12 Nov 2026, 23:53 UTC

Real-world risk

0.1/ 10Low

Routine

If the vulnerable configuration applies to you: 0.2

PreliminaryFrom the CVSS vector only · confidence low

CVSS

5.6

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from mongodb)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
libmongocryptNiche>= 1.1.0, <= 1.21.2—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactDenial of serviceCrash or resource exhaustion onlyFrom the CVSS vector0.40
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededHighAdmin or equivalentFrom the CVSS vector0.20
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.1% chance of exploitation in 30 days (percentile 3), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.020
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.4 × prerequisites 0.0203 × threat 0.850.069
  4. Rounded to one decimal between 0.1 and 100.1

How the score works

Exploitation and evidence timeline

  1. 12 Nov 2026 Published
  2. 3 Dec 2026 Risk 0.1 (cvss fallback)

Weakness

CWE-787

References

Get alerts for libmongocrypt

Free email or text alerts when a vulnerability in libmongocrypt reaches risk 8 or higher. Nothing else.