What’s Vulnerable › Vulnerabilities

CVE-2026-9740: Unbounded recursion in BSONColumn interleaved-reference causes pre-auth stack overflow

Description

A vulnerability in MongoDB Server's BSON validation logic allows an unauthenticated user to crash the mongod process by sending a specially crafted message. The BSON validator's handling of certain nested binary data structures permits uncontrolled mutual recursion between validation functions, where each re-entry resets internal depth tracking.

Affected products

How to fix

Upgrade to a fixed version: MongoDB 7.0.35, 8.0.24, 8.2.10, 8.3.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-9740 or the next vulnerability affects your stack