Vulnerability PYSEC-2026-1826

Medium Risk
MEDIUM RISK
CVSS Score: 4.7
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
3 months ago
July 07, 2026 at 11:45 AM UTC
PyMongo Out-of-bounds Read in the bson module
0.1pre - 4.6.2
0.1pre - 4.6.2

Summary

PyMongo Out-of-bounds Read in the bson module

Details

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.

Impacted packages

Timeline

Published
3 months ago
July 07, 2026 at 11:45 AM UTC
Fixed (4.6.3)
2 years ago
March 28, 2024 at 01:22 AM UTC
Last Modified
3 months ago
July 07, 2026 at 05:47 PM UTC