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.
https://jira.mongodb.org/browse/PYTHON-6110
https://github.com/mongodb/mongo-python-driver/security/advisories/GHSA-98qm-wvgf-w4cf
https://github.com/mongodb/mongo-python-driver/releases/tag/4.18.3
https://github.com/mongodb/mongo-python-driver/pull/3109
https://github.com/mongodb/mongo-python-driver/commit/bb8d4e195275e75bd94ebeffb53cc747d357fcf4
Published: 2026-10-08
Updated: 2026-10-15
Named Vulnerability: GHSA-98qm-wvgf-w4cfNamed Vulnerability: GHSA-86gh-39m5-hhg6
Base Score: 3.8
Vector: CVSS2#AV:L/AC:H/Au:S/C:N/I:N/A:C
Severity: Low
Base Score: 4.7
Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Severity: Medium
Base Score: 5.9
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
Severity: Medium
EPSS: 0.00094