What’s Vulnerable › Vulnerabilities
CVE-2015-8879
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2016-05-22 · updated 2026-06-17
- Weakness: CWE-20
Description
The odbc_bindcols function in ext/odbc/php_odbc.c in PHP before 5.6.12 mishandles driver behavior for SQL_WVARCHAR columns, which allows remote attackers to cause a denial of service (application crash) in opportunistic circumstances by leveraging use of the odbc_fetch_array function to access a certain type of Microsoft SQL Server table.
Affected products
- PHP: before 5.5.38; from 5.6.0 before 5.6.12 — fixed in 5.5.38, 5.6.12
How to fix
Upgrade to a fixed version: PHP 5.5.38, 5.6.12. Check the vendor advisory for mitigations.
References
- http://rhn.redhat.com/errata/RHSA-2016-2750.html
- http://www.php.net/ChangeLog-5.php
- https://bugs.php.net/bug.php?id=69975
- http://rhn.redhat.com/errata/RHSA-2016-2750.html
- http://www.php.net/ChangeLog-5.php
- https://bugs.php.net/bug.php?id=69975
Get alerted when CVE-2015-8879 or the next vulnerability affects your stack