Skip to content

CVE-2026-135133 Invalid pointer release for non-string option values in the PHP Driver

HighCVSS 8.5 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
PHPUbuntu

Description

An invalid memory release in the MongoDB PHP Driver extension occurs when certain string-typed options or type-mapping settings are given non-string values. A party who can run PHP code in a process that loads the extension may corrupt process memory. This can lead to reading or changing process memory, running commands as the PHP process user, or crashing the process.

Upgrade path

5 packages: 1 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
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
MongoDB PHP Driver >= 1.0.0, < 1.21.15; >= 2.0.0, < 2.1.15; >= 2.2.0, < 2.5.9 1.21.15, 2.1.15, 2.5.9 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB PHP Driver >= 1.0.0, < 1.21.15 1.21.15
MongoDB PHP Driver >= 2.0.0, < 2.1.15 2.1.15
MongoDB PHP Driver >= 2.2.0, < 2.5.9 2.5.9
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
ubuntu/php-mongodb(Ubuntu:22.04) All versions No fix listed

References