{"schemaVersion":4,"id":"CVE-2023-0437","aliases":["UBUNTU-CVE-2023-0437","DEBIAN-CVE-2023-0437","ALPINE-CVE-2023-0437"],"status":"published","duplicateOf":null,"title":"MongoDB client C Driver may infinitely loop when validating certain BSON input data","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.","dates":{"published":"2024-01-12T13:33:39.503Z","modified":"2025-11-03T19:27:57.046Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.01103,"percentile":0.66825,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.01103},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01561,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01561,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01561,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01561,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01561,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01561,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01103,"percentile":0.66825}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01561,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01561,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01561,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01561,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01561,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01561,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01103,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01103,"percentile":0.66825}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition","description":"The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/835.html"}],"affected":[{"vendor":"alpine","product":"mongo-c-driver","name":"mongo-c-driver","label":"mongo-c-driver","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/mongo-c-driver","purlType":"apk","versions":[{"text":"< 1.25.4-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.25.4-r0","endInclusive":false}}],"versionsText":"< 1.25.4-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"libbson-xs-perl","name":"libbson-xs-perl","label":"libbson-xs-perl","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libbson-xs-perl","purlType":"deb","versions":[{"text":"< 0.8.4-2+deb12u1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.8.4-2+deb12u1","endInclusive":false}}],"versionsText":"< 0.8.4-2+deb12u1","eol":null,"hubHref":null},{"vendor":"debian","product":"mongo-c-driver","name":"mongo-c-driver","label":"mongo-c-driver","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/mongo-c-driver","purlType":"deb","versions":[{"text":"< 1.23.1-1+deb12u1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.23.1-1+deb12u1","endInclusive":false}},{"text":"< 1.25.0-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.25.0-1","endInclusive":false}}],"versionsText":"< 1.23.1-1+deb12u1 | < 1.25.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mongodb","name":"mongodb","label":"mongodb","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mongodb","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"mongodb inc","product":"mongodb c driver","name":"MongoDB C Driver","label":"mongodb c driver","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.0.0, < 1.25.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"1.0.0","startInclusive":true,"end":"1.25.0","endInclusive":false}}],"versionsText":"≥ 1.0.0, < 1.25.0","eol":null,"hubHref":"/vendor/mongodb_inc/mongodb_c_driver"},{"vendor":"mongodb","product":"c driver","name":"C Driver","label":"c driver","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.25.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.25.0","endInclusive":false}}],"versionsText":"< 1.25.0","eol":null,"hubHref":"/vendor/mongodb/c_driver"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://jira.mongodb.org/browse/CDRIVER-4747","label":"jira.mongodb.org/browse/CDRIVER-4747","hostname":"jira.mongodb.org","tags":["REPORT","Issue Tracking","Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GUVOAFZFSYTNBF6R7H4XJM5DHWBRQ6P/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html","label":"lists.debian.org/debian-lts-announce/2025/05/msg00027.html","hostname":"lists.debian.org","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html","label":"lists.debian.org/debian-lts-announce/2025/05/msg00012.html","hostname":"lists.debian.org","tags":[]},{"url":"https://ubuntu.com/security/CVE-2023-0437","label":"ubuntu.com/security/CVE-2023-0437","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-0437","label":"www.cve.org/CVERecord?id=CVE-2023-0437","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-0437","label":"security-tracker.debian.org/tracker/CVE-2023-0437","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2023-0437","label":"security.alpinelinux.org/vuln/CVE-2023-0437","hostname":"security.alpinelinux.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-4160-1","DLA-4175-1"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-01-12T13:33:39.503Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-03T19:27:57.046Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,53],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.01103,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-11-03T19:27:57.046Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1","headline":true},{"type":"cvss","source":"osv_ubuntu","date":"2025-11-03T19:27:57.046Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2025-11-03T19:27:57.046Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2025-11-03T19:27:57.046Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_alpine","date":"2025-11-03T19:27:57.046Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2024-01-17T17:59:44.056Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.01103,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:56:57.028Z","stale":false,"partial":false}}