CVE-2026-120955

MongoDB C Driver Modern GridFS mongoc_gridfs_bucket_download_to_stream() Aborts Application on Malformed GridFS Metadata

Published Nov 3, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
The GridFS file download API in the MongoDB C Driver does not check the result of an internal operation under certain error conditions during file retrieval. This can cause the process to terminate when stream operations continue. A user who can influence file download parameters can trigger this condition, which may result in service unavailability for applications using the affected API.

Analysis

AI-generated

Technical impact

The GridFS file download API in the MongoDB C Driver does not verify the result of an internal operation when retrieving a file. If an error occurs, the process may terminate when downstream stream operations are invoked. An attacker who can influence the download parameters can trigger this failure, causing the application to crash and become unavailable. This weakness falls under use‑of‑null‑pointer dereference (CWE‑476).

Affected Systems

The vulnerability affects the MongoDB C Driver, the native client library used by applications that interface with MongoDB. No specific version range is listed in the data; organizations should verify whether their deployments include the driver before this report was published.

Risk and Exploitability

With a CVSS score of 8.7 the flaw is considered high severity; the EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog. The attack vector is inferred to be local or application‑level, requiring the ability to modify GridFS download parameters. Exploitation would lead to service unavailability for the affected application, but no remote code execution or data compromise is indicated. Organizations should assess whether their applications allow externally influenced download requests.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest released version of the MongoDB C Driver that contains the fix for this defect.
  • If an immediate upgrade is not feasible, implement input validation to ensure GridFS download parameters are syntactically correct and originate from trusted sources before invoking the driver API.
  • Deploy monitoring that detects unexpected crashes or abnormal termination of processes using GridFS operations, and configure alerts to notify operators of potential exploitation attempts.

Generated by OpenCVE AI on November 3, 2026 at 20:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Mongodb
Mongodb c Driver
Vendors & Products Mongodb
Mongodb c Driver
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The GridFS file download API in the MongoDB C Driver does not check the result of an internal operation under certain error conditions during file retrieval. This can cause the process to terminate when stream operations continue. A user who can influence file download parameters can trigger this condition, which may result in service unavailability for applications using the affected API.
Title MongoDB C Driver Modern GridFS mongoc_gridfs_bucket_download_to_stream() Aborts Application on Malformed GridFS Metadata
Weaknesses CWE-476
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Nov 3, 2026, 8:00 PM
Reserved
Nov 3, 2026, 3:20 AM
Status
Awaiting Analysis
Published
Nov 3, 2026, 7:18 PM
Modified
Nov 3, 2026, 8:18 PM