cve.bz

CVE-2026-106436 mongodb php driver: Unchecked Return Value

6.3 mediumEPSS 0.3%

Medium (6.3) in mongodb php driver. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
The BSON encoder in the MongoDB PHP Driver does not check some return values after a document exceeds libbson's size limit. This can leave the encoder in an invalid state. An unauthenticated actor who can cause an affected application to encode an unusually large data structure can terminate the PHP worker or cause the resulting document to omit fields. No MongoDB server connection or database authentication is required.

Severity

CVSS 4.0

6.3 medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 17th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-252 Unchecked Return Value
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-106436 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-106436?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-106436?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-106436 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
MongoDB PHP Driverfrom 1.3.0 before 1.21.11
MongoDB PHP Driverfrom 2.0.0 before 2.1.11
MongoDB PHP Driverfrom 2.2.0 before 2.5.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12php-mongodbno fix listedDEBIAN-CVE-2026-106436
Debian13php-mongodb2.0.0-1+deb13u2DEBIAN-CVE-2026-106436
Debian14php-mongodb2.5.5-1DEBIAN-CVE-2026-106436
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 morephp-mongodbno fix listedUBUNTU-CVE-2026-106436

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Moderate severity is assigned because a remote attacker can trigger worker termination or data omissions during BSON serialization without database credentials, while confidentiality remains unaffected and the impact is confined to the specific PHP worker process. In Red Hat environments, the affected MongoDB driver extension is not provided in core Red Hat Enterprise Linux channels and is only available through community streams such as Fedora and EPEL. Exploitation additionally requires an application to accept and serialize untrusted data that exceeds driver size boundaries.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-106436.

References

Check your stackJSON