{"id":"CVE-2026-120954","aliases":["DEBIAN-CVE-2026-120954","EUVD-2026-116140","UBUNTU-CVE-2026-120954","openSUSE-SU-2026:12437-1"],"status":"published","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.","severity":{"version":"4.0","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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00233,"percentile":0.14263,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190"],"published":"2026-11-03T18:45:40Z","modified":"2026-11-09T18:00:09Z","fixes":[{"ecosystem":"Debian:14","package":"mongo-c-driver","fixed_in":["2.5.8-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:14","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.8-1"}]}],"versions":["1.30.4-1","2.0.2-1","2.1.0-1","2.1.1-1","2.1.2-1","2.2.0-1","2.2.1-1","2.2.2-1","2.2.3-1","2.2.4-1","2.3.0-1","2.3.1-1","2.3.2-1","2.3.3-1","2.4.0-1","2.5.0-1","2.5.1-1","2.5.2-1","2.5.3-1","2.5.5-1","2.5.6-1","2.5.7-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15.0-1","1.15.1-1","1.15.2-1","1.16.0-1","1.16.1-1","1.16.1-1build1","1.16.1-1build2","1.16.1-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.18.0-1","1.19.1-1","1.19.2-1","1.20.0-1","1.20.0-1build1","1.20.1-1","1.21.0-1","1.21.0-1build1","1.21.0-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.24.3-1","1.24.4-1","1.25.1-1","1.25.2-1","1.25.4-1","1.26.0-1","1.26.0-1.1ubuntu1","1.26.0-1.1ubuntu2","1.26.0-1.1ubuntu2+esm1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.2-1","2.3.1-1","2.3.2-1","2.3.3-1build1","2.5.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.30.4-1ubuntu1","2.2.0-1","2.2.1-1","2.2.2-1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"mongo-c-driver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.8-1.1"}]}],"bundled":5}],"products":[{"vendor":"mongodb","product":"c driver"},{"vendor":"mongodb inc.","product":"c driver"}],"references":[{"url":"https://jira.mongodb.org/browse/CDRIVER-6420","tags":["report"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-120954","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-120954","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-120954","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-120678","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-120684","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-120954","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-120955","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-120956","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2026-120954","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.","status":"published","published":"2026-11-03T18:45:40.025Z","modified":"2026-11-03T19:42:13.241Z","cvss":[{"version":"4.0","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","level":"medium","assessor":"cna"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low","assessor":"cna"}],"cwes":["CWE-190"],"updated_at":"2026-11-03T21:03:48.582083Z"}],"euvd":[{"id":"EUVD-2026-116140","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.","status":"published","published":"2026-11-03T18:45:40Z","modified":"2026-11-03T19:42:13Z","cvss":[{"version":"4.0","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","level":"medium"}],"updated_at":"2026-11-03T21:20:13.14078Z"}],"nvd":[{"id":"CVE-2026-120954","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.","status":"published","published":"2026-11-03T19:18:00.47Z","modified":"2026-11-03T20:18:12.557Z","cvss":[{"version":"4.0","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","level":"medium","assessor":"secondary"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low","assessor":"secondary"}],"cwes":["CWE-190"],"updated_at":"2026-11-03T22:58:51.822037Z"}],"osv":[{"id":"DEBIAN-CVE-2026-120954","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.","status":"published","published":"2026-11-03T19:18:00.47Z","modified":"2026-11-09T18:00:09.056081628Z","cvss":[{"version":"4.0","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","level":"medium"}],"updated_at":"2026-11-09T18:06:53.903353Z"},{"id":"UBUNTU-CVE-2026-120954","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.","status":"published","published":"2026-11-03T19:18:00Z","modified":"2026-11-05T11:47:27.884059756Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low"},{"version":"4.0","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","level":"medium"}],"updated_at":"2026-11-05T13:30:15.321876Z"},{"id":"openSUSE-SU-2026:12437-1","title":"bson-devel-2.5.8-1.1 on GA media","description":"These are all security issues fixed in the bson-devel-2.5.8-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-11-05T00:00:00Z","modified":"2026-11-06T17:23:10.702493418Z","updated_at":"2026-11-06T18:05:03.243497Z"}]}}
