Bug 2548444

Summary: CVE-2026-106432 php-pecl-mongodb2: php-pecl-mongodb: Denial of Service via heap buffer overflow in BSON encoder [epel-all]
Product: [Fedora] Fedora EPEL Reporter: Laura Pardo <lpardo>
Component: php-pecl-mongodb2Assignee: Remi Collet <fedora>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: epel10CC: fedora
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["23121a0e-c5f8-4511-ae86-d4bf1d6ecf20"]}
Fixed In Version: Doc Type: ---
Doc Text:
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:    
Bug Blocks: 2548221    

Description Laura Pardo 2026-10-09 09:46:12 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

The BSON encoder in the MongoDB PHP Driver converts a string length to a 32-bit value without validation. When an affected application encodes a string near 4 GiB, the allocation size can wrap while the copy operation uses the original length. The resulting heap buffer overflow can corrupt process memory or terminate the PHP process. Reaching this issue requires a non-default runtime configuration that permits multi-gigabyte values. No MongoDB server interaction is required.