CVE-2023-0437: MongoDB C Driver · Infinite Loop
Affects MongoDB C DriverSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium : upgrade to 1.25.0 when convenient.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 1.1% chance of exploitation in 30 days – higher than 65% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.25.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 12 Jan 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade MongoDB C Driver to 1.25.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MongoDB Inc MongoDB C Driver | Affected
| Fixed in
|
AI-suggested
- Upgrade the MongoDB C Driver to version 1.25.0 or later immediately to eliminate the infinite loop vulnerability.
- Implement strict input validation and sanitization on all data passed to MongoDB-related components to prevent malformed UTF-8 sequences from triggering the vulnerability.
- Employ runtime resource monitoring and anomaly detection to identify unusual CPU or memory usage patterns indicative of infinite loops or denial of service attempts.
- Restrict network exposure of services using the MongoDB C Driver by applying firewall rules, network segmentation, and access controls to limit attack surface.
- Conduct regular code audits and fuzz testing on components interacting with BSON and UTF-8 data to detect similar logic flaws proactively.
- Maintain an up-to-date inventory of software dependencies to ensure timely application of security patches.
- Prepare incident response plans to quickly isolate and remediate affected systems in case of exploitation. 8.
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.
References
- jira.mongodb.org/browse/CDRIVER-4747 (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GUVOAFZFSYTNBF6R7H4XJM5DHWBRQ6P/ (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00027.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00012.html (opens in a new tab)