{"schemaVersion":3,"id":"CVE-2026-106431","aliases":["DEBIAN-CVE-2026-106431","UBUNTU-CVE-2026-106431"],"status":"published","duplicateOf":null,"title":null,"description":"An off-by-one error in the BSON bulk document writer in the MongoDB C Driver can write one zero byte immediately past a heap allocation when a document ends at a specific buffer boundary. An actor who can influence the size of documents serialized by an embedding application can corrupt adjacent process memory or terminate the process. Reaching this issue requires the application to use the BSON bulk-writer API and produce a precise cumulative document size.","dates":{"published":"2026-10-08T18:40:32.206Z","modified":"2026-10-08T19:19:51.552Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.9,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":5.9,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.9,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":5.9,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","exploitability":3.6,"impact":7,"computed":true}]},"epss":{"probability":0.00097,"percentile":0.00685,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-09T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00097,"percentile":0.00685}],"last30":[{"date":"2026-10-09T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00097,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00097,"percentile":0.00685}]},"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-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"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":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.5.6-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.5.6-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}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"mongodb","product":"c_driver","name":"c driver","label":"c_driver","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.5.0, < 1.30.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.5.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.5.0, < 1.30.13 | ≥ 2.0.0, < 2.5.6","eol":null,"hubHref":"/vendor/mongodb/c_driver"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://jira.mongodb.org/browse/CDRIVER-6418","label":"jira.mongodb.org/browse/CDRIVER-6418","hostname":"jira.mongodb.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-106431","label":"security-tracker.debian.org/tracker/CVE-2026-106431","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-106431","label":"ubuntu.com/security/CVE-2026-106431","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-106431","label":"www.cve.org/CVERecord?id=CVE-2026-106431","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-08T18:40:32.206Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-08T19:19:51.552Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":24,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T18:04:16.031Z","stale":false,"partial":false}}