CVE-2026-106435

Medium

Description

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.

SeverityMedium
CVSS5.1
Exploit probability—
ProductMongodb Python Driver
PublishedOct 8, 2026
First seenOct 8, 2026

How to fix

Update
  • mongodb python_driver4.18.3 or later
  • pymongo4.18.3 or later

Affected products

ProductAffected versionsFixed in
mongodb python_driverv < 4.18.34.18.3
pymongoPyPI3.9.0 ≤ v < 4.18.34.18.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-106435 · Mongodb Python Driver · Dark Radar