CVE-2014-8089
PHP vulnerability analysis and mitigation

Overview

SQL injection vulnerability identified as CVE-2014-8089 affects Zend Framework versions before 1.12.9, 2.2.x before 2.2.8, and 2.3.x before 2.3.3. The vulnerability was discovered in September 2014 and specifically impacts installations using the sqlsrv PHP extension (Zend Advisory).

Technical details

The vulnerability exists in the SQL Server adapter's quoting mechanism. When using the sqlsrv PHP extension, SQL Server treats null bytes in a query as a string terminator. The affected components are Zend Framework 1's Zend_Db_Adapter_Sqlsrv and Zend Framework 2's Zend\Db\Adapter\Platform\SqlServer classes. The vulnerability has received a CVSS v3.1 base score of 9.8 (Critical) and CVSS v2.0 score of 7.5 (High) (NVD).

Impact

The vulnerability allows remote attackers to execute arbitrary SQL commands via a null byte, potentially leading to unauthorized database access and manipulation. Notably, developers using the PDO_Sqlsrv adapter are not vulnerable to this attack, as PDO provides a native quoting mechanism that prevents the attack vector (Zend Advisory).

Mitigation and workarounds

The issue has been fixed in Zend Framework versions 1.12.9, 2.2.8, and 2.3.3. The fix involves passing values to PHP's addcslashes function to sanitize and properly quote null bytes using the command: $value = addcslashes($value, "\000\032"). Organizations using affected versions are strongly recommended to upgrade immediately (Zend Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23622HIGH8.7
  • PHPPHP
  • alextselegidis/easyappointments
NoNoJan 15, 2026
CVE-2025-14894HIGH7.5
  • PHPPHP
  • livewire-filemanager/filemanager
NoNoJan 16, 2026
CVE-2026-23626MEDIUM6.8
  • PHPPHP
  • kimai/kimai
NoYesJan 18, 2026
CVE-2025-69198MEDIUM6
  • PHPPHP
  • pterodactyl/panel
NoYesJan 19, 2026
CVE-2026-23496MEDIUM5.4
  • PHPPHP
  • pimcore/web2print-tools-bundle
NoYesJan 15, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management