CVE-2026-106432

Source
https://cve.org/CVERecord?id=CVE-2026-106432
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-106432.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-106432
Downstream
Published
2026-10-08T19:02:25Z
Modified
2026-10-15T02:47:24Z
Severity
  • 2.0 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
Heap buffer overflow via 32-bit string-length truncation in MongoDB PHP Driver
Details

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.

Database specific
{
    "cna_assigner":  "mongodb",
    "cwe_ids":  [
        "CWE-681"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106432.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "introduced":  "1.16.0"
                },
                {
                    "fixed":  "1.21.11"
                },
                {
                    "introduced":  "2.0.0"
                },
                {
                    "fixed":  "2.1.11"
                },
                {
                    "introduced":  "2.2.0"
                },
                {
                    "fixed":  "2.5.4"
                }
            ],
            "source":  "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/mongodb/mongo-php-driver

Affected ranges

Type
GIT
Repo
https://github.com/mongodb/mongo-php-driver
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:*",
    "extracted_events":  [
        {
            "introduced":  "1.3.0"
        },
        {
            "fixed":  "1.21.1"
        },
        {
            "introduced":  "2.0.0"
        },
        {
            "fixed":  "2.1.11"
        },
        {
            "introduced":  "2.2.0"
        },
        {
            "fixed":  "2.5.4"
        }
    ],
    "source":  "CPE_RANGE"
}

Affected versions

1.*
1.10.0alpha1
1.11.0
1.11.0alpha1
1.12.0
1.13.0
1.14.0
1.14.0beta1
1.15.0
1.17.0
1.18.0
1.21.0
1.3.0
1.3.1
1.4.0RC1
1.4.0beta1
1.5.0
1.6.0RC1
1.6.0alpha1
1.6.0alpha2
1.6.0alpha3
2.*
2.1.0
2.1.1
2.1.10
2.1.2
2.1.3
2.1.4
2.1.7
2.1.8
2.1.9
2.2.0
2.5.0
2.5.1
2.5.2
2.5.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-106432.json"