cve.bz

CVE-2026-96749 mongodb python driver: Year 2038 problem, Y2K38, Y2038, Epochalypse

7.5 highEPSS 0.2%Fix available

High (7.5) in mongodb python driver. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in pymongo 4.18.2.

On this page
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.

Severity

CVSS 4.0

7.5 high
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

CVSS 3.1

8.4 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 8th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-09-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-96749 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-96749?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-96749?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-96749 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
MongoDB Python Driverfrom 1.9.0 before 4.18.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v4x9-3549-crwvPyPIpymongo<4.18.24.18.2
PYSEC-2026-4296PyPIpymongo<4.18.24.18.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13pymongono fix listedDEBIAN-CVE-2026-96749
Debian14pymongo4.18.2-1DEBIAN-CVE-2026-96749
Ubuntu14.04:LTS, 20.04:LTS, 22.04:LTS and 5 morepymongono fix listedUBUNTU-CVE-2026-96749
SUSELinux Enterprise Module for Package Hub 15 SP7python-pymongo3.11.0-150300.3.6.1SUSE-SU-2026:4398-1
openSUSELeap 16.0python-pymongo4.6.3-bp160.2.1openSUSE-SU-2026:22003-1
openSUSETumbleweedpython-pymongo4.18.2-1.1openSUSE-SU-2026:11935-1
Azure Linux3python-pymongono fix listedAZL-105110

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate severity by Red Hat Product Security because exploitation requires an application to accept and serialize massive quantities of untrusted input into a single document, which typically triggers application crashes or memory exhaustion rather than arbitrary code execution. PyMongo is embedded within containerized runtimes and service stacks, where default memory quotas and standard request size restrictions substantially limit exposure. Consequently, the primary impact in practical deployment scenarios is confined to denial of service through process termination.

ProductPackageStateAdvisory
Red Hat OpenShift AI 2.25rhoai/odh-llama-stack-core-rhel9:1794492228Fixed 2026-11-19RHSA-2026:100634
Red Hat OpenShift AI 2.25rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9:1791867208Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 3.5rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9:1791952873Fixed 2026-10-21RHSA-2026:86891
Red Hat OpenShift AI 3.5rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9:1791816462Fixed 2026-10-21RHSA-2026:86891
Red Hat OpenShift AI 3.5rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9:1791816487Fixed 2026-10-21RHSA-2026:86891
Red Hat OpenShift AI 3.5rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9:1791951049Fixed 2026-10-21RHSA-2026:86891
Red Hat OpenShift AI 3.5rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9:1791951047Fixed 2026-10-21RHSA-2026:86891
Red Hat OpenShift AI 3.5rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9:1791950760Fixed 2026-10-21RHSA-2026:86891
Red Hat OpenShift AI 3.5rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9:1791903880Fixed 2026-10-21RHSA-2026:86891
Red Hat OpenShift AI 3.5rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9:1791817064Fixed 2026-10-21RHSA-2026:86891
Red Hat OpenShift AI 3.5rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9:1791817844Fixed 2026-10-21RHSA-2026:86891
Red Hat OpenShift AI 3.5rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9:1791816223Fixed 2026-10-21RHSA-2026:86891
Red Hat OpenShift AI 3.5rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9:1791899290Fixed 2026-10-21RHSA-2026:86891
Red Hat OpenShift AI 3.5rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9:1791816175Fixed 2026-10-21RHSA-2026:86891
Red Hat Enterprise Linux 8python36:3.6/python-pymongoAffected
Red Hat OpenStack Platform 13 (Queens)python-pymongoWill not fix
Red Hat OpenStack Platform 16.2rhosp-rhel8/openstack-horizonNot affected
Red Hat OpenStack Platform 16.2rhosp-rhel8/openstack-zaqar-wsgiNot affected
Red Hat OpenStack Platform 17.1python-pymongoWill not fix
Red Hat OpenStack Platform 17.1rhosp-rhel9/openstack-horizonAffected
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-96749.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON