Vulnerabilities
Vulnerable Software
Mongodb:  >> Php Driver  >> 2.5.2  Security Vulnerabilities
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.
CVSS Score
6.3
EPSS Score
0.003
Published
2026-10-08
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.
CVSS Score
2.0
EPSS Score
0.002
Published
2026-10-08


Contact Us

Shodan ® - All rights reserved