Library

mongo-c-driver 2.5.2

Version2.5.2
Stars★ 880
Released2026-09-03

The Official MongoDB driver for C language

Release notes

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

# libbson

No changes since 2.5.1. Version incremented to match the libmongoc version.

# libmongoc

## Fixes

* Fix OCSP error handling. [CVE-2026-84964](https://www.cve.org/CVERecord?id=CVE-2026-84964)
* Fix unsafe casts during JSON parsing. [CVE-2026-84965](https://www.cve.org/CVERecord?id=CVE-2026-84965)
* Fix possible unsafe truncation when logging base64. [CVE-2026-84969](https://www.cve.org/CVERecord?id=CVE-2026-84969)
* Fix unsafe calls to `bson_next_power_of_two`. [CVE-2026-84963](https://www.cve.org/CVERecord?id=CVE-2026-84963)

# Links:


* [All the issues resolved in 2.5.2](https://jira.mongodb.org/issues/?jql=project%3D%22C%20Driver%22%20and%20fixVersion%3D%222.5.2%22)
* [Documentation](https://mongoc.org/)



Share this resource


Discovered 2026-09-04 Source GitHub Archive 2026-09 →