Back to CVE records
Low 3.6Published Oct 8, 2026

CVE-2026-106432Heap buffer overflow via 32-bit string-length truncation in MongoDB PHP Driver

Updated under an hour ago ()

Does this affect you?

It affects MongoDB PHP Driver. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
3.6 LOW (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
Weakness (CWE)
CWE-681
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
mongodb
NVD analysis
Analyzed
Record last updated
Oct 8, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
MongoDB PHP Driver
mongodb:php_driver (from the name)
from 1.16.0 before 1.21.11; from 2.0.0 before 2.1.11; from 2.2.0 before 2.5.4
CNA record
mongodb php_driver
mongodb:php_driver
from 1.3.0 before 1.21.1; from 2.0.0 before 2.1.11; from 2.2.0 before 2.5.4
NVD

References

  • vendor-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.