High severity · published Jan 12, 2024
CVE-2023-0437
MongoDB client C Driver may infinitely loop when validating certain BSON input data
7.5
CVSS
1.1%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 66% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MC
MongoDB C Driver · MongoDB Inc
1.0.0 before 1.25.0 · source: vendor
CD
C Driver · Mongodb
before 1.25.0 · source: NVD, CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-0437
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-0437
Issue Tracking
https://jira.mongodb.org/browse/CDRIVER-4747
lists.fedoraproject.org
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GUVOAFZFSYTNBF6R7H4XJM5DHWBRQ6P/
lists.debian.org
https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html
lists.debian.org
https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html
More from MongoDB C Driver
7.8
CVE-2026-6691
MongoDB C Driver Cyrus SASL Canonicalization Buffer Overflow
7.8
CVE-2024-7553
Accessing Untrusted Directory May Allow Local Privilege Escalation
3.7
CVE-2026-4359
Heap-buffer-over-read in _mongoc_http_send via strstr on non-null-terminated buffer
