CVE-2026-106435
The MongoDB Python Driver's binary accelerator can read outside a …
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 now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- jira.mongodb.org/browse/PYTHON-6110
- github.com/mongodb/mongo-python-driver/security/advisories/GHSA-98qm-wvgf-w4cf
- nvd.nist.gov/vuln/detail/CVE-2026-106435
- github.com/mongodb/mongo-python-driver/pull/3109
- github.com/mongodb/mongo-python-driver/commit/bb8d4e195275e75bd94ebeffb53cc747d357fcf4
- github.com/mongodb/mongo-python-driver/releases/tag/4.18.3
- github.com/advisories/GHSA-98qm-wvgf-w4cf
- nvd.nist.gov/vuln/detail/CVE-2026-106435
- cve.org/CVERecord?id=CVE-2026-106435
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.