{"id":"CVE-2023-0437","summary":"MongoDB client C Driver may infinitely loop when validating certain BSON input data","details":"When calling bson_utf8_validate on some inputs a loop with an exit condition that cannot be reached may occur, i.e. an infinite loop. This issue affects All MongoDB C Driver versions prior to versions 1.25.0.","modified":"2026-08-12T03:51:17.994524140Z","published":"2024-01-12T13:33:39.503Z","database_specific":{"cwe_ids":["CWE-835"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0437.json","unresolved_ranges":[{"extracted_events":[{"introduced":"1.0.0"},{"fixed":"1.25.0"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"mongodb"},"references":[{"type":"WEB","url":"https://jira.mongodb.org/browse/CDRIVER-4747"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GUVOAFZFSYTNBF6R7H4XJM5DHWBRQ6P/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0437.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0437"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mongodb/mongo-c-driver","events":[{"introduced":"0"},{"fixed":"35fa1539f2420d3613437c11937273e259eff3dd"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.25.0"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*"}}],"versions":["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-2023-0437.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}