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.
Published: 2026-10-22
Score: 5.7 Medium
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

A 32‑bit wrap‐around bug in the MongoDB C Driver’s Windows‑only Kerberos/SSPI authentication stack can cause an undersized heap buffer to be allocated when an overly long credential string is supplied in the client connection configuration. This buffer underrun may lead to corruption of the driver’s process memory and can result in a client application crash or denial of service. The weakness is a classic integer overflow, classified as CWE‑190.

Affected Systems

The vulnerability affects the MongoDB C Driver across both 1.x and 2.x branches, specifically in builds compiled with the Windows‑native authentication backend. Versions released prior to the 1.30.14 and 2.5.7 updates contain the flaw; the referenced releases contain a patch that eliminates the wrap‑around condition.

Risk and Exploitability

The CVSS score of 5.7 indicates moderate severity. EPSS and KEV data are unavailable, suggesting no widely reported exploitation at this time. The likely attack vector requires an attacker who can control the client‑side configuration or supply a crafted connection string, implying a local or trusted‑user threat. In the absence of a public exploit, the risk remains medium, with mitigation through updating the driver being the most effective countermeasure.

Generated by OpenCVE AI on October 23, 2026 at 03:14 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the MongoDB C Driver to at least version 1.30.14 (for the 1.x line) or 2.5.7 (for the 2.x line), which contain the fix for the heap buffer under‑allocation.
  • If the application requires Windows authentication, consider disabling the Windows‑native Kerberos/SSPI backend until the driver is updated, or switch to an alternative authentication method such as SCRAM or TLS certificates.
  • Monitor the client application for memory corruption crashes or abnormal termination, and isolate the driver in a sandboxed or monitored environment to contain potential crashes.

Generated by OpenCVE AI on October 23, 2026 at 03:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 03:45:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb c Driver
Vendors & Products Mongodb
Mongodb c Driver

Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
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.
Title Heap overflow via 32-bit length wrap of the URI username in Windows Kerberos auth message wrapping
Weaknesses CWE-190
References
Metrics cvssV3_1

{'score': 5.2, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H'}

cvssV4_0

{'score': 5.7, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Mongodb C Driver
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-10-22T20:38:25.360Z

Reserved: 2026-10-21T21:57:41.116Z

Link: CVE-2026-114645

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-22T19:17:38.157

Modified: 2026-10-22T21:17:17.040

Link: CVE-2026-114645

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T03:30:15Z

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound