CVE-2015-8879: Input Validation

Published May 22, 2016
·
Updated

The odbcbindcols function in ext/odbc/phpodbc.c in PHP before 5.6.12 mishandles driver behavior for SQLWVARCHAR columns, which allows remote attackers to cause a denial of service (application crash) in opportunistic circumstances by leveraging use of the odbcfetcharray function to access a certain type of Microsoft SQL Server table.

Other sources

Fixed bug (PHP segfaults when accessing nvarchar(max) defined columns. (CVE-2015-8879)

PHP

Affected Software

3 affected componentsFixes available
PHP PHP<5.5.38
PHP PHP>=5.6.0<5.6.12
PHP PHP<7.0.0
7.0.0

Event History

May 22, 2016
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2015-8879?

CVE-2015-8879 has a low severity rating, but it can lead to denial of service due to application crashes.

2

How do I fix CVE-2015-8879?

To fix CVE-2015-8879, upgrade PHP to version 5.6.12 or later, or to version 7.0.0 or higher.

3

Which versions of PHP are affected by CVE-2015-8879?

PHP versions before 5.6.12 and 7.0.0, including versions 5.5.38 and 5.6.0 to 5.6.11, are affected by CVE-2015-8879.

4

What vulnerability does CVE-2015-8879 address?

CVE-2015-8879 addresses a vulnerability in the odbc_bindcols function that mishandles driver behavior for SQL_WVARCHAR columns.

5

Who can exploit CVE-2015-8879?

Remote attackers can exploit CVE-2015-8879 to cause denial of service in specific scenarios.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203