CVE-2026-96749: Heap out-of-bounds write via signed size overflow in BSON document encoding
Vulnerability summary
CVE-2026-96749 is a high (CVSS 8.4) Integer Overflow or Wraparound vulnerability in mongodb python driver. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 8.7% of scored vulnerabilities.
Not severe (CVSS 7.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 4Timeline
- 24-09-2026PublishedVulnerability first disclosed.
- 26-09-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
12 scores · 8 sources · 2 versions- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS: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
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- NVDNIST7.5HighCVSS: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
- OSV · PypiEcosystem advisory · calculated8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
9%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.19% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat39 products
- python-distro< 0:1.4.0-2.module+el8.10.0+20784+edafcd43
- python-docs< 0:3.6.7-2.module+el8.10.0+20784+edafcd43
- python-docutils< 0:0.14-12.module+el8.10.0+20784+edafcd43
- python-nose< 0:1.3.7-31.module+el8.10.0+20784+edafcd43
- python-nose-docs< 0:1.3.7-31.module+el8.10.0+20784+edafcd43
Chainguard21 products
- datadog-agent-7.77-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.78-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.79-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.80-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.81-core-integrations< 7.81.3-r10
Wolfi5 products
- datadog-agent-7.77-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.78-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.79-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.80-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.81-core-integrations< 7.81.3-r10
Debian1 product
- pymongoAll versions (No fix recorded) | < 3.11.0-1+deb12u2 | < 4.18.2-1
Mongodb1 product
- python driver≥ 1.9.0, < 4.18.2
PyPI1 product
- pymongo< 4.18.2
Ubuntu1 product
- pymongoAll versions (No fix recorded) | < 2.6.3-1ubuntu0.1~esm1 | < 3.2-1ubuntu0.1~esm2 | < 3.6.1+dfsg1-1ubuntu0.1~esm2 | < 3.10.1-0ubuntu2.1+esm1 | < 3.11.0-1ubuntu0.22.04.2 | < 3.11.0-1ubuntu0.24.04.2 | < 4.16.0-1ubuntu0.1
7 vendors · 69 products
References
21 linksShow all 21 references
- pypi.org/project/pymongoPACKAGE