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

Published Updated

Attackers supplying untrusted Extended JSON to applications using BSON for Ruby can cause type confusion that modifies stored data.

CVSS score

High

8.7/10

CVSS 4.0 · Scored by Mongodb Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Over the internet
No login, no user action

What is CVE-2026-135226?

CVE-2026-135226 is a high-severity memory corruption vulnerability in MongoDB Ruby Driver, published on 25 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-843

How severe is CVE-2026-135226?

CVE-2026-135226 scores 8.7 out of 10 under CVSS 4.0, which is high severity. It was scored by Mongodb.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
None

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-135226?

An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.

How do I fix CVE-2026-135226?

No fix has been published for CVE-2026-135226 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-135226 being exploited?

There is no known exploitation of CVE-2026-135226 in the wild and no public exploit code.

Sources

Also known as UBUNTU-CVE-2026-135226.

Is CVE-2026-135226 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free