Read the docs
TI-2024-05226 Aliases CVE-2024-5629GHSA-m87m-mmvp-v9qm

Out-of-bounds read in bson module of PyMongo

Priority LOW 36CWE-125Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · None · High
Fix status
Partial Red Hat: 1 fixed, 4 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00663 51st percentileScored 2026-11-07
Fix Partial pymongo (PyPI): 4.6.3Red Hat: 1 advisoryRed Hat: 1 fixed, 4 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
MongoDBPyMongoup to 4.6.2—No fix listedCNA
—pymongo (PyPI)before 4.6.34.6.3Patch availableGHSA-m87m-mmvp-v9qm
  • PyMongo VendorMongoDB Affected up to 4.6.2 Fixed in — No fix listed CNA
  • pymongo (PyPI) Vendor— Affected before 4.6.3 Fixed in 4.6.3 Patch available GHSA-m87m-mmvp-v9qm

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:mongodb:pymongo:*:*:*:*:*:*:*:*before 4.6.3VulnerableMongoDB
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
  • cpe:2.3:a:mongodb:pymongo:*:*:*:*:*:*:*:* Versions before 4.6.3 Vulnerable ·MongoDB
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian

Remediation

  • Fix · GHSA-m87m-mmvp-v9qm pymongo (PyPI) Fixed in 4.6.3 Advisory →

Red Hat 1 advisory

  • RHSA-2025:8419 Released 2025-06-03 · Red Hat rating Low
    python36:3.6 security update
    • Red Hat Enterprise Linux AppStream (v. 8) python-PyMySQL-0.10.1-2.module+el8.10.0+20784+edafcd43.src::python36:3.6, python-distro-1.4.0-2.module+el8.10.0+20784+edafcd43.src::python36:3.6, python-docs-3.6.7-2.module+el8.10.0+20784+edafcd43.src::python36:3.6 +47

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 16.1AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 16.2AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 17.1AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2025:8419
Not affected: 1 product
  • Red Hat Satellite 6

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-5629
  2. 2026-10-03 Alias added: GHSA-m87m-mmvp-v9qm
  3. 2026-10-06 EPSS moved to the 50th–90th percentile

References

Sources