Live threats

All CVEs / Mongodb

CVE-2024-5629Mongodb Pymongo

High 8.1 No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
1.4%
probability of exploitation in 30 days · percentile 72
Auth required
No
Published
Jun 5, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-125
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pymongo.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pymongo < 4.6.3 4.6.3 pip install "pymongo>=4.6.3"
PyPI pymongo < 4.6.3 4.6.3 pip install "pymongo>=4.6.3"

Per OSV / GitHub Advisories (GHSA-m87m-mmvp-v9qm, PYSEC-2026-1826). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mongodbpymongo< 4.6.3
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.