Security mailing lists by PureSourceCode

CVE-2026-106432

LOW 2.0CVSS 4.0

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.

Published
8 Oct 2026
Last modified
13 Oct 2026
Assigned by
cna@mongodb.com
NVD status
Analyzed
Weakness
CWE-681
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD cna@mongodb.com (Secondary) CVSS 4.0 LOW 2.0 CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
NVD cna@mongodb.com (Secondary) CVSS 3.1 LOW 3.6 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mongodb php_driver
cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:*
>= 1.3.0, < 1.21.1 1.21.1
NVD mongodb php_driver
cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:*
>= 2.0.0, < 2.1.11 2.1.11
NVD mongodb php_driver
cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:*
>= 2.2.0, < 2.5.4 2.5.4

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 8 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.