{"id":"CVE-2025-0755","summary":"MongoDB C Driver bson library may be susceptible to buffer overflow","details":"The various bson_append functions in the MongoDB C driver library may be susceptible to buffer overflow when performing operations that could result in a final BSON document which exceeds the maximum allowable size (INT32_MAX), resulting in a segmentation fault and possible application crash. This issue affected libbson versions prior to 1.27.5, MongoDB Server v8.0 versions prior to 8.0.1 and MongoDB Server v7.0 versions prior to 7.0.16","aliases":["BIT-mongodb-2025-0755"],"modified":"2026-05-08T12:27:49.809267Z","published":"2025-03-18T09:01:04.793Z","database_specific":{"cna_assigner":"mongodb","unresolved_ranges":[{"extracted_events":[{"fixed":"1.27.5"},{"introduced":"8.0"},{"fixed":"8.0.1"},{"introduced":"7.0"},{"fixed":"7.0.16"}],"source":"AFFECTED_FIELD"}],"cwe_ids":["CWE-122"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0755.json"},"references":[{"type":"WEB","url":"https://jira.mongodb.org/browse/CDRIVER-5601"},{"type":"WEB","url":"https://jira.mongodb.org/browse/SERVER-94461"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0755.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-0755"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mongodb/mongo-c-driver","events":[{"introduced":"0"},{"fixed":"01decf26c18b1b89d97d3b55317910a3460741ae"}],"database_specific":{"cpe":"cpe:2.3:a:mongodb:libbson:*:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"1.27.5"}]}}],"versions":["0.90.0","0.92.0","0.92.2","0.94.0","0.94.2","0.96.0","0.96.4","0.98.0","0.98.2","1.0.0","1.0.2","1.1.0","1.1.0-rc0","1.1.10","1.1.11","1.1.2","1.1.4","1.1.5","1.1.6","1.1.7","1.1.8","1.1.9","1.11.0","1.27.0","1.27.1","1.27.2","1.27.3","1.27.4","1.3.0","1.3.0-rc0","1.4.0-beta1","1.5.0-rc0","1.5.0-rc1","1.5.0-rc2","1.5.0-rc3","1.5.0-rc4","1.6.0","1.6.0-rc0","1.7.0-rc0","1.9.0-rc0","1.9.0-rc1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-0755.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}