CVE-2026-106435

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

State
Published
Severity
5.9 Medium
Published
Oct 8, 2026
Updated
Oct 9, 2026
Reserved
Oct 6, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.9 MediumCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:Nmongodb
3.15.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:Hmongodb

Weaknesses

Affected Products

ProductVersions
Python DriverMongoDB
  • 0.10.3 through 4.18.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.