Live threats

All CVEs / MongoDB

CVE-2026-96749MongoDB Python Driver

High 7.5

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Python Driver.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.