{"schemaVersion":4,"id":"CVE-2026-120954","aliases":["UBUNTU-CVE-2026-120954","DEBIAN-CVE-2026-120954"],"status":"published","duplicateOf":null,"title":"Silent element-count truncation via 32-bit bit-length overflow in packed-bit vector views","description":"A weakness in the BSON library's handling of a specialized binary vector data type allows an arithmetic wraparound when computing the number of elements described by an oversized attacker-supplied value. On builds where the platform word size is 32 bits, an application that parses untrusted BSON data can be made to process only a small fraction of the supplied elements while the operation reports success, producing results that disagree with byte-oriented accessors and with 64-bit builds of the same library. No authentication or user interaction is required beyond getting the application to parse the data. The impact is limited to data integrity; memory safety is not affected and no information is disclosed.","dates":{"published":"2026-11-03T18:45:40.025Z","modified":"2026-11-03T19:42:13.241Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.3,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/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":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":5.6,"impact":2.3,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/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}]},"epss":{"probability":0.00233,"percentile":0.1513,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00233},"history":[{"date":"2026-11-04T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00233,"percentile":0.1513}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00233,"percentile":0.1513}]},"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-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.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":"< 2.5.8-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.5.8-1","endInclusive":false}}],"versionsText":"< 2.5.8-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,"bounds":{"kind":"all"}}],"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":"≥ 2.0.0, ≤ 2.5.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.0.0","startInclusive":true,"end":"2.5.7","endInclusive":true}}],"versionsText":"≥ 2.0.0, ≤ 2.5.7","eol":null,"hubHref":"/vendor/mongodb/c_driver"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://jira.mongodb.org/browse/CDRIVER-6420","label":"jira.mongodb.org/browse/CDRIVER-6420","hostname":"jira.mongodb.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-120954","label":"ubuntu.com/security/CVE-2026-120954","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-120954","label":"www.cve.org/CVERecord?id=CVE-2026-120954","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-120954","label":"security-tracker.debian.org/tracker/CVE-2026-120954","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0635","OPENSUSE-SU-2026:12437-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:12437-1"]},"timeline":[{"kind":"published","date":"2026-11-03T18:45:40.025Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-03T19:42:13.241Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,63],"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.00233,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-03T19:42:13.241Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-11-03T19:42:13.241Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-11-03T19:42:13.241Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/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","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-11-03T19:42:13.241Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-03T19:42:13.241Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-03T19:42:13.241Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-11-03T19:42:13.241Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/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","version":"4.0"},{"type":"adp","source":"cisa-adp","date":"2026-11-03T19:42:04.160Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00233,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:41:43.302Z","stale":false,"partial":false}}