UBUNTU-CVE-2026-106432 (CVE-2026-106432)
Vulnerability from osv_ubuntu – Published: 2026-10-08 20:17 – Updated: 2026-10-17 10:01 – Source websiteThe 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": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-mongodb",
"binary_version": "1.1.5-1~build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "php-mongodb",
"purl": "pkg:deb/ubuntu/php-mongodb@1.1.5-1~build1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.1.2-2~ubuntu1",
"1.1.5-1~build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-mongodb",
"binary_version": "1.3.4-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "php-mongodb",
"purl": "pkg:deb/ubuntu/php-mongodb@1.3.4-1build1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.2.3-1build1",
"1.3.4-1build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-mongodb",
"binary_version": "1.6.1-4build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "php-mongodb",
"purl": "pkg:deb/ubuntu/php-mongodb@1.6.1-4build1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.5.5-1build1",
"1.6.1-4",
"1.6.1-4build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-mongodb",
"binary_version": "1.12.0+1.9.2+1.7.5-4"
},
{
"binary_name": "php8.1-mongodb",
"binary_version": "1.12.0+1.9.2+1.7.5-4"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "php-mongodb",
"purl": "pkg:deb/ubuntu/php-mongodb@1.12.0+1.9.2+1.7.5-4?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.9.0+1.7.5-2build2",
"1.11.1+1.9.2+1.7.5-4",
"1.12.0+1.9.2+1.7.5-3",
"1.12.0+1.9.2+1.7.5-4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-mongodb",
"binary_version": "1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu3"
},
{
"binary_name": "php8.3-mongodb",
"binary_version": "1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu3"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "php-mongodb",
"purl": "pkg:deb/ubuntu/php-mongodb@1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu3?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.15.0+1.11.1+1.9.2+1.7.5-1build1",
"1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu1",
"1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu2",
"1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-mongodb",
"binary_version": "2.1.7-0ubuntu2"
},
{
"binary_name": "php8.5-mongodb",
"binary_version": "2.1.7-0ubuntu2"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.10",
"name": "php-mongodb",
"purl": "pkg:deb/ubuntu/php-mongodb@2.1.7-0ubuntu2?arch=source\u0026distro=stonking"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.1.7-0ubuntu1",
"2.1.7-0ubuntu2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-mongodb",
"binary_version": "2.1.7-0ubuntu1"
},
{
"binary_name": "php8.5-mongodb",
"binary_version": "2.1.7-0ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "php-mongodb",
"purl": "pkg:deb/ubuntu/php-mongodb@2.1.7-0ubuntu1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.1.0-1",
"2.1.7-0ubuntu1"
]
}
],
"aliases": [],
"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.",
"id": "UBUNTU-CVE-2026-106432",
"modified": "2026-10-17T10:01:21Z",
"published": "2026-10-08T20:17:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-106432"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-106432"
},
{
"type": "REPORT",
"url": "https://jira.mongodb.org/browse/PHPC-2741"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H",
"type": "CVSS_V3"
},
{
"score": "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",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-106432"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.