GHSA-g9mw-2cwh-6hh9: Heap overflow via 32-bit length wrap of the URI username in Windows Kerberos auth message wrapping

Published Oct 22, 2026
·
Updated

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 Software

1 affected component
MongoDB MongoDB C driver

Event History

Oct 22, 2026
CVE Published
via OSV·07:13 PM
Data Sourced
via OSV·07:13 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Only MongoDB C Driver client builds on Windows that are compiled with the Windows-native Kerberos/SSPI authentication backend are affected. Builds that do not use that backend are not described as affected.

2

What would an attacker need to exploit this issue?

The attacker must be able to control client-side connection configuration and supply an excessively long credential value. The affected Kerberos/SSPI authentication mechanism must also be in use.

3

What can be done if an update cannot be applied immediately?

Restrict who can modify client connection configuration and prevent untrusted sources from supplying credential values. Avoid using the affected Windows-native Kerberos/SSPI backend where that is operationally possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203