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

Read the record on cve.org

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.

ProductVersions
Ruby Driver MongoDB4.8.0 to before 5.2.1 Affected

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.