{"schemaVersion":3,"id":"CVE-2026-106432","aliases":["DEBIAN-CVE-2026-106432","UBUNTU-CVE-2026-106432"],"status":"published","duplicateOf":null,"title":null,"description":"The BSON encoder in the MongoDB PHP Driver converts a string length to a 32-bit value without validation. When an affected application encodes a string near 4 GiB, the allocation size can wrap while the copy operation uses the original length. The resulting heap buffer overflow can corrupt process memory or terminate the PHP process. Reaching this issue requires a non-default runtime configuration that permits multi-gigabyte values. No MongoDB server interaction is required.","dates":{"published":"2026-10-08T19:02:25.357Z","modified":"2026-10-08T19:51:42.949Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":2,"severity":"low","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.6,"severity":"low","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","exploitability":10,"impact":7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":2,"severity":"low","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/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":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/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":2,"severity":"low","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","exploitability":10,"impact":7,"computed":true}]},"epss":{"probability":0.0017,"percentile":0.05994,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-09T00:00:00.000Z","score":0.00092,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00092,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00092,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00092,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00092,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0017,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0017,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0017,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0017,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0017,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0017,"percentile":0.05994}],"last30":[{"date":"2026-10-09T00:00:00.000Z","score":0.00092,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00092,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00092,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00092,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00092,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0017,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0017,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0017,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0017,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0017,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0017,"percentile":0.05994}]},"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-681","name":"Incorrect Conversion between Numeric Types","description":"When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/681.html"}],"affected":[{"vendor":"debian","product":"php-mongodb","name":"php-mongodb","label":"php-mongodb","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/php-mongodb","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php-mongodb","name":"php-mongodb","label":"php-mongodb","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php-mongodb","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"mongodb","product":"php_driver","name":"php driver","label":"php_driver","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.16.0, < 1.21.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.3.0, < 1.21.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.1.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.2.0, < 2.5.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.16.0, < 1.21.11 | ≥ 1.3.0, < 1.21.1 | ≥ 2.0.0, < 2.1.11 | ≥ 2.2.0, < 2.5.4","eol":null,"hubHref":"/vendor/mongodb/php_driver"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://jira.mongodb.org/browse/PHPC-2741","label":"jira.mongodb.org/browse/PHPC-2741","hostname":"jira.mongodb.org","tags":["Vendor Advisory","REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-106432","label":"security-tracker.debian.org/tracker/CVE-2026-106432","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-106432","label":"ubuntu.com/security/CVE-2026-106432","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-106432","label":"www.cve.org/CVERecord?id=CVE-2026-106432","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-08T19:02:25.357Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-08T19:51:42.949Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:18:41.973Z","stale":false,"partial":false}}