{"id":"CVE-2026-120954","aliases":["CVE-2026-120954"],"related":[],"kind":"vulnerability","state":"published","title":"Silent element-count truncation via 32-bit bit-length overflow in packed-bit vector views","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-03T18:45:40.025Z","modified":"2026-11-03T20:18:12.557Z","severity":{"scorer":"mongodb","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"mongodb","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},{"scorer":"mongodb","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"type":"semver","introduced":"2.0.0","lastAffected":"2.5.7","status":"affected"}],"vendor":"MongoDB","product":"C Driver","source":"cvelist"}],"references":[{"url":"https://jira.mongodb.org/browse/CDRIVER-6420","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mongodb","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-03T19:42:04.160Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120954","url":"https://www.cve.org/CVERecord?id=CVE-2026-120954","licence":"CVE Terms of Use","modified":"2026-11-03T19:42:13.241Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120954","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120954","licence":"Public domain","modified":"2026-11-03T20:18:12.557Z"}],"updatedAt":"2026-11-25T22:59:48.584Z","epss":{"score":0.00233,"percentile":0.15164,"date":"2026-12-01T12:00:22.000Z"}}