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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MongoDB | PyMongo | up to 4.6.2 | — | No fix listed | CNA |
| — | pymongo (PyPI) | before 4.6.3 | 4.6.3 | Patch available | GHSA-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
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 Lowpython36: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 →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 16.1 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 16.2 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 17.1 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2025:8419 |
Not affected: 1 product
- Red Hat Satellite 6
Timeline
- 2026-10-02 Threatist record created from CVE-2024-5629
- 2026-10-03 Alias added: GHSA-m87m-mmvp-v9qm
- 2026-10-06 EPSS moved to the 50th–90th percentile
References
Advisory 2
Sources
- CVE-2024-5629 · CVE Program
- CVE-2024-5629 · NVD
- FIRST EPSS
- GHSA-m87m-mmvp-v9qm · GitHub Advisory Database · CC BY 4.0
- CVE-2024-5629 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences