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.
{
"cna_assigner": "mongodb",
"cwe_ids": [
"CWE-125"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106435.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "0.10.3"
},
{
"last_affected": "4.18.2"
}
],
"source": "AFFECTED_FIELD"
}
]
}{
"cpe": "cpe:2.3:a:mongodb:python_driver:*:*:*:*:*:mongodb:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "4.18.3"
}
],
"source": "CPE_RANGE"
}