CVE-2026-106428: Out-of-bounds read in SCRAM response parsing in MongoDB C Driver
An out-of-bounds read in SCRAM authentication response parsing in the MongoDB C Driver can read one byte beyond a fixed-size buffer when processing a malformed server-final message. A server or network intermediary able to provide this message before server-signature verification can cause the application using the driver to terminate. The extra byte is not returned through the protocol.
Other sources
Out-of-bounds read in SCRAM response parsing in MongoDB C Driver
— Microsoft
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
azurelinux/mongo-c-driverto a version that resolves this vulnerability.Fixed in 0:1.30.15-6.azl4 - Upgrade
Upgrade
debian/mongo-c-driverto a version that resolves this vulnerability.Fixed in 1.30.4-1+deb13u5 - Upgrade
Upgrade
debian/mongo-c-driverto a version that resolves this vulnerability.Fixed in 2.4.0-1 - Upgrade
Upgrade
debian/mongo-c-driverto a version that resolves this vulnerability.Fixed in 1.30.4-1+deb13u5Fixed in 2.4.0-1
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
Applications using the MongoDB C Driver during SCRAM authentication are exposed if a server or network intermediary can supply a malformed server-final message before server-signature verification.
What does an attacker need to exploit it?
An attacker needs the ability to provide or alter the SCRAM server-final authentication message before the driver verifies the server signature. The issue does not require privileges or user interaction, but exploitation has high attack complexity.
What is the expected impact?
A malformed message can cause the application using the driver to terminate. The out-of-bounds byte is not returned through the protocol, and the provided impact data indicates no confidentiality or integrity impact.