CVE catalog

CVE-2024-5629

PyMongo vulnerability

[CVE catalog]

Severity
Medium · CVSS 5.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.66% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpymongosid4.19.0-1fixed
Debianpymongoforky4.19.0-1fixed
Debianpymongotrixie4.10.1-6fixed
Debianpymongobookworm3.11.0-1+deb12u1fixed
Ubuntupymongonoble3.11.0-1ubuntu0.24.04.1fixed
Ubuntupython-pymongo-docnoble3.11.0-1ubuntu0.24.04.1fixed
Ubuntupython3-bsonnoble3.11.0-1ubuntu0.24.04.1fixed
Ubuntupython3-bson-extnoble3.11.0-1ubuntu0.24.04.1fixed
Ubuntupython3-gridfsnoble3.11.0-1ubuntu0.24.04.1fixed
Ubuntupython3-pymongonoble3.11.0-1ubuntu0.24.04.1fixed
Ubuntupython3-pymongo-extnoble3.11.0-1ubuntu0.24.04.1fixed
Ubuntupymongopro3.4.0-1build2vulnerable
Ubuntupymongopro3.6.1+dfsg1-1vulnerable
Ubuntupymongopro3.6.1+dfsg1-1ubuntu0.1~esm1fixed
Ubuntupymongo20.043.7.1-1.1vulnerable
Ubuntupymongo20.043.7.1-1.1build1vulnerable
Ubuntupymongo20.043.10.1-0ubuntu2vulnerable
Ubuntupymongo20.043.10.1-0ubuntu2.1fixed
Ubuntupymongo22.043.11.0-1build2vulnerable
Ubuntupymongo22.043.11.0-1build3vulnerable
Ubuntupymongo22.043.11.0-1build4vulnerable
Ubuntupymongo22.043.11.0-1ubuntu0.22.04.1fixed
Ubuntupymongo24.043.11.0-1build6vulnerable
Ubuntupymongo24.043.11.0-1build7vulnerable
Ubuntupymongo24.043.11.0-1build8vulnerable
Ubuntupymongo24.043.11.0-1ubuntu0.24.04.1fixed
Ubuntupymongo14.042.6-1vulnerable
Ubuntupymongo14.042.6.2-1vulnerable
Ubuntupymongo14.042.6.3-1vulnerable
Ubuntupymongo14.042.6.3-1build1vulnerable
Ubuntupymongopro3.4.0-1build2vulnerable
Ubuntupymongopro3.6.1+dfsg1-1vulnerable
Ubuntupymongopro3.6.1+dfsg1-1ubuntu0.1~esm1fixed
Ubuntupymongo20.043.7.1-1.1vulnerable
Ubuntupymongo20.043.7.1-1.1build1vulnerable
Ubuntupymongo20.043.10.1-0ubuntu2vulnerable
Ubuntupymongo20.043.10.1-0ubuntu2.1fixed
Ubuntupymongo22.043.11.0-1build2vulnerable
Ubuntupymongo22.043.11.0-1build3vulnerable
Ubuntupymongo22.043.11.0-1build4vulnerable
Ubuntupymongo22.043.11.0-1ubuntu0.22.04.1fixed
Ubuntupymongo24.043.11.0-1build6vulnerable
Ubuntupymongo24.043.11.0-1build7vulnerable
Ubuntupymongo24.043.11.0-1build8vulnerable
Ubuntupymongo24.043.11.0-1ubuntu0.24.04.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpymongosourcesid4.7.3-1not yet assignedNot reportedNot reported
Debianpymongosourceforky4.7.3-1not yet assignedNot reportedNot reported
Debianpymongosourcetrixie4.7.3-1not yet assignedNot reportedNot reported
Debianpymongosourcebookworm3.11.0-1+deb12u1not yet assignedNot reportedNot reported
Ubuntupymongodebnoble3.11.0-1ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntupython-pymongo-docdebnoble3.11.0-1ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntupython3-bsondebnoble3.11.0-1ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntupython3-bson-extdebnoble3.11.0-1ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntupython3-gridfsdebnoble3.11.0-1ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntupython3-pymongodebnoble3.11.0-1ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntupython3-pymongo-extdebnoble3.11.0-1ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntupymongodebpro3.6.1+dfsg1-1ubuntu0.1~esm1Not reportedUSN-6904-1Not reported
Ubuntupymongodeb20.043.10.1-0ubuntu2.1Not reportedUSN-6904-1Not reported
Ubuntupymongodeb22.043.11.0-1ubuntu0.22.04.1Not reportedUSN-6904-1Not reported
Ubuntupymongodeb24.043.11.0-1ubuntu0.24.04.1Not reportedUSN-6904-1Not reported
Ubuntupymongodebpro3.6.1+dfsg1-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2024-5629Not reported
Ubuntupymongodeb20.043.10.1-0ubuntu2.1Not reportedUBUNTU-CVE-2024-5629Not reported
Ubuntupymongodeb22.043.11.0-1ubuntu0.22.04.1Not reportedUBUNTU-CVE-2024-5629Not reported
Ubuntupymongodeb24.043.11.0-1ubuntu0.24.04.1Not reportedUBUNTU-CVE-2024-5629Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [pymongo]

    Details (2)
    • 3.11.0-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.11.0-1+deb12u1

      usn · pymongo · debian · bookworm; usn · pymongo · debian · 12

    • 3.11.0-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.11.0-1+deb12u1

      usn · pymongo · debian · bookworm; usn · pymongo · debian · 12

  • Source package: [pymongo]

    Details (1)
    • 3.11.0-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.11.0-1+deb12u1

      usn · pymongo · debian · bookworm; usn · pymongo · debian · 12

  • Source package: [pymongo]

    Details (2)
    • 3.11.0-1+deb12u1 · all · bookworm

      Fixed · Fixed: 3.11.0-1+deb12u1

      usn · pymongo · debian · bookworm; usn · pymongo · debian · 12

    • 3.11.0-1+deb12u1 · all · bookworm

      Fixed · Fixed: 3.11.0-1+deb12u1

      usn · pymongo · debian · bookworm; usn · pymongo · debian · 12

  • Source package: [pymongo]

    Details (2)
    • 3.11.0-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.11.0-1+deb12u1

      usn · pymongo · debian · bookworm; usn · pymongo · debian · 12

    • 3.11.0-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.11.0-1+deb12u1

      usn · pymongo · debian · bookworm; usn · pymongo · debian · 12

  • Source package: [pymongo]

    Details (1)
    • 3.11.0-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.11.0-1+deb12u1

      usn · pymongo · debian · bookworm; usn · pymongo · debian · 12

  • Source package: [pymongo]

    Details (2)
    • 3.11.0-1+deb12u1 · all · bookworm

      Fixed · Fixed: 3.11.0-1+deb12u1

      usn · pymongo · debian · bookworm; usn · pymongo · debian · 12

    • 3.11.0-1+deb12u1 · all · bookworm

      Fixed · Fixed: 3.11.0-1+deb12u1

      usn · pymongo · debian · bookworm; usn · pymongo · debian · 12

[Debian 13 (Trixie)]

  • Source package: [pymongo]

    Details (2)
    • 4.10.1-6 · all · trixie

      Fixed · Fixed: 4.7.3-1

      usn · pymongo · debian · 13

    • 4.10.1-6 · all · trixie

      Fixed · Fixed: 4.7.3-1

      usn · pymongo · debian · 13

  • Source package: [pymongo]

    Details (2)
    • 4.10.1-6 · amd64 · trixie

      Fixed · Fixed: 4.7.3-1

      usn · pymongo · debian · 13

    • 4.10.1-6 · arm64 · trixie

      Fixed · Fixed: 4.7.3-1

      usn · pymongo · debian · 13

  • Source package: [pymongo]

    Details (2)
    • 4.10.1-6 · all · trixie

      Fixed · Fixed: 4.7.3-1

      usn · pymongo · debian · 13

    • 4.10.1-6 · all · trixie

      Fixed · Fixed: 4.7.3-1

      usn · pymongo · debian · 13

  • Source package: [pymongo]

    Details (2)
    • 4.10.1-6 · all · trixie

      Fixed · Fixed: 4.7.3-1

      usn · pymongo · debian · 13

    • 4.10.1-6 · all · trixie

      Fixed · Fixed: 4.7.3-1

      usn · pymongo · debian · 13

  • Source package: [pymongo]

    Details (2)
    • 4.10.1-6 · amd64 · trixie

      Fixed · Fixed: 4.7.3-1

      usn · pymongo · debian · 13

    • 4.10.1-6 · arm64 · trixie

      Fixed · Fixed: 4.7.3-1

      usn · pymongo · debian · 13

  • Source package: [pymongo]

    Details (2)
    • 4.10.1-6 · all · trixie

      Fixed · Fixed: 4.7.3-1

      usn · pymongo · debian · 13

    • 4.10.1-6 · all · trixie

      Fixed · Fixed: 4.7.3-1

      usn · pymongo · debian · 13

Observed:

References