CVE-2024-5629: Out-of-bounds read in bson module of PyMongo
Vulnerability summary
CVE-2024-5629 is a high (CVSS 8.1) Out-of-bounds Read vulnerability in debian debian_linux. EPSS estimates a 0.66% chance of exploitation in the next 30 days, higher than 53% of scored vulnerabilities.
Not severe (CVSS 4.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Duplicates 1 · Related 3Timeline
- 05-06-2024PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 8 sources · 1 version- CVE.orgCNA4.7MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:LDiffers
- OSV · PypiEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:LDiffers
- OSV · Red hatEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:LDiffers
- OSV · ChainguardEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:LDiffers
EPSS trend
Probability
0.66%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.66% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat39 products
- python-distro< 0:1.4.0-2.module+el8.10.0+20784+edafcd43
- python-docs< 0:3.6.7-2.module+el8.10.0+20784+edafcd43
- python-docutils< 0:0.14-12.module+el8.10.0+20784+edafcd43
- python-nose< 0:1.3.7-31.module+el8.10.0+20784+edafcd43
- python-nose-docs< 0:1.3.7-31.module+el8.10.0+20784+edafcd43
Debian2 products
- pymongo< 3.11.0-1+deb12u1 | < 4.7.3-1 | < 3.7.1-1.1+deb10u1 | < 3.11.0-1+deb11u1
- debian_linuxEOL10.0
Chainguard1 product
- kubeflow-pipelines-visualization-server< 2.2.0-r0
Mongodb1 product
- pymongo< 4.6.3
Mongodb inc1 product
- pymongo≤ 4.6.2
PyPI1 product
- pymongo< 4.6.3
Ubuntu1 product
- pymongoAll versions (No fix recorded) | < 2.6.3-1ubuntu0.1~esm1 | < 3.2-1ubuntu0.1~esm1 | < 3.6.1+dfsg1-1ubuntu0.1~esm1 | < 3.10.1-0ubuntu2.1 | < 3.11.0-1ubuntu0.22.04.1 | < 3.11.0-1ubuntu0.24.04.1
Wolfi1 product
- kubeflow-pipelines-visualization-server< 2.2.0-r0
8 vendors · 47 products
References
21 links- jira.mongodb.org/browse/PYTHON-4305Release NotesWEBREPORTAdvisoryIssue TrackingPatchThird Party Advisory
- pypi.org/project/pymongoPACKAGE