What’s Vulnerable › Vulnerabilities
CVE-2026-9740: Unbounded recursion in BSONColumn interleaved-reference causes pre-auth stack overflow
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-09 · updated 2026-07-23
- Weakness: CWE-674
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
- MongoDB: from 7.0.0 before 7.0.35; from 8.0.0 before 8.0.24; from 8.2.0 before 8.2.10; from 8.3.0 before 8.3.3 — fixed in 7.0.35, 8.0.24, 8.2.10, 8.3.3
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