{"id":"UBUNTU-CVE-2026-106436","details":"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.","modified":"2026-10-14T03:22:47.534345100Z","published":"2026-10-13T00:00:00Z","upstream":["CVE-2026-106436"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-106436"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-106436"},{"type":"REPORT","url":"https://jira.mongodb.org/browse/PHPC-2739"}],"affected":[{"package":{"name":"php-mongodb","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/php-mongodb?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.2-2~ubuntu1","1.1.5-1~build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.1.5-1~build1","binary_name":"php-mongodb"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106436.json"}},{"package":{"name":"php-mongodb","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/php-mongodb?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.3-1build1","1.3.4-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"php-mongodb","binary_version":"1.3.4-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106436.json"}},{"package":{"name":"php-mongodb","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/php-mongodb?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.5-1build1","1.6.1-4","1.6.1-4build1"],"ecosystem_specific":{"binaries":[{"binary_name":"php-mongodb","binary_version":"1.6.1-4build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106436.json"}},{"package":{"name":"php-mongodb","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/php-mongodb?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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_version":"1.12.0+1.9.2+1.7.5-4","binary_name":"php-mongodb"},{"binary_name":"php8.1-mongodb","binary_version":"1.12.0+1.9.2+1.7.5-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106436.json"}},{"package":{"name":"php-mongodb","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/php-mongodb?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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":"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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106436.json"}},{"package":{"name":"php-mongodb","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/php-mongodb?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.0-1","2.1.7-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"php-mongodb","binary_version":"2.1.7-0ubuntu1"},{"binary_version":"2.1.7-0ubuntu1","binary_name":"php8.5-mongodb"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-106436.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}