Skip to main content
← All vulnerabilities
CVE-2026-106435GHSA-98QM-WVGF-W4CF

Application denial of service via out-of-bounds read in BSON Regex decoding in MongoDB Python Driver

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.18.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • MongoDB Python Driver

    From 0.10.3 · through 4.18.2

  • pymongoPyPI

    From 3.9.0 · fixed in 4.18.3

References 1

jira.mongodb.org