An integer overflow in the BSON document encoding component of the MongoDB Python Driver's bundled native extension may occur when a single document is built from an unusually large amount of caller-…
- CVSS
- 8.4High
- Chance of exploitation (EPSS)
- 0.19%
- Published
- Sep 24, 2026
- In the news
- 1 story
What to do
A serious security flaw that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 4.18.2
Affected versions
- Mongodb Python Driver
- 1.9.0 to before 4.18.2
Description
An integer overflow in the BSON document encoding component of the MongoDB Python Driver's bundled native extension may occur when a single document is built from an unusually large amount of caller-supplied data. Size arithmetic is performed in a signed 32-bit type, and the guard meant to catch the overflow is written in a form whose behavior is not defined by the C language standard. A party with no privileges who can place a very large value into data that an application encodes may, depending on how the native extension was built, cause a write outside the bounds of an allocated buffer inside the application's own process.
Affected products
Get alerts for these →No product list yet. It usually appears within a few days of publication.
Timeline 7
Latest change: USN-9458-1: PyMongo vulnerabilities (Dec 2, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Dec 2, 2026
- AdvisoryUSN-9458-1: PyMongo vulnerabilitiesUbuntu · 21:16 UTC
Fri, Nov 27, 2026
Wed, Nov 25, 2026
- DetectionNessus plugin 385937: RHEL 8 : python36:3.6 (RHSA-2026:102653)Tenable
Tue, Nov 24, 2026
Mon, Nov 23, 2026
Thu, Sep 24, 2026
- CVECVE-2026-96749 published (CVSS 8.4)CVE Program · 19:17 UTC
References 3
- github.com /mongodb/mongo-python-driver/blob/4.18.2/doc/changelog.rst
- github.com /mongodb/mongo-python-driver/releases/tag/4.18.2
- github.com /mongodb/mongo-python-driver/security/advisories/GHSA-v4x9-3549-crwv