CVE-2015-8879: PHP

High severity, CVSS 7.5. EPSS: 3.5% chance of exploitation in the next 30 days.

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 PHP: before 5.5.38 (fixed in 5.5.38); from 5.6.0, before 5.6.12 (fixed in 5.6.12)

Published 2016-05-22. Last modified 2026-06-17.