{"schemaVersion":4,"id":"CVE-2025-0755","aliases":["UBUNTU-CVE-2025-0755","DEBIAN-CVE-2025-0755"],"status":"published","duplicateOf":null,"title":"MongoDB C Driver bson library may be susceptible to buffer overflow","description":"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","dates":{"published":"2025-03-18T09:01:04.793Z","modified":"2025-11-03T19:35:09.738Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.4,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.4,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","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}]},"epss":{"probability":0.00788,"percentile":0.57553,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00788},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00759,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00759,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00759,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00759,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00773,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01311,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01311,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01311,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01311,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01311,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01311,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00788,"percentile":0.57553}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01311,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01311,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01311,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01311,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01311,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01311,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00788,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00788,"percentile":0.57553}]},"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-122","name":"Heap-based Buffer Overflow","description":"The product writes past the end of a buffer that was allocated on the heap.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.html"}],"affected":[{"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.27.5-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.27.5-1","endInclusive":false}}],"versionsText":"< 1.23.1-1+deb12u1 | < 1.27.5-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libbson-xs-perl","name":"libbson-xs-perl","label":"libbson-xs-perl","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libbson-xs-perl","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mongo-c-driver","name":"mongo-c-driver","label":"mongo-c-driver","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mongo-c-driver","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 1.26.0-1.1ubuntu2+esm1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.26.0-1.1ubuntu2+esm1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 1.26.0-1.1ubuntu2+esm1","eol":null,"hubHref":null},{"vendor":"mongodb inc","product":"libbson","name":"libbson","label":"libbson","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.27.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.27.5","endInclusive":false}}],"versionsText":"< 1.27.5","eol":null,"hubHref":"/vendor/mongodb_inc/libbson"},{"vendor":"mongodb inc","product":"mongodb server","name":"MongoDB Server","label":"mongodb server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.0, < 8.0.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"8.0","startInclusive":true,"end":"8.0.1","endInclusive":false}},{"text":"≥ 7.0, < 7.0.16","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.0","startInclusive":true,"end":"7.0.16","endInclusive":false}}],"versionsText":"≥ 8.0, < 8.0.1 | ≥ 7.0, < 7.0.16","eol":null,"hubHref":"/vendor/mongodb_inc/mongodb_server"},{"vendor":"mongodb","product":"libbson","name":"libbson","label":"libbson","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.27.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.27.5","endInclusive":false}}],"versionsText":"< 1.27.5","eol":null,"hubHref":"/vendor/mongodb/libbson"},{"vendor":"mongodb","product":"mongodb","name":"mongodb","label":"mongodb","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.0.0, < 7.0.16","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.0.0","startInclusive":true,"end":"7.0.16","endInclusive":false}},{"text":"8.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"8.0.0"}}],"versionsText":"≥ 7.0.0, < 7.0.16 | 8.0.0","eol":{"isEol":false,"eolDate":"2029-10-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8.0","label":"8.0","eolFrom":"2029-10-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"8.0.38"},"product":{"name":"mongodb","label":"MongoDB Server","category":"database"}},"hubHref":"/vendor/mongodb/mongodb"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://jira.mongodb.org/browse/SERVER-94461","label":"jira.mongodb.org/browse/SERVER-94461","hostname":"jira.mongodb.org","tags":["REPORT","Issue Tracking","Vendor Advisory"]},{"url":"https://jira.mongodb.org/browse/CDRIVER-5601","label":"jira.mongodb.org/browse/CDRIVER-5601","hostname":"jira.mongodb.org","tags":["Issue Tracking","Vendor Advisory"]},{"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-2025-0755","label":"ubuntu.com/security/CVE-2025-0755","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-0755","label":"www.cve.org/CVERecord?id=CVE-2025-0755","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7613-1","label":"ubuntu.com/security/notices/USN-7613-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-0755","label":"security-tracker.debian.org/tracker/CVE-2025-0755","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-4160-1","DLA-4175-1","USN-7613-1"],"duplicates":[],"related":["USN-7613-1"]},"timeline":[{"kind":"published","date":"2025-03-18T09:01:04.793Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-03T19:35:09.738Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 8.4, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,84],"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.00788,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-11-03T19:35:09.738Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_ubuntu","date":"2025-11-03T19:35:09.738Z","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:35:09.738Z","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:35:09.738Z","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":"2025-03-18T13:20:06.283Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00788,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:18:25.961Z","stale":false,"partial":false}}