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

- Severity: Medium 5.9 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.09%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-10-08T20:12:15.074Z
- Modified: 2026-10-27T15:47:24.276Z
- Also known as: GHSA-98qm-wvgf-w4cf
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## 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.

(As written by CVE List.)

## Affected

- MongoDB Python Driver: from 0.10.3 up to 4.18.2
- pymongo (PyPI): from 3.9.0 before 4.18.3
- mongodb python_driver: before 4.18.3

## Every score

- mongodb: CVSS:4.0 5.9 Medium `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`
- mongodb: CVSS:3.1 5.1 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://jira.mongodb.org/browse/PYTHON-6110> (vendor-advisory, web)
- <https://github.com/mongodb/mongo-python-driver/security/advisories/GHSA-98qm-wvgf-w4cf> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-106435> (advisory)
- <https://github.com/mongodb/mongo-python-driver/pull/3109> (web)
- <https://github.com/mongodb/mongo-python-driver/commit/bb8d4e195275e75bd94ebeffb53cc747d357fcf4> (web)
- <https://github.com/mongodb/mongo-python-driver> (package)
- <https://github.com/mongodb/mongo-python-driver/releases/tag/4.18.3> (web)

## Sources

- CVE List: [CVE-2026-106435](https://www.cve.org/CVERecord?id=CVE-2026-106435), CVE Terms of Use, modified 2026-10-09
- GitHub Advisory Database: [GHSA-98qm-wvgf-w4cf](https://github.com/advisories/GHSA-98qm-wvgf-w4cf), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2026-106435](https://nvd.nist.gov/vuln/detail/CVE-2026-106435), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-106435 · Whole record: https://cve.day/CVE-2026-106435.json · Rebuilt by cve.day 2026-11-25T22:59:43.227Z
