CVE-2024-5629
published medium CVSS 3.1 · 4.7Out-of-bounds read in bson module of PyMongo
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB Inc | — | PyMongo0 through 4.6.2 · Other versions: unaffected | Affected | Not stated | mongodb |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-614 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | python-nose-docs | Advisory build | 1.3.7-31.module_el8.9.0+3700+efebe9fd | ALSA-2025:8419 |
| Debian | bullseye | pymongo | Advisory build | 3.11.0-1+deb11u1 | DLA-3889-1 |
| Oracle Linux | 8 | python-nose-docsaarch64 · python36 · 3.6b | Advisory build | 0:1.3.7-31.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-PyMySQLsrc | Advisory build | 0.10.1-2.module+el8.10.0+20784+edafcd43 | RHSA-2025:8419 |
| AlmaLinux | 8 | python-pymongo-doc | Advisory build | 3.7.0-2.module_el8.10.0+3998+2cf36268 | ALSA-2025:8419 |
| AlmaLinux | 8 | python-sqlalchemy-doc | Advisory build | 1.3.2-3.module_el8.10.0+3769+3838165b | ALSA-2025:8419 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | python-virtualenv-doc | Advisory build | 15.1.0-23.module_el8.10.0+3937+b6a3652f | ALSA-2025:8419 |
| AlmaLinux | 8 | python3-PyMySQL | Advisory build | 0.10.1-2.module_el8.9.0+3700+efebe9fd | ALSA-2025:8419 |
| AlmaLinux | 8 | python3-bson | Advisory build | 3.7.0-2.module_el8.10.0+3998+2cf36268 | ALSA-2025:8419 |
| AlmaLinux | 8 | python3-distro | Advisory build | 1.4.0-2.module_el8.9.0+3700+efebe9fd | ALSA-2025:8419 |
| AlmaLinux | 8 | python3-docs | Advisory build | 3.6.7-2.module_el8.9.0+3700+efebe9fd | ALSA-2025:8419 |
| AlmaLinux | 8 | python3-docutils | Advisory build | 0.14-12.module_el8.9.0+3700+efebe9fd | ALSA-2025:8419 |
| AlmaLinux | 8 | python3-nose | Advisory build | 1.3.7-31.module_el8.9.0+3700+efebe9fd | ALSA-2025:8419 |
| AlmaLinux | 8 | python3-pygments | Advisory build | 2.2.0-22.module_el8.9.0+3700+efebe9fd | ALSA-2025:8419 |
| AlmaLinux | 8 | python3-pymongo | Advisory build | 3.7.0-2.module_el8.10.0+3998+2cf36268 | ALSA-2025:8419 |
| AlmaLinux | 8 | python3-pymongo-gridfs | Advisory build | 3.7.0-2.module_el8.10.0+3998+2cf36268 | ALSA-2025:8419 |
| AlmaLinux | 8 | python3-scipy | Advisory build | 1.0.0-21.module_el8.9.0+3700+efebe9fd | ALSA-2025:8419 |
| AlmaLinux | 8 | python3-sqlalchemy | Advisory build | 1.3.2-3.module_el8.10.0+3769+3838165b | ALSA-2025:8419 |
| AlmaLinux | 8 | python3-virtualenv | Advisory build | 15.1.0-23.module_el8.10.0+3937+b6a3652f | ALSA-2025:8419 |
| AlmaLinux | 8 | python3-wheel | Advisory build | 1:0.31.1-3.module_el8.9.0+3700+efebe9fd | ALSA-2025:8419 |
| AlmaLinux | 8 | python3-wheel-wheel | Advisory build | 1:0.31.1-3.module_el8.9.0+3700+efebe9fd | ALSA-2025:8419 |
| AlmaLinux | 8 | python36 | Advisory build | 3.6.8-39.module_el8.10.0+3769+3838165b | ALSA-2025:8419 |
| AlmaLinux | 8 | python36-debug | Advisory build | 3.6.8-39.module_el8.10.0+3769+3838165b | ALSA-2025:8419 |
| AlmaLinux | 8 | python36-devel | Advisory build | 3.6.8-39.module_el8.10.0+3769+3838165b | ALSA-2025:8419 |
| AlmaLinux | 8 | python36-rpm-macros | Advisory build | 3.6.8-39.module_el8.10.0+3769+3838165b | ALSA-2025:8419 |
| Debian | buster | pymongo | Advisory build | 3.7.1-1.1+deb10u1 | DLA-3832-1 |
| Oracle Linux | 8 | python-nose-docsx86_64 · python36 · 3.6b | Advisory build | 0:1.3.7-31.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python-pymongo-docaarch64 · python36 · 3.6b | Advisory build | 0:3.7.0-2.module+el8.10.0+90599+fd4ba14b | ELSA-2025-8419 |
| Oracle Linux | 8 | python-pymongo-docx86_64 · python36 · 3.6b | Advisory build | 0:3.7.0-2.module+el8.10.0+90599+fd4ba14b | ELSA-2025-8419 |
| Oracle Linux | 8 | python-sqlalchemy-docaarch64 · python36 · 3.6b | Advisory build | 0:1.3.2-3.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python-sqlalchemy-docx86_64 · python36 · 3.6b | Advisory build | 0:1.3.2-3.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python-virtualenv-docaarch64 · python36 · 3.6b | Advisory build | 0:15.1.0-23.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python-virtualenv-docx86_64 · python36 · 3.6b | Advisory build | 0:15.1.0-23.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-PyMySQLaarch64 · python36 · 3.6b | Advisory build | 0:0.10.1-2.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-PyMySQLx86_64 · python36 · 3.6b | Advisory build | 0:0.10.1-2.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-bsonaarch64 · python36 · 3.6b | Advisory build | 0:3.7.0-2.module+el8.10.0+90599+fd4ba14b | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-bsonx86_64 · python36 · 3.6b | Advisory build | 0:3.7.0-2.module+el8.10.0+90599+fd4ba14b | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-distroaarch64 · python36 · 3.6b | Advisory build | 0:1.4.0-2.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-distrox86_64 · python36 · 3.6b | Advisory build | 0:1.4.0-2.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-docsaarch64 · python36 · 3.6b | Advisory build | 0:3.6.7-2.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-docsx86_64 · python36 · 3.6b | Advisory build | 0:3.6.7-2.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-docutilsaarch64 · python36 · 3.6b | Advisory build | 0:0.14-12.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-docutilsx86_64 · python36 · 3.6b | Advisory build | 0:0.14-12.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-noseaarch64 · python36 · 3.6b | Advisory build | 0:1.3.7-31.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-nosex86_64 · python36 · 3.6b | Advisory build | 0:1.3.7-31.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-pygmentsaarch64 · python36 · 3.6b | Advisory build | 0:2.2.0-22.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-pygmentsx86_64 · python36 · 3.6b | Advisory build | 0:2.2.0-22.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-pymongoaarch64 · python36 · 3.6b | Advisory build | 0:3.7.0-2.module+el8.10.0+90599+fd4ba14b | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-pymongox86_64 · python36 · 3.6b | Advisory build | 0:3.7.0-2.module+el8.10.0+90599+fd4ba14b | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-pymongo-gridfsaarch64 · python36 · 3.6b | Advisory build | 0:3.7.0-2.module+el8.10.0+90599+fd4ba14b | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-pymongo-gridfsx86_64 · python36 · 3.6b | Advisory build | 0:3.7.0-2.module+el8.10.0+90599+fd4ba14b | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-scipyaarch64 · python36 · 3.6b | Advisory build | 0:1.0.0-21.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-scipyx86_64 · python36 · 3.6b | Advisory build | 0:1.0.0-21.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-sqlalchemyaarch64 · python36 · 3.6b | Advisory build | 0:1.3.2-3.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-sqlalchemyx86_64 · python36 · 3.6b | Advisory build | 0:1.3.2-3.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-virtualenvaarch64 · python36 · 3.6b | Advisory build | 0:15.1.0-23.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-virtualenvx86_64 · python36 · 3.6b | Advisory build | 0:15.1.0-23.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-wheelaarch64 · python36 · 3.6b | Advisory build | 1:0.31.1-3.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-wheelx86_64 · python36 · 3.6b | Advisory build | 1:0.31.1-3.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-wheel-wheelaarch64 · python36 · 3.6b | Advisory build | 1:0.31.1-3.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python3-wheel-wheelx86_64 · python36 · 3.6b | Advisory build | 1:0.31.1-3.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python36aarch64 · python36 · 3.6b | Advisory build | 0:3.6.8-39.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python36x86_64 · python36 · 3.6b | Advisory build | 0:3.6.8-39.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python36-debugaarch64 · python36 · 3.6b | Advisory build | 0:3.6.8-39.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python36-debugx86_64 · python36 · 3.6b | Advisory build | 0:3.6.8-39.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python36-develaarch64 · python36 · 3.6b | Advisory build | 0:3.6.8-39.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python36-develx86_64 · python36 · 3.6b | Advisory build | 0:3.6.8-39.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python36-rpm-macrosaarch64 · python36 · 3.6b | Advisory build | 0:3.6.8-39.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Oracle Linux | 8 | python36-rpm-macrosx86_64 · python36 · 3.6b | Advisory build | 0:3.6.8-39.module+el8.10.0+90473+c30184f9 | ELSA-2025-8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-distrosrc | Advisory build | 1.4.0-2.module+el8.10.0+20784+edafcd43 | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-docssrc | Advisory build | 3.6.7-2.module+el8.10.0+20784+edafcd43 | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-docutilssrc | Advisory build | 0.14-12.module+el8.10.0+20784+edafcd43 | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-nosesrc | Advisory build | 1.3.7-31.module+el8.10.0+20784+edafcd43 | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-nose-docsnoarch | Advisory build | 1.3.7-31.module+el8.10.0+20784+edafcd43 | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-pygmentssrc | Advisory build | 2.2.0-22.module+el8.10.0+20784+edafcd43 | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-pymongosrc | Advisory build | 3.7.0-2.module+el8.10.0+23071+07f1d18e | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-pymongo-debuginfoaarch64 | Advisory build | 3.7.0-2.module+el8.10.0+23071+07f1d18e | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-pymongo-debuginfoppc64le | Advisory build | 3.7.0-2.module+el8.10.0+23071+07f1d18e | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-pymongo-debuginfos390x | Advisory build | 3.7.0-2.module+el8.10.0+23071+07f1d18e | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-pymongo-debuginfox86_64 | Advisory build | 3.7.0-2.module+el8.10.0+23071+07f1d18e | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-pymongo-debugsourceaarch64 | Advisory build | 3.7.0-2.module+el8.10.0+23071+07f1d18e | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-pymongo-debugsourceppc64le | Advisory build | 3.7.0-2.module+el8.10.0+23071+07f1d18e | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-pymongo-debugsources390x | Advisory build | 3.7.0-2.module+el8.10.0+23071+07f1d18e | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-pymongo-debugsourcex86_64 | Advisory build | 3.7.0-2.module+el8.10.0+23071+07f1d18e | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-pymongo-docnoarch | Advisory build | 3.7.0-2.module+el8.10.0+23071+07f1d18e | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-sqlalchemysrc | Advisory build | 1.3.2-3.module+el8.10.0+20981+3704b446 | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-sqlalchemy-docnoarch | Advisory build | 1.3.2-3.module+el8.10.0+20981+3704b446 | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-virtualenvsrc | Advisory build | 15.1.0-23.module+el8.10.0+22619+61b70790 | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-virtualenv-docnoarch | Advisory build | 15.1.0-23.module+el8.10.0+22619+61b70790 | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python-wheelsrc | Advisory build | 1:0.31.1-3.module+el8.10.0+20784+edafcd43 | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python3-PyMySQLnoarch | Advisory build | 0.10.1-2.module+el8.10.0+20784+edafcd43 | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python3-bsonaarch64 | Advisory build | 3.7.0-2.module+el8.10.0+23071+07f1d18e | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python3-bsonppc64le | Advisory build | 3.7.0-2.module+el8.10.0+23071+07f1d18e | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python3-bsons390x | Advisory build | 3.7.0-2.module+el8.10.0+23071+07f1d18e | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python3-bsonx86_64 | Advisory build | 3.7.0-2.module+el8.10.0+23071+07f1d18e | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python3-bson-debuginfoaarch64 | Advisory build | 3.7.0-2.module+el8.10.0+23071+07f1d18e | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python3-bson-debuginfoppc64le | Advisory build | 3.7.0-2.module+el8.10.0+23071+07f1d18e | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python3-bson-debuginfos390x | Advisory build | 3.7.0-2.module+el8.10.0+23071+07f1d18e | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python3-bson-debuginfox86_64 | Advisory build | 3.7.0-2.module+el8.10.0+23071+07f1d18e | RHSA-2025:8419 |
| Red Hat Enterprise Linux | RHEL-8 | python3-distronoarch | Advisory build | 1.4.0-2.module+el8.10.0+20784+edafcd43 | RHSA-2025:8419 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.7 / 10
- Severity
- medium
- Provider
- mongodb · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB Inc | PyMongo | 0 through 4.6.2 (affected · custom)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-125 CWE-125: Out-of-bounds Read
References
3Provider assertions
3mongodb · cna
Out-of-bounds read in bson module of PyMongo
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 506a70214f145b4b6fae298079a926fd4f12286525fc2a38c4024153010a65bc
- Ingested
- 23 Sep 2026, 08:32:47 UTC
- Source record
- Official CVE record