Use of NullPointerException Catch to Detect NULL Pointer Dereference in Pymongo
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."
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | pymongo | < 2.5.2 | 2.5.2 |
References
- http://www.securityfocus.com/bid/60252
- http://lists.opensuse.org/opensuse-updates/2013-06/msg00180.html
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710597
- http://www.osvdb.org/93804
- https://github.com/mongodb/mongo-python-driver/commit/a060c15ef87e0f0e72974c7c0e57fe811bbd06a2
- http://ubuntu.com/usn/usn-1897-1
- http://www.debian.org/security/2013/dsa-2705
- http://seclists.org/oss-sec/2013/q2/447
- https://jira.mongodb.org/browse/PYTHON-532
- https://github.com/advisories/GHSA-x33v-f3gp-gw2c
- https://nvd.nist.gov/vuln/detail/CVE-2013-2132
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710597
- https://github.com/mongodb/mongo-python-driver
- https://github.com/pypa/advisory-database/tree/main/vulns/pymongo/PYSEC-2013-30.yaml
- https://lists.opensuse.org/opensuse-updates/2013-06/msg00180.html
- https://seclists.org/oss-sec/2013/q2/447
- https://ubuntu.com/usn/usn-1897-1
- https://www.debian.org/security/2013/dsa-2705
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N- Weakness (CWE)
CWE-395- Platform
- Python (PyPI)
- Package
pymongo- Disclosed
- 15.08.2013
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2013-30 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-x33v-f3gp-gw2c - CC BY 4.0
Vulnerability history: pymongo
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 6
- First → latest
- 08.2013 10.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 2
- Medium 4
Disclosures per year
- 2017: 0
- 2018: 0
- 2019: 0
- 2020: 0
- 2021: 0
- 2022: 0
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 4
earlier: 1
-
Use of NullPointerException Catch to Detect NULL Pointer Dereference in Pymongo this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.