Repository navigation
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_streamon 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
writeConcernErrorconsistently, as mandated by the CRUD spec.
Links:
Thanks to everyone who contributed to this release.
- Kevin Albertson
- Sabrina Chang
- Adrian Dole