{"schemaVersion":3,"id":"CVE-2025-0755","aliases":["UBUNTU-CVE-2025-0755","DEBIAN-CVE-2025-0755"],"status":"published","duplicateOf":null,"title":null,"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.5537,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0.014999999999999996,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00773},"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":0.5537}],"last30":[{"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":0.5537}]},"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":"A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().","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}],"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},{"text":"< 1.27.5-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.23.1-1+deb12u1 | < 1.27.5-1","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},{"text":"< 1.26.0-1.1ubuntu2+esm1","noFixRecorded":false,"fixedIn":null}],"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}],"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},{"text":"≥ 7.0, < 7.0.16","noFixRecorded":false,"fixedIn":null}],"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}],"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},{"text":"8.0.0","noFixRecorded":false,"fixedIn":null}],"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.34"},"product":{"name":"mongodb","label":"MongoDB Server","category":"database"}},"hubHref":"/vendor/mongodb/mongodb"}],"affectedCount":7,"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}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T06:23:34.315Z","stale":false,"partial":false}}