MongoDB C Driver CVE-2026-135224: choose the matching branch update
MongoDB’s CNA assigns CVE-2026-135224 CVSS 4.0 9.3 Critical and CVSS 3.1 9.1 Critical. Its CVE record was published November 25, 2026. The affected component is the MongoDB C Driver, so inventory application dependencies as well as database servers.
Match the installed driver branch
| CNA-listed affected interval | Official corrected release |
|---|---|
| 1.18.0 up to, excluding, 1.30.17 | 1.30.17 |
| 2.0.0 up to, excluding, 2.5.10 | 2.5.10 |
The issue affects certificate-revocation validation. Use the correction for the application’s supported branch, or a later supported release, and preserve TLS verification settings. Do not interpret the two intervals as one universal version floor.
Inventory the driver used by every application build. If the library is statically linked, rebuilding and redeploying the application is necessary; replacing a system library does not change the copy already incorporated into that binary. For shared-library deployments, confirm which library the deployed process uses and restart affected processes after maintenance.
Check a synthetic inventory
This example ran on Linux with Python 3.12.14. It reads only invented records; it does not inspect an installation, contact a service or test the vulnerability. Save it as mongoc_inventory.py in an empty working directory.
records = {"app-a": "1.30.16", "app-b": "1.30.17", "app-c": "2.5.9", "app-d": "2.5.10"}
intervals = [((1, 18, 0), (1, 30, 17)), ((2, 0, 0), (2, 5, 10))]
for name, version in records.items():
parts = tuple(int(part) for part in version.split("."))
affected = any(low <= parts < high for low, high in intervals)
result = "in affected interval" if affected else "outside these intervals"
print(f"{name}: {version} -> {result}")Run it:
python3 mongoc_inventory.pyActual output:
app-a: 1.30.16 -> in affected interval
app-b: 1.30.17 -> outside these intervals
app-c: 2.5.9 -> in affected interval
app-d: 2.5.10 -> outside these intervalsThe comparison accepts the three-part numeric versions shown here. It does not handle prereleases or vendor package revisions, and a matching version alone does not establish which files a running service uses. Delete the saved example file after use.
Validate the rollout
Keep the driver version, build identifier and deployment inventory together. Rebuild dependent artifacts as required, then run normal trusted application tests and database health checks. Confirm that every service instance uses the intended corrected driver, rather than relying on a development machine’s package list.
A distribution may backport the correction without adopting the upstream version. In that case, require a CVE-specific vendor advisory and the installed package revision. Keep rollback artifacts on a corrected driver build.
Acknowledgements
This post was created with assistance from AI.