Skip to content

mongo-c-driver 2.5.8

Latest

Choose a tag to compare

@kevinAlbs kevinAlbs released this 03 Nov 15:14
· 130 commits to master since this release
2.5.8
43a15b2

Announcing 2.5.8 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.

libbson

Fixes

  • Fix possible truncation in BSON binary vector on 32-bit builds. CVE-2026-120954

libmongoc

Fixes

  • Fix abort when parsing a cursor namespace without a dot separator.
  • Fix possible abort in mongoc_gridfs_bucket_download_to_stream on invalid file metadata. CVE-2026-120955
  • Fix handling of embedded NUL bytes in namespaces. CVE-2026-120956
  • Fix a missing bounds check when reading GridFS files. CVE-2026-120684
  • Fix a memory leak when an OP_COMPRESSED reply fails to parse. CVE-2026-120678
  • Report writeConcernError consistently, as mandated by the CRUD spec.

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson
  • Sabrina Chang
  • Adrian Dole