Bug 2566161 (CVE-2026-120954)

Summary: CVE-2026-120954 mongo-c-driver: mongo-c-driver: data integrity compromise via arithmetic wraparound in binary vector parsing
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in mongo-c-driver. When handling specialized binary vector data on 32-bit systems, an arithmetic wraparound vulnerability allows a remote attacker to compromise data integrity by providing an oversized value in untrusted Binary JSON (BSON) data. This issue causes the application to parse only a fraction of the elements while reporting success, resulting in inconsistent and inaccurate data processing.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2567222, 2567223    
Bug Blocks:    

Description OSIDB Bzimport 2026-11-03 19:47:20 UTC
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.