Skip to content
Fencer Intel
medium 4.3

CVE-2013-2132 json

Use of NullPointerException Catch to Detect NULL Pointer Dereference in Pymongo

published 13y ago modified 4mo ago also GHSA-x33v-f3gp-gw2c , PYSEC-2013-30 , EUVD-2013-0028

cvss
4.3
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
4.1%
EPSS 4.1% chance of exploitation in 30 days, percentile 90%
public exploits
0
none known

Summary

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

Patch / fix

  • pypi pymongo 2.5.2
  • pymongo Debian 14, Debian 13, Debian 12 2.5.2-1

debian advisories DEBIAN-CVE-2013-2132

  • mongodb enterprise mrg 2 1.6.4-6.el6
  • pymongo enterprise mrg 2 1.9-11.el6
  • python-bson enterprise mrg 2 1.9-11.el6
  • mongodb-server enterprise mrg 2 1.6.4-6.el6

red hat advisories RHSA-2013:1170

  • python-pymongo openSUSE Tumbleweed 4.17.0-1.1

opensuse advisories openSUSE-SU-2026:11478-1

Is CVE-2013-2132 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2013-2132 updated cvss 5.0

pymongo: null pointer when decoding invalid DBRef

  • Red Hat MRG Grid for RHEL 6 Server v.2 pymongo 1.9-11.el6, mongodb 1.6.4-6.el6, python-bson 1.9-11.el6, mongodb-server 1.6.4-6.el6
    fixed: vendor fix RHSA-2013:1170
  • Red Hat Satellite 6 python-bson, python-pymongo, python-pymongo-gridfs
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

4.11% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • github.com https://github.com/mongodb/mongo-python-driver/commit/a060c15ef87e0f0e72974c7c0e57fe811bbd06a2 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Affected packages

ecosystem package affected fixed in
pypi pymongo
<2.5.2
2.5.2

Classification

Weakness
  • CWE-395 Use of NullPointerException Catch to Detect NULL Pointer Dereference
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.