Live threats

All CVEs / Mongodb

CVE-2026-106435Mongodb Python Driver

Medium 5.9

Priority
35
CVSS 4.0
5.9
EPSS
—
Auth required
Yes
Published
Oct 8, 2026
Updated
Oct 15, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-125
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Python Driver.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pymongo ≥ 3.9.0 < 4.18.3 4.18.3 pip install "pymongo>=4.18.3"

Per OSV / GitHub Advisories (GHSA-98qm-wvgf-w4cf). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mongodbpython_driver< 4.18.3

Official sources

References

Links published by the sources. Open them with care.