{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-5629","id":"CVE-2024-5629","title":"Out-of-bounds read in bson module of PyMongo","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.","descriptionLong":"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.","published":"2024-06-05T14:32:56.435Z","updated":"2026-10-28T02:30:27.629401690Z","reserved":"2024-06-04T13:49:31.496Z","status":"Modified","rejected":false,"assigner":"mongodb","metric":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:L","rating":"medium","source":"mongodb"},"metrics":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:L","rating":"medium","source":"mongodb"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:L","rating":"medium","source":"mongodb.com"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["MongoDB Inc PyMongo"],"affectedProducts":[{"vendor":"MongoDB Inc","product":"PyMongo","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"4.6.2","status":"affected","version":"0","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"pymongo","purl":"pkg:pypi/pymongo","ranges":["<4.6.3"],"fixed":["4.6.3"],"advisory":"GHSA-m87m-mmvp-v9qm"}],"cwes":["CWE-125"],"aliases":["GHSA-m87m-mmvp-v9qm","PYSEC-2026-1826"],"references":[{"url":"https://jira.mongodb.org/browse/PYTHON-4305","tags":["release-notes","x_transferred","Issue Tracking","Patch","Third Party Advisory","advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00007.html","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00032.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5629.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5629","tags":["advisory"]},{"url":"https://github.com/mongodb/mongo-python-driver/commit/56b6b6dbc267d365d97c037082369dabf37405d2","tags":["web"]},{"url":"https://gist.github.com/keltecc/62a7c2bf74a997d0a7b48a0ff3853a03","tags":["web"]},{"url":"https://github.com/mongodb/mongo-python-driver","tags":["package"]},{"url":"https://security.snyk.io/vuln/SNYK-PYTHON-PYMONGO-6370597","tags":["web"]},{"url":"https://pypi.org/project/pymongo","tags":["package"]},{"url":"https://github.com/advisories/GHSA-m87m-mmvp-v9qm","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00663,"epssPercentile":0.52489,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-5629","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5629","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-5629","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-m87m-mmvp-v9qm","ok":true,"note":"GHSA-m87m-mmvp-v9qm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-5629","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["mongodb"],"critical":[],"attention":null}