ADVISORIES

Vulnerability

CVE-2026-106435

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.

41 advisories report this vulnerability, across 6 ecosystems.

Advisories in PyPI

  • GHSA-98qm-wvgf-w4cf

    MongoDB Python Driver: Out-of-bounds read in BSON decoding via a malformed Regex element

    High CVE-2026-106435 PyPI Updated 27 October 2026

References