MongoDB PHP Driverに脆弱性、PHPコードの実行者にメモリを壊される恐れ
Summary
MongoDB PHP Driverの拡張機能で、文字列型のオプションに文字列以外の値が渡されると不正なメモリ解放が起きる脆弱性が見つかりました。PHPコードを実行できる者が、プロセスのメモリを読み書きしたり、PHPプロセスの権限でコマンドを実行したりする恐れがあります。影響するのは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以降の修正版で直せます。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
MongoDB PHP Driverの拡張機能で、文字列型のオプションに文字列以外の値が渡されると不正なメモリ解放が起きる脆弱性が見つかりました。PHPコードを実行できる者が、プロセスのメモリを読み書きしたり、PHPプロセスの権限でコマンドを実行したりする恐れがあります。影響するのは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以降の修正版で直せます。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MongoDBPHP Driver |
≥ 1.0.0, < 1.21.15→ 1.21.15 ≥ 2.0.0, < 2.1.15→ 2.1.15 ≥ 2.2.0, < 2.5.9→ 2.5.9 |
1.21.15 2.1.15 2.5.9 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Ubuntu UBUNTU-CVE-2026-135133 php-mongodb No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- web cna@mongodb.com