Skip to main content
CVE-2023-0437VulnerabilityPublished Updated

CVE-2023-0437: MongoDB C Driver · Infinite Loop

Affects MongoDB C DriverSource CVE Database V5

0

Not known to be exploited · CVSS 5.3 Medium : upgrade to 1.25.0 when convenient.

Data as of 26 Oct 2026, 08:30 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Jan 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
MongoDB Inc MongoDB C DriverAffected
  • =1.0.0
  • <1.25.0
Fixed in
  • 1.25.0

AI-suggested

1. Upgrade the MongoDB C Driver to version 1.25.0 or later immediately to eliminate the infinite loop vulnerability. 2. Implement strict input validation and sanitization on all data passed to MongoDB-related components to prevent malformed UTF-8 sequences from triggering the vulnerability. 3. Employ runtime resource monitoring and anomaly detection to identify unusual CPU or memory usage patterns indicative of infinite loops or denial of service attempts. 4. Restrict network exposure of services using the MongoDB C Driver by applying firewall rules, network segmentation, and access controls to limit attack surface. 5. Conduct regular code audits and fuzz testing on components interacting with BSON and UTF-8 data to detect similar logic flaws proactively. 6. Maintain an up-to-date inventory of software dependencies to ensure timely application of security patches. 7. 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

Community reviews

Loading reviews…