CVE-2026-106436: Application denial of service and data truncation via unchecked BSON append failures in MongoDB PHP Driver

Published Oct 8, 2026
·
Updated

The BSON encoder in the MongoDB PHP Driver does not check some return values after a document exceeds libbson's size limit. This can leave the encoder in an invalid state. An unauthenticated actor who can cause an affected application to encode an unusually large data structure can terminate the PHP worker or cause the resulting document to omit fields. No MongoDB server connection or database authentication is required.

Affected Software

1 affected component
MongoDB PHP Driver

Event History

Oct 8, 2026
CVE Published
via MITRE·07:03 PM
Data Sourced
via MITRE·07:03 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications using the affected MongoDB PHP Driver are exposed when an unauthenticated actor can cause them to BSON-encode an unusually large data structure. A MongoDB server connection and database authentication are not required for exploitation.

2

What impact can exploitation have on the application?

The PHP worker can terminate, causing a denial of service. The invalid encoder state can also produce a document with fields omitted, resulting in data truncation.

3

What should be investigated to determine whether an application is at risk?

Identify application paths that accept attacker-controlled input and pass it into BSON encoding, especially paths where input can be expanded into unusually large nested structures or documents. Determine whether those paths can be reached without authentication.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203