ADVISORIES

Vulnerability

CVE-2024-5629

An out-of-bounds read in the 'bson' module of PyMongo 4.6.2 or earlier allows deserialization of malformed BSON provided by a Server to raise an exception which may contain arbitrary application memory.

16 advisories report this vulnerability, across 11 ecosystems.

Advisories in PyPI

  • GHSA-m87m-mmvp-v9qm

    PyMongo Out-of-bounds Read in the bson module

    Moderate CVE-2024-5629 PyPI Updated 10 September 2026
  • PYSEC-2026-1826

    PyMongo Out-of-bounds Read in the bson module

    CVE-2024-5629 PyPI Updated 7 July 2026

References