Integer overflow in MongoDB driver for C - CVE-2026-120954

 

Integer overflow in MongoDB driver for C - CVE-2026-120954

Published: November 10, 2026


Vulnerability identifier: #VU164411
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-120954
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise data integrity by silently truncating the number of processed BSON vector elements.

The vulnerability exists due to integer overflow in the BSON library's packed-bit vector views when computing element counts from oversized values on 32-bit platforms. A remote attacker can supply crafted BSON data for an application to parse, causing it to process only a fraction of the supplied elements while reporting success.


Affected software

MongoDB driver for C
Fedora
mongo-c-driver

How to mitigate CVE-2026-120954

Install security update from vendor's website.

MongoDB driver for C - update to 2.5.8
mongo-c-driver - addressed in versions 2.5.8-1.el10_3, 2.5.8-1.el10_4, 2.5.8-1.fc45

External References

Related Security Bulletins