Type confusion in DBPointer handling in BSON Ruby Extended JSON parsing
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 23, 2026
Description
A type-confusion weakness in the Extended JSON parsing component of BSON for Ruby allows a party who can supply parser input to influence how a serialized document is framed. Content placed in one value may be read back as additional or replacement document fields. An unauthenticated party supplying input to an application that parses untrusted Extended JSON and stores the result may cause unintended modification of stored data.
| Product | Versions |
|---|---|
| Ruby Driver MongoDB | 4.8.0 to before 5.2.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | mongodb | |
| 3.1 | 7.5 High | mongodb |
Weaknesses
- CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.