CVE-2023-0437 json
MongoDB client C Driver may infinitely loop when validating certain BSON input data
published 2024-01-12 2 y ago modified 2026-07-25 3 mo ago also EUVD-2023-12492 , JLSEC-2026-179
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia MongoC_jll 1.25.1+0
- MongoDB Inc MongoDB C Driver 1.25.0
- mongodb c_driver 1.25.0
- mongo-c-driver Debian 12 1.23.1-1+deb12u1
- mongo-c-driver Debian 14, Debian 13 1.25.0-1
- libbson-xs-perl Debian 12 0.8.4-2+deb12u1
debian advisories DEBIAN-CVE-2023-0437
- mongo-c-driver Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 1.25.4-r0
alpine advisories ALPINE-CVE-2023-0437
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-0437 updated cvss 5.3
mongo-c-driver: bson_utf8_validate on some inputs leads to an infinite loop
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.10% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | MongoC_jll | <1.25.1+0 |
1.25.1+0 |
Affected products
- MongoDB Inc MongoDB C Driver
- mongodb c_driver
Classification
- Weakness
-
- CWE-835 Loop with Unreachable Exit Condition
References
-
jira.mongodb.org
/browse/CDRIVER-4747
issue-tracking, vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/7GUVOAFZFSYTNBF6R7H4XJM5DHWBRQ6P/
web
-
lists.debian.org
/debian-lts-announce/2025/05/msg00027.html
web
-
lists.debian.org
/debian-lts-announce/2025/05/msg00012.html
web
Sources
- CVE List CVE-2023-0437
- NVD CVE-2023-0437
- OSV JLSEC-2026-179
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.