CVE-2023-0437
MongoDB client C Driver may infinitely loop when validating certain BSON input data
- State
- Published
- Severity
- 5.3 Medium
- Published
- Jan 12, 2024
- Updated
- Nov 3, 2025
- Reserved
- Jan 23, 2023
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | mongodb |
Weaknesses
- CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
Affected Products
| Product | Versions |
|---|---|
MongoDB C DriverMongoDB Inc |
|
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
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.