Elevated
MongoDB Python Driver BSON decoder out-of-bounds read flaw
CVE-2026-135898
Python programs connected to MongoDB can crash or leak some data.
- CVE
- CVE-2026-135898 (opens in a new tab)
- Score
- CVSS 8.8
- First seen
8.8
Products
Mitigation
Update the Python Driver to 4.20.2 or later.
Summary
An out-of-bounds read in the BSON decoder of the MongoDB Python Driver lets an attacker who sends crafted data crash an app's process and, in some setups, leak nearby memory. Versions 1.9.0 up to before 4.20.2 are affected.
Affected when
- Crafted BSON data can be sent to the decoder
- In some configurations, error messages may include nearby memory
- Python Driver 1.9.0 or later, before 4.20.2
3 other Incidents of this product in the last 30 days
Incidents by product: MongoDB Python Driver
Other recent Incidents of MongoDB Python Driver
Distribution packages (2) (every link below opens in a new tab)
- Debian 13 (trixie)pymongo · not fixed yet
- Debian 12 (bookworm)pymongo · not fixed yet
Sources: Debian Security Tracker
Read the write-up · jira.mongodb.org (opens in a new tab)
- Write-up: jira.mongodb.org (opens in a new tab)
- CVE record: cve.org (opens in a new tab)