AI and data stack advisories

Severe, 6 weeks2431Projects328

2431 severe, 6 weeks · 328 projects

MongoDBGHSA-jp34-m864-chwm

MongoDB C Driver mongoc_gridfs_bucket_download_to_stream() aborts the application on malformed GridFS metadata

MongoDB

CVE-2026-120955 · Published Nov 3, 2026

High8.7
Fix: upgrade to 1.30.15 or later (2 fixed versions below)
GitHub advisory

Impact

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.

Patches

The issue is fixed in MongoDB C Driver 1.30.15 and 2.5.8.

Workarounds

None.

References

  • https://github.com/mongodb/mongo-c-driver/releases/tag/1.30.15
  • https://github.com/mongodb/mongo-c-driver/releases/tag/2.5.8
  • https://jira.mongodb.org/browse/CDRIVER-6494

Affected versions

PackageAffectedFixed in
MongoDB C Driver
Product
>= 1.25.0, < 1.30.151.30.15
>= 2.0.0, < 2.5.82.5.8
Details and references
CVSS 4.0
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
Severity from
GitHub (reviewed advisory)
Weakness
CWE-476

More MongoDB advisories

All MongoDB