# CVE-2023-0437: MongoDB client C Driver may infinitely loop when validating certain BSON input data

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-01-12 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2023-0437, DEBIAN-CVE-2023-0437, ALPINE-CVE-2023-0437
- Record: https://cvemate.com/vulnerability/CVE-2023-0437 · JSON: https://cvemate.com/vulnerability/CVE-2023-0437/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.103%, percentile 66.825%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine mongo-c-driver (Alpine Linux): \< 1.25.4-r0
- debian libbson-xs-perl (Debian): \< 0.8.4-2+deb12u1
- debian mongo-c-driver (Debian): \< 1.23.1-1+deb12u1 \| \< 1.25.0-1
- ubuntu mongodb (Ubuntu): All versions (No fix recorded)
- mongodb inc mongodb c driver: ≥ 1.0.0, \< 1.25.0
- mongodb c driver: \< 1.25.0

## References

- <https://jira.mongodb.org/browse/CDRIVER-4747>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GUVOAFZFSYTNBF6R7H4XJM5DHWBRQ6P/>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html>
- <https://ubuntu.com/security/CVE-2023-0437>
- <https://www.cve.org/CVERecord?id=CVE-2023-0437>
- <https://security-tracker.debian.org/tracker/CVE-2023-0437>
- <https://security.alpinelinux.org/vuln/CVE-2023-0437>

---

Data as of 2026-12-05T04:58:47.020Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
