Description
SQL injection vulnerability in Zend Framework before 1.12.9, 2.2.x before 2.2.8, and 2.3.x before 2.3.3, when using the sqlsrv PHP extension, allows remote attackers to execute arbitrary SQL commands via a null byte.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | zendframework | 1.11.13-1.1+deb7u1 | DSA-3265-1 |
| Debian 6.0 | zendframework | 1.10.6-1squeeze3 | DLA-251-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | zend-framework | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | zendframework/zend-db | >= 2.0.0, < 2.0.99 | 2.0.99 | GHSA-qh9w-r7g5-q939 |
| Packagist | zendframework/zend-db | >= 2.1.0, < 2.1.99 | 2.1.99 | GHSA-qh9w-r7g5-q939 |
| Packagist | zendframework/zend-db | >= 2.2.0, < 2.2.8 | 2.2.8 | GHSA-qh9w-r7g5-q939 |
| Packagist | zendframework/zend-db | >= 2.3.0, < 2.3.3 | 2.3.3 | GHSA-qh9w-r7g5-q939 |
| Packagist | zendframework/zendframework | >= 2.0.0, < 2.0.99 | 2.0.99 | GHSA-qh9w-r7g5-q939 |
| Packagist | zendframework/zendframework | >= 2.1.0, < 2.1.99 | 2.1.99 | GHSA-qh9w-r7g5-q939 |
| Packagist | zendframework/zendframework | >= 2.2.0, < 2.2.8 | 2.2.8 | GHSA-qh9w-r7g5-q939 |
| Packagist | zendframework/zendframework | >= 2.3.0, < 2.3.3 | 2.3.3 | GHSA-qh9w-r7g5-q939 |
| Packagist | zendframework/zendframework1 | >= 1.12.0, < 1.12.9 | 1.12.9 | GHSA-qh9w-r7g5-q939 |
Advisories 2
- DSA-3265-1 zendframework - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-251-1 zendframework - security update Debian Security (DSA / DLA) · Mar 9, 2026