Skip to content
CVE PROGRAM SOURCE RECORD5.7 Medium

CVE-2026-114645

Heap overflow via 32-bit length wrap of the URI username in Windows Kerberos auth message wrapping

Description

A 32-bit integer wraparound in the MongoDB C Driver's Windows-only Kerberos/SSPI authentication code can cause an undersized heap buffer to be allocated when an excessively long credential value is supplied in the client's connection configuration. A party able to control that client-side configuration, in conjunction with the affected authentication mechanism, can cause the driver to write outside the bounds of the allocated buffer. This may result in corruption of client process memory and denial of service of the client application. The issue affects only client builds compiled with the Windows-native authentication backend.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

MongoDB C Driver

Default version status: unaffected

  • 1.6.0 to < 1.30.14affected
  • 2.0.0 to < 2.5.7affected

References