MongoDB Python Driverの脆弱性、細工したBSONでアプリが停止し一部のメモリ情報が漏えいするおそれ
Summary
MongoDB Python DriverのC拡張によるBSONのデコード処理で範囲外読み取りの脆弱性が見つかりました。細工したBSONデータを受け取ると、アプリケーションのプロセスが停止するおそれがあり、設定によってはエラーメッセージに近接するメモリの内容が含まれ、一部の情報が漏えいするおそれもあります。1.9.0以降4.20.2未満が影響を受け、修正版は4.20.2です。4.20.2以降への更新をおすすめします。
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 Python DriverのC拡張によるBSONのデコード処理で範囲外読み取りの脆弱性が見つかりました。細工したBSONデータを受け取ると、アプリケーションのプロセスが停止するおそれがあり、設定によってはエラーメッセージに近接するメモリの内容が含まれ、一部の情報が漏えいするおそれもあります。1.9.0以降4.20.2未満が影響を受け、修正版は4.20.2です。4.20.2以降への更新をおすすめします。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MongoDBPython Driver |
≥ 1.9.0, < 4.20.2→ 4.20.2 |
4.20.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-135898 pymongo No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-135898 pymongo No fixed version in this record
Original description The description as published by the source.
An out-of-bounds read in the native C BSON decoding extension of the MongoDB Python Driver may allow an unauthenticated party who can supply crafted BSON data to the decoder to cause the application process to terminate. In some configurations, nearby process memory may be included in error messages, which may result in limited unintended disclosure of data.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- web cna@mongodb.com