Skip to content

CVE-2026-135226 Type confusion in DBPointer handling in BSON Ruby Extended JSON parsing

HighCVSS 8.7 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Ubuntu

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.

Upgrade path

5 packages: 1 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/ruby-bson(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/ruby-bson(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/ruby-bson(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/ruby-bson(Ubuntu 26.10) All versions No fix listed No fix yet
MongoDB Ruby Driver >= 4.8.0, < 5.2.1 5.2.1 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Ruby Driver >= 4.8.0, < 5.2.1 5.2.1
ubuntu/ruby-bson(Ubuntu:24.04) All versions No fix listed
ubuntu/ruby-bson(Ubuntu:26.04) All versions No fix listed
ubuntu/ruby-bson(Ubuntu:26.10) All versions No fix listed
ubuntu/ruby-bson(Ubuntu:22.04) All versions No fix listed

References