5.1Medium

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

MongoDB Python Driver Published: (1 month ago)

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.

Weakness (CWE): CWE-125

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
MongoDB Python Driver 0.10.3 – ≤ 4.18.2

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:mongodb:python_driver:*:*:*:*:*:mongodb:*:* < 4.18.3