bson/_cbsonmodule.c in the mongo-python-driver (aka.
bson/_cbsonmodule.c in the mongo-python-driver (aka. pymongo) before 2.5.2, as used in MongoDB, allows context-dependent attackers to cause a denial of service (NULL pointer dereference and crash) via vectors related to decoding of an "invalid DBRef."
- Published
- Aug 15, 2013
- Updated
- Jun 16, 2026
- EPSS
- 2.6% · 85th percentile
- CWE
- —
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
18
Monitor
Low priority for now.
- CVSS
- 17 / 40 · 4.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.6%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| mongodb | mongodb | cpe:2.3:a:mongodb:mongodb |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| opensuse | opensuse | cpe:2.3:o:opensuse:opensuse |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux12.04
- canonical ubuntu linux12.10
- canonical ubuntu linux13.04
- mongodb mongodbup to 2.5.1 inclusive
- mongodb mongodb1.2.0
- mongodb mongodb1.4.0
- mongodb mongodb1.6.0
- mongodb mongodb1.8.0
- mongodb mongodb2.0.0
- mongodb mongodb2.2.0
- mongodb mongodb2.4.0
- mongodb mongodb2.4.1
- mongodb mongodb2.4.2
- mongodb mongodb2.4.3
- mongodb mongodb2.4.4
- mongodb mongodb2.4.5
- mongodb mongodb2.5.0
- opensuse opensuse12.3
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | pymongo | before 2.5.2-1 | 2.5.2-1 |
| Debian:7 | pymongo | before 2.2-4+deb7u1 | 2.2-4+deb7u1 |
| openSUSE:Tumbleweed | python-pymongo | before 4.17.0-1.1 | 4.17.0-1.1 |
| PyPI | pymongo | before 2.5.2 | 2.5.2 |
| Red Hat:enterprise_mrg:2:server:el6 | mongodb | before 0:1.6.4-6.el6 | 0:1.6.4-6.el6 |
| Red Hat:enterprise_mrg:2:server:el6 | mongodb-debuginfo | before 0:1.6.4-6.el6 | 0:1.6.4-6.el6 |
| Red Hat:enterprise_mrg:2:server:el6 | mongodb-server | before 0:1.6.4-6.el6 | 0:1.6.4-6.el6 |
| Red Hat:enterprise_mrg:2:server:el6 | pymongo | before 0:1.9-11.el6 | 0:1.9-11.el6 |
| Red Hat:enterprise_mrg:2:server:el6 | pymongo-debuginfo | before 0:1.9-11.el6 | 0:1.9-11.el6 |
| Red Hat:enterprise_mrg:2:server:el6 | python-bson | before 0:1.9-11.el6 | 0:1.9-11.el6 |
Same product
mongodb: all recordsOther highest-scoring records for the same primary product.
- CVE-2025-14847Zlib compressed protocol header length confusion may allow memory readKEV89Now
- CVE-2025-3085MongoDB Server running on Linux may allow unexpected connections where intermediate certificates are revoked39Monitor
- CVE-2024-8654MongoDB Server may access non-initialized region of memory leading to unexpected behaviour39Monitor
- CVE-2024-1351MongoDB Server may allow successful untrusted connection39Monitor
- CVE-2013-1892MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMonkey, which allows r37Monitor
- CVE-2026-82067Improper Case Sensitivity Handling in MongoDB Server Configuration Validation May Cause Authorization to Remain Disabled at Startup36Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:pymongo | 2.5.2-1 · Debian:12 | Package registry (OSV) |
| opensuse:python-pymongo | 4.17.0-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| PyPI:pymongo | 2.5.2 | Package registry (OSV) |
| red hat:mongodb | 0:1.6.4-6.el6 · Red Hat:enterprise_mrg:2:server:el6 | Package registry (OSV) |
| red hat:mongodb-debuginfo | 0:1.6.4-6.el6 · Red Hat:enterprise_mrg:2:server:el6 | Package registry (OSV) |
| red hat:mongodb-server | 0:1.6.4-6.el6 · Red Hat:enterprise_mrg:2:server:el6 | Package registry (OSV) |
| red hat:pymongo | 0:1.9-11.el6 · Red Hat:enterprise_mrg:2:server:el6 | Package registry (OSV) |
| red hat:pymongo-debuginfo | 0:1.9-11.el6 · Red Hat:enterprise_mrg:2:server:el6 | Package registry (OSV) |
| red hat:python-bson | 0:1.9-11.el6 · Red Hat:enterprise_mrg:2:server:el6 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
Technical details
Attack conditions
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- P · the service can be disrupted
- Attack complexity
- M
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- P
Weakness class (CWE)
—
CVSS vector
AV:N/AC:M/Au:N/C:N/I:N/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=710597
- lists.opensuse.org/opensuse-updates/2013-06/msg00180.html
- seclists.org/oss-sec/2013/q2/447
- ubuntu.com/usn/usn-1897-1
- www.debian.org/security/2013/dsa-2705
- www.osvdb.org/93804
- www.securityfocus.com/bid/60252
- jira.mongodb.org/browse/PYTHON-532
Vendor advisories and official records. Exploit/PoC links are deliberately left out.