CVE-2026-96749MongoDB Python Driver
High 7.5
Follow: this CVE · MongoDB · MongoDB Python Driver We alert you by email or Slack (account required).
- Priority
- 45
- CVSS 4.0
- 7.5
- EPSS
- —
- Auth required
- Yes
- Published
- Sep 24, 2026
- Updated
- Sep 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-190
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Python Driver.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pymongo |
< 4.18.2 |
4.18.2 |
pip install "pymongo>=4.18.2" |
| PyPI | pymongo |
< 4.18.2 |
4.18.2 |
pip install "pymongo>=4.18.2" |
Per OSV / GitHub Advisories (GHSA-v4x9-3549-crwv, PYSEC-2026-4296). Check the version in your lockfile before upgrading.
Affected products
- MongoDB · Python Driver
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: python36:3.6 security update · Red Hat · RHSA-2026:102653 · Nov 25, 2026 Medium
- python313-pymongo-4.18.2-1.1 on GA media · SUSE · openSUSE-SU-2026:11935-1 · Sep 30, 2026 High
- Security update for python-pymongo · SUSE · openSUSE-SU-2026:22003-1 · Sep 29, 2026 High
- Security update for python-pymongo · SUSE · SUSE-SU-2026:4398-1 · Sep 29, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.