Skip to main content

CVE-2026-106435: CWE-125: Out-of-bounds Read in MongoDB Python Driver

0
Medium
VulnerabilityCVE-2026-106435cvecve-2026-106435cwe-125
Published: 10/08/2026 (10/08/2026, 20:12:15 UTC)
Source: CVE Database V5
Vendor/Project: MongoDB
Product: Python Driver

Description

CVE-2026-106435 is a medium severity vulnerability in the MongoDB Python Driver's binary accelerator. It involves an out-of-bounds read when decoding malformed BSON data containing a truncated regular-expression element without a trailing NUL byte. This can cause the application process to terminate if the C extension is loaded. The vulnerability is triggered only when an attacker can supply BSON to the decode or decode_all API, and does not affect the normal database wire-protocol path.

CVSS v4.0

Score 5.9medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected software

MongoDB

Python Driver

Affected versions
>=0.10.3 <=4.18.2
pymongo
pkg:pypi/pymongo
Affected versions
>=0.10.3 <=4.18.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/08/2026, 21:19:03 UTC

Technical Analysis

The MongoDB Python Driver's binary accelerator has a buffer over-read vulnerability (CWE-125) caused by decoding malformed BSON with a truncated regular-expression element missing a trailing NUL byte. This leads to an out-of-bounds read in the C extension code, which can cause the application process to crash. The vulnerability requires an attacker to supply BSON data to the documented decode or decode_all API. The normal database wire-protocol path does not reach the vulnerable code. Affected versions are from 0.10.3 through 4.18.2 inclusive.

Potential Impact

An attacker able to supply BSON data to the decode or decode_all API can cause the application process to terminate due to an out-of-bounds read in the binary accelerator. This results in denial of service but does not allow code execution or data corruption. The vulnerability does not affect the normal database communication path, limiting the attack surface to applications that explicitly use the vulnerable decode APIs with untrusted BSON input.

Mitigation Recommendations

No patch or official fix information is provided in the vendor advisory or input data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid decoding untrusted BSON data using the decode or decode_all API with the binary accelerator enabled. Consider disabling the C extension if possible to prevent triggering the vulnerable code path.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mongodb
Date Reserved
2026-10-06T16:40:35.017Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ac7feea2cdf04f656318bd7

Added to database: 10/08/2026, 20:36:58 UTC

Last enriched: 10/08/2026, 21:19:03 UTC

Last updated: 10/09/2026, 00:28:18 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses