Out-of-bounds read in mongo-python-driver - CVE-2026-106435
Published: October 15, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to an out-of-bounds read in the C extension's BSON decoder when decoding malformed Regex elements. A remote attacker can supply a BSON document containing a truncated Regex element to cause a denial of service.
Exploitation requires the C extension to be loaded and untrusted BSON to be decoded from buffers without a NUL sentinel, such as mmap or array buffers accepted by bson.decode and bson.decode_all. The driver's own transport and pure-Python installations are not affected.