5.2

GHSA-CR6F-GF5W-VHRC: pymongo PyPI

CVSS: 5.2v3.1MediumPublished
Published 06-04-2024Last modified 10-09-2026

Vulnerability summary

GHSA-CR6F-GF5W-VHRC is a medium (CVSS 5.2) vulnerability in pymongo PyPI.

Overall risk
21/100
0100
Low · default modelHow is this calculated?
CVSS score
5.2/10
010
Medium · v3.1 (OSV · Pypi), selected by version preference
EPSS score
Not scored
0%100%
No EPSS score yet
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 3

Timeline

  1. 06-04-2024
    PublishedVulnerability first disclosed.
  2. 10-09-2026
    Last modifiedVulnerability information updated.

Description

PyMongo Out-of-bounds Read in the bson module Versions of the package pymongo before 4.6.3 are vulnerable to Out-of-bounds Read in the bson module. Using the crafted payload the attacker could force the parser to deserialize unmanaged memory. The parser tries to interpret bytes next to buffer and throws an exception with string. If the following bytes are not printable UTF-8 the parser throws an exception with a single byte. This advisory was initially published as CVE-2024-21506, which has since been rejected as a duplicate of CVE-2024-5629.

CVSS metrics

1 score · 1 source · 1 version

EPSS trend

No EPSS score has been published for this record yet.

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

PyPI1 product
  • pymongo< 4.6.3

1 vendor · 1 product

References

5 links