{"id":"CVE-2023-0437","aliases":["ALPINE-CVE-2023-0437","DEBIAN-CVE-2023-0437","DLA-4160-1","DLA-4175-1","EUVD-2023-12492","GHSA-8549-4c5j-x7g2","JLSEC-2026-179","OESA-2024-1076","UBUNTU-CVE-2023-0437"],"status":"published","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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01103,"percentile":0.65966,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-835"],"published":"2024-01-12T13:33:39Z","modified":"2026-11-03T06:32:39Z","fixes":[{"ecosystem":"Alpine:v3.20","package":"mongo-c-driver","fixed_in":["1.25.4-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"mongo-c-driver","fixed_in":["1.25.4-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"mongo-c-driver","fixed_in":["1.25.4-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"mongo-c-driver","fixed_in":["1.25.4-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"mongo-c-driver","fixed_in":["1.25.4-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"libbson-xs-perl","fixed_in":["0.8.4-2+deb12u1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"mongo-c-driver","fixed_in":["1.23.1-1+deb12u1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mongo-c-driver","fixed_in":["1.25.0-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mongo-c-driver","fixed_in":["1.25.0-1"],"sources":["osv"]},{"ecosystem":"Julia","package":"MongoC_jll","fixed_in":["1.25.1+0"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP1","package":"mongo-c-driver","fixed_in":["1.13.1-4.oe1"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP4","package":"mongo-c-driver","fixed_in":["1.13.1-4.oe2003sp4"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS","package":"mongo-c-driver","fixed_in":["1.13.1-7.oe2203sp3"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS-SP1","package":"mongo-c-driver","fixed_in":["1.13.1-7.oe2203sp1"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS-SP2","package":"mongo-c-driver","fixed_in":["1.13.1-7.oe2203sp2"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS-SP3","package":"mongo-c-driver","fixed_in":["1.13.1-7.oe2203sp3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.20","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.25.4-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.25.4-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.25.4-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.25.4-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.25.4-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libbson-xs-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.4-2+deb12u1"}]}],"versions":["0.8.4-2"]},{"source":"osv","ecosystem":"Debian:12","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.23.1-1+deb12u1"}]}],"versions":["1.23.1-1"]},{"source":"osv","ecosystem":"Debian:13","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.25.0-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.25.0-1"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"libbson-xs-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.4-1+deb11u1"}]}],"versions":["0.8.4-1"],"bundled":6},{"source":"osv","ecosystem":"Debian:11","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.6-1+deb11u1"}]}],"versions":["1.17.6-1"],"bundled":5},{"source":"osv","ecosystem":"Julia","package":"MongoC_jll","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.25.1+0"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP1","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1-4.oe1"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP4","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1-4.oe2003sp4"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1-7.oe2203sp3"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP1","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1-7.oe2203sp1"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP2","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1-7.oe2203sp2"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP3","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1-7.oe2203sp3"}]}]}],"products":[{"vendor":"mongodb","product":"c_driver"},{"vendor":"mongodb inc","product":"mongodb c driver"},{"vendor":"mongodb inc.","product":"mongodb c driver"}],"references":[{"url":"https://jira.mongodb.org/browse/CDRIVER-4747","tags":["x_transferred","Issue Tracking","Vendor Advisory","web","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GUVOAFZFSYTNBF6R7H4XJM5DHWBRQ6P/","tags":["x_transferred","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0437","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GUVOAFZFSYTNBF6R7H4XJM5DHWBRQ6P"},{"url":"https://github.com/advisories/GHSA-8549-4c5j-x7g2"},{"url":"https://security.alpinelinux.org/vuln/CVE-2023-0437","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0437.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-0437","tags":["advisory"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1076","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-0437","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-0437","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-0437","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.","status":"published","published":"2024-01-12T13:33:39.503Z","modified":"2025-11-03T19:27:57.046Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:35:35.256261Z"}],"euvd":[{"id":"EUVD-2023-12492","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.","status":"published","published":"2024-01-12T13:33:39Z","modified":"2025-11-03T19:27:57Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T19:49:34.152725Z"}],"ghsa":[{"id":"GHSA-8549-4c5j-x7g2","title":"When calling bson_utf8_validate on some inputs a loop with an exit condition that cannot be...","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.","status":"published","published":"2024-01-12T15:30:31Z","modified":"2025-11-03T21:32:01Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T15:04:19.844682Z"}],"nvd":[{"id":"CVE-2023-0437","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.","status":"published","published":"2024-01-12T14:15:47.387Z","modified":"2026-06-17T05:25:33.043Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:09:00.788714Z"}],"osv":[{"id":"ALPINE-CVE-2023-0437","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.","status":"published","published":"2024-01-12T14:15:47.387Z","modified":"2026-11-03T06:32:39.846641336Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T07:17:20.312441Z"},{"id":"CVE-2023-0437","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.","status":"published","published":"2024-01-12T13:33:39.503Z","modified":"2026-10-28T02:31:00.347926121Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T15:44:29.487253Z"},{"id":"DEBIAN-CVE-2023-0437","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.","status":"published","published":"2024-01-12T14:15:47.387Z","modified":"2026-10-26T18:00:10.444206495Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:39.029012Z"},{"id":"JLSEC-2026-179","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.","status":"published","published":"2026-04-23T15:10:48.547Z","modified":"2026-07-25T18:23:48.004055223Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:47:18.159338Z"},{"id":"OESA-2024-1076","title":"mongo-c-driver security update","description":"mongo-c-driver is a project that includes two libraries: libmongoc, a client library written in C for MongoDB. libbson, a library providing useful routines related to building, parsing, and iterating BSON documents.\r\n\r\nSecurity Fix(es):\r\n\r\nWhen 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.\r\n\r\n(CVE-2023-0437)","status":"published","published":"2024-01-19T11:06:31Z","modified":"2026-08-18T01:18:13.611620479Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:52:40.71472Z"},{"id":"UBUNTU-CVE-2023-0437","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.","status":"withdrawn","published":"2024-01-12T14:15:00Z","modified":"2026-02-19T19:16:05.819292Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:54:18.756095Z"},{"id":"DLA-4160-1","title":"libbson-xs-perl - security update","status":"published","published":"2025-05-09T00:00:00Z","modified":"2026-03-09T01:18:57.590987Z","updated_at":"2026-11-02T15:46:12.7027Z"},{"id":"DLA-4175-1","title":"mongo-c-driver - security update","status":"published","published":"2025-05-20T00:00:00Z","modified":"2026-03-09T02:10:12.543668Z","updated_at":"2026-11-02T15:46:12.7027Z"}]}}
