{"id":"CVE-2026-96746","summary":"Heap buffer overflow via mid-scan command list growth in client topology monitoring","details":"An out-of-bounds write in the connection-monitoring logic of the MongoDB C Driver may allow an unauthenticated party who controls name resolution and the responses of the hosts named in a client's connection string to write beyond the end of a heap buffer. This may cause the application using the driver to terminate unexpectedly.","aliases":["GHSA-frjf-h5jg-4v46"],"modified":"2026-10-28T02:30:22.790752201Z","published":"2026-09-24T15:51:15.196Z","database_specific":{"cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/96xxx/CVE-2026-96746.json","cna_assigner":"mongodb"},"references":[{"type":"WEB","url":"https://github.com/mongodb/mongo-c-driver/releases/tag/1.30.12"},{"type":"WEB","url":"https://github.com/mongodb/mongo-c-driver/releases/tag/2.5.5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/96xxx/CVE-2026-96746.json"},{"type":"ADVISORY","url":"https://github.com/mongodb/mongo-c-driver/security/advisories/GHSA-frjf-h5jg-4v46"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96746"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mongodb/mongo-c-driver","events":[{"introduced":"0"},{"fixed":"3bffead2dba66146564bc7471b749c4a47cc18b5"},{"introduced":"67817df0a9ed11b07e457477e6db1384da9421c4"},{"fixed":"9e951e1d683ddd5767dc5d3e4510e85a171d6dba"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"1.30.12"}]},{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"2.0.0"},{"fixed":"2.5.5"}]},{"original_tag":"1.30.12","range":[{"fixed":"3bffead2dba66146564bc7471b749c4a47cc18b5"}],"source":"REFERENCES_TAG"},{"original_tag":"2.5.5","range":[{"fixed":"9e951e1d683ddd5767dc5d3e4510e85a171d6dba"}],"source":"REFERENCES_TAG"}]}}],"versions":["2.5.4","1.30.11","2.5.3","1.30.10","2.5.2","1.30.9","2.5.1","2.5.0","1.30.8","1.30.7","1.30.6","1.30.5","1.30.4","1.30.3","1.30.2","1.30.1","1.30.0","1.11.0","1.9.0-rc1","1.9.0-rc0","1.7.0-rc0","1.6.0","1.6.0-rc0","1.5.0-rc4","1.5.0-rc3","1.5.0-rc2","1.5.0-rc1","1.5.0-rc0","1.4.0-beta1","1.3.0","1.3.0-rc0","1.1.11","1.1.10","1.1.9","1.1.8","1.1.7","1.1.6","1.1.5","1.1.4","1.1.2","1.1.0","1.1.0-rc0","1.0.2","1.0.0","0.98.2","0.98.0","0.96.4","0.96.0","0.94.2","0.94.0","0.92.2","0.92.0","0.90.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-96746.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N"}]}