Vulnerabilities

CVE-2026-106436

Medium 6.5 CVSS 3.1

Description

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.

Description as published by the source, in English.

Key facts

Published
2026-10-08
Last modified
2026-10-13
Assigned by
cna@mongodb.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Scored by
nvd@nist.gov (NVD Primary)
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Mongodb Php Driver ≥ 1.3.0, < 1.21.1 Affected
Mongodb Php Driver ≥ 2.0.0, < 2.1.11 Affected
Mongodb Php Driver ≥ 2.2.0, < 2.5.4 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities