Security mailing lists by PureSourceCode

CVE-2024-5629

HIGH 8.1CVSS 3.1

PyMongo Out-of-bounds Read in the bson module

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
5 Jun 2024
Last modified
10 Sep 2026
Assigned by
cna@mongodb.com
NVD status
Modified
Weakness
CWE-125
Also known as
GHSA-m87m-mmvp-v9qmPYSEC-2026-1826
Sources
NVDJSONOSV GHSA-m87m-mmvp-v9qmJSONOSV PYSEC-2026-1826JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
NVD cna@mongodb.com (Secondary) CVSS 3.1 MEDIUM 4.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 4.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:L
OSV PyPA CVSS 3.1 MEDIUM 4.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mongodb pymongo
cpe:2.3:a:mongodb:pymongo:*:*:*:*:*:*:*:*
< 4.6.3 4.6.3
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
OSV PyPI pymongo < 4.6.3 4.6.3

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 5 Jun 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Jun 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.