GHSA-86gh-39m5-hhg6: Duplicate Advisory: PYTHON-6110 Out-of-bounds read in BSON decoding via a malformed Regex element
This advisory was withdrawn on Oct 27, 2026. The publisher no longer considers it a valid vulnerability.
Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-98qm-wvgf-w4cf. This link is maintained to preserve external references. Original 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.
Published Oct 8, 2026 · Updated Oct 27, 2026
Affected packages
pymongo
- Ecosystem
- PyPI
- Affected
- >= 3.9.0, <= 4.18.2
- Fixed in
- No patched version yet
- Check
pip show pymongo
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-98qm-wvgf-w4cf. This link is maintained to preserve external references.
Original 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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-106435
MongoDB Python Driver: Out-of-bounds read in BSON decoding via a malformed Regex element
high8.2Oct 27, 2026CVE-2026-88029
pymongo: PYTHON-5994 Use exact match for file ID in GridFS delete methods
medium6.1Oct 5, 2026CVE-2026-96747
PyMongo: PYTHON-5990 Forced Unix domain socket connection via a .sock KMS endpoint in client-side field level encryption
medium5.0Oct 5, 2026CVE-2026-96748
PyMongo: PYTHON-5986 Host injection in PyMongo connection string parsing via percent-encoded delimiters
high6.5Oct 5, 2026CVE-2026-96749
PyMongo: PYTHON-5996 Heap out-of-bounds write via signed size overflow in BSON document encoding
high8.4Oct 5, 2026CVE-2024-5629
PyMongo Out-of-bounds Read in the bson module
medium4.7Jun 5, 2024
