Skip to content

CVE-2026-106436 Application denial of service and data truncation via unchecked BSON append failures in MongoDB PHP Driver

MediumCVSS 6.3 EPSS 0.26%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHPUbuntuDebian

Description

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.

Upgrade path

8 packages: 3 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
debian/php-mongodb(Debian 12) = 1.15.0+1.11.1+1.9.2+1.7.5-1; = 1.19.3-1; = 1.19.4-2; = 1.19.4-3~exp2 +10 more No fix listed No fix yet
ubuntu/php-mongodb(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/php-mongodb(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/php-mongodb(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/php-mongodb(Ubuntu 26.10) All versions No fix listed No fix yet
debian/php-mongodb(Debian 13) < 2.0.0-1+deb13u2; = 2.0.0-1; = 2.0.0-1+deb13u1 2.0.0-1+deb13u2 Fixed
debian/php-mongodb(Debian 14) < 2.5.5-1; = 2.0.0-1; = 2.1.0-1; = 2.5.3-1 2.5.5-1 Fixed
MongoDB PHP Driver >= 1.3.0, < 1.21.1; >= 1.3.0, < 1.21.11; >= 2.0.0, < 2.1.11; >= 2.2.0, < 2.5.4 1.21.1, 1.21.11, 2.1.11, 2.5.4 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB PHP Driver >= 1.3.0, < 1.21.11 1.21.11
MongoDB PHP Driver >= 2.0.0, < 2.1.11 2.1.11
MongoDB PHP Driver >= 2.2.0, < 2.5.4 2.5.4
debian/php-mongodb(Debian:12) All versions No fix listed
debian/php-mongodb(Debian:12) = 1.15.0+1.11.1+1.9.2+1.7.5-1 No fix listed
debian/php-mongodb(Debian:12) = 1.19.3-1 No fix listed
debian/php-mongodb(Debian:12) = 1.19.4-2 No fix listed
debian/php-mongodb(Debian:12) = 1.19.4-3~exp2 No fix listed
debian/php-mongodb(Debian:12) = 1.19.4-3~exp3 No fix listed
debian/php-mongodb(Debian:12) = 1.19.4-3~exp4 No fix listed
debian/php-mongodb(Debian:12) = 1.20.0-1 No fix listed
debian/php-mongodb(Debian:12) = 1.20.1-1 No fix listed
debian/php-mongodb(Debian:12) = 1.21.0-1 No fix listed
debian/php-mongodb(Debian:12) = 2.0.0-1 No fix listed
debian/php-mongodb(Debian:12) = 2.1.0-1 No fix listed
debian/php-mongodb(Debian:12) = 2.5.3-1 No fix listed
debian/php-mongodb(Debian:12) = 2.5.5-1 No fix listed
debian/php-mongodb(Debian:13) < 2.0.0-1+deb13u2 2.0.0-1+deb13u2
debian/php-mongodb(Debian:13) = 2.0.0-1 No fix listed
debian/php-mongodb(Debian:13) = 2.0.0-1+deb13u1 No fix listed
debian/php-mongodb(Debian:14) < 2.5.5-1 2.5.5-1
debian/php-mongodb(Debian:14) = 2.0.0-1 No fix listed
debian/php-mongodb(Debian:14) = 2.1.0-1 No fix listed
debian/php-mongodb(Debian:14) = 2.5.3-1 No fix listed
ubuntu/php-mongodb(Ubuntu:22.04) All versions No fix listed
Show 4 more
ProductAffected versionsFixed in
ubuntu/php-mongodb(Ubuntu:24.04) All versions No fix listed
ubuntu/php-mongodb(Ubuntu:26.04) All versions No fix listed
ubuntu/php-mongodb(Ubuntu:26.10) All versions No fix listed
MongoDB PHP Driver >= 1.3.0, < 1.21.1 1.21.1

References