CVE-2026-106432

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

HIGH
8.2
CVSS Score
Published: October 8, 2026 at 07:02 PM UTC
Updated: October 13, 2026 at 08:09 PM UTC
1 product affected across 1 vendorPHP Driver

Using PHP Driver by MongoDB?

Get instant alerts when new vulnerabilities affect PHP Driver - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.2
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

1.3.0 ≤ v < 1.21.12.0.0 ≤ v < 2.1.112.2.0 ≤ v < 2.5.41.16.02.0.02.2.0

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

References (1)

Vendor Advisory
Source: cverecord
https://jira.mongodb.org/browse/PHPC-2741

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-681

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card