CVE-2026-106435: MongoDB Python Driver
Medium severity, CVSS 4.7. EPSS: 0.1% probability of exploitation activity in the next 30 days.
The MongoDB Python Driver's binary accelerator can read outside a buffer when an application decodes malformed BSON containing a truncated regular-expression element without a trailing NUL byte. An actor who can supply BSON to the documented decode or decode_all API can cause the application process to terminate when the C extension is loaded. The driver's normal database wire-protocol path does not reach this code.
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- MongoDB Python Driver, before 4.18.3: fixed in 4.18.3
Affected products
- MongoDB Python Driver: before 4.18.3 (fixed in 4.18.3)
Affected packages
- pymongo (PyPI)
Published 2026-10-08. Last modified 2026-10-15.