CVE-2026-120955 PUBLISHED

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

Assigner: mongodb
Reserved: 03.11.2026 Published: 03.11.2026 Updated: 03.11.2026

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.

Metrics

CVSS 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
CVSS Score: 8.7

Product Status

Vendor MongoDB
Product C Driver
Versions Default: unaffected
  • affected from 1.25.0 to 1.30.14 (incl.)
  • affected from 2.0.0 to 2.5.7 (incl.)

References

Problem Types

  • CWE-476: NULL Pointer Dereference CWE