CVE-2026-9740 Unbounded recursion in BSONColumn interleaved-reference causes pre-auth stack overflow
HighCVSS 8.7
EPSS 0.53%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MongoDB Server | >= 7.0.0, < 7.0.35; >= 8.0.0, < 8.0.24; >= 8.2.0, < 8.2.10; >= 8.3.0, < 8.3.3 | 7.0.35, 8.0.24, 8.2.10, 8.3.3 | Fixed |
| mongodb/mongodb | >= 7.0.0, < 7.0.35; >= 8.0.0, < 8.0.24; >= 8.2.0, < 8.2.10; >= 8.3.0, < 8.3.3 | 7.0.35, 8.0.24, 8.2.10, 8.3.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB Server | >= 8.3.0, < 8.3.3 | 8.3.3 |
| MongoDB Server | >= 8.2.0, < 8.2.10 | 8.2.10 |
| MongoDB Server | >= 8.0.0, < 8.0.24 | 8.0.24 |
| MongoDB Server | >= 7.0.0, < 7.0.35 | 7.0.35 |
| mongodb/mongodb | >= 7.0.0, < 7.0.35 | 7.0.35 |
| mongodb/mongodb | >= 8.0.0, < 8.0.24 | 8.0.24 |
| mongodb/mongodb | >= 8.2.0, < 8.2.10 | 8.2.10 |
| mongodb/mongodb | >= 8.3.0, < 8.3.3 | 8.3.3 |
References
- jira.mongodb.org vendor-advisory