MongoDB C Driverに不正なカーソル応答で遠隔から処理が停止する脆弱性
Summary
MongoDB C Driverでは、サーバーの応答に含まれるnamespace項目の検証が不十分なため、不正な値を返されるとクライアントアプリケーションのプロセスが終了するおそれがあります。メモリの範囲外読み取りによって、アプリケーションの未初期化メモリの一部が外部に送信される可能性もあります。影響するのは1.25.0以上1.30.14以下と2.0.0以上2.5.7以下で、修正版の情報は現時点では確認できていません。最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
MongoDB C Driverでは、サーバーの応答に含まれるnamespace項目の検証が不十分なため、不正な値を返されるとクライアントアプリケーションのプロセスが終了するおそれがあります。メモリの範囲外読み取りによって、アプリケーションの未初期化メモリの一部が外部に送信される可能性もあります。影響するのは1.25.0以上1.30.14以下と2.0.0以上2.5.7以下で、修正版の情報は現時点では確認できていません。最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MongoDBC Driver |
1.25.0 – 1.30.14→ Not listed 2.0.0 – 2.5.7→ Not listed |
Not listed Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-120956 mongo-c-driver Fix available
- Ubuntu UBUNTU-CVE-2026-120956 mongo-c-driver No fixed version in this record
Original description The description as published by the source.
The MongoDB C Driver does not validate the type or format of a namespace field returned by the server in a query response. A MongoDB endpoint that a client application connects to, without needing any credentials, can return a malformed value in that field. This causes the client application process to terminate, and can also cause the driver to read memory outside an allocated buffer and to send a small amount of the application's own uninitialized heap memory back to the endpoint in a follow-up command. The impact is limited to the process that embeds the driver.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- REDHAT Red Hat
- web cna@mongodb.com