Integer overflow in MongoDB driver for C - CVE-2026-120954
Published: November 10, 2026
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
Fedora
mongo-c-driver
How to mitigate CVE-2026-120954
mongo-c-driver - addressed in versions 2.5.8-1.el10_3, 2.5.8-1.el10_4, 2.5.8-1.fc45