CVE-2026-106435
The MongoDB Python Driver's binary accelerator can read outside a buffer when an application decodes malformed BSON containing a truncated regular-expression e…
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | pymongo | >= 3.9.0, <= 4.18.2 | 4.18.3 |
Betroffene Produkte · MongoDB
| Produkt | Betroffene Versionen |
|---|---|
| Python Driver | vor 4.18.3 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-98qm-wvgf-w4cf
- https://github.com/mongodb/mongo-python-driver/security/advisories/GHSA-98qm-wvgf-w4cf
- https://nvd.nist.gov/vuln/detail/CVE-2026-106435
- https://github.com/mongodb/mongo-python-driver/pull/3109
- https://github.com/mongodb/mongo-python-driver/commit/bb8d4e195275e75bd94ebeffb53cc747d357fcf4
- https://github.com/mongodb/mongo-python-driver/releases/tag/4.18.3
- https://jira.mongodb.org/browse/PYTHON-6110