Bug 2572884 (CVE-2026-126792)

Summary: CVE-2026-126792 libmongocrypt: libmongocrypt: Denial of Service via heap-based buffer overflow in key-management request building
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in libmongocrypt. A local user with high privileges can cause a Denial of Service (DoS) and memory corruption via an out-of-bounds write on the heap. This issue occurs because the key-management request-building component uses a fixed-size output buffer without verifying the cryptographic key size when custom cryptographic callbacks are supplied. By supplying data that exceeds the buffer size, an attacker who controls the key-management provider configuration can overwrite adjacent memory, leading to client process termination.
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:

Description OSIDB Bzimport 2026-11-13 00:01:26 UTC
A memory-safety flaw in the key-management request-building component of the library can lead to an out-of-bounds write on the heap. A fixed-size output buffer is used under an assumption about cryptographic key size that is never validated, so when the library is embedded by a caller that supplies its own cryptographic callback implementation, data larger than the buffer can be written past its end. Exploitation requires the ability to control the embedding application's in-process key-management provider configuration, a high-privilege position. The demonstrated impact is memory corruption resulting in abnormal termination of the client process.