Skip to main content
No exploitation reportedFix available

CVE-2015-8879

No exploitation reported by the sources we read.

  • Published2016-05-22
  • Fixed in5.6.12 · 5.5.38
  • WeaknessCWE-20

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2016-05-2201:59CVE publishedNVD

Versions per branch

NVD
PHP
BranchAffectedFixed in
5.6≥ 5.6.0, < 5.6.125.6.12
5.5< 5.5.385.5.38

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • imapSUSE:Linux Enterprise Workstation Extension 12 SP1all versions · fixed in 2007e_suse-19.1
  • imapSUSE:Linux Enterprise Workstation Extension 12all versions · fixed in 2007e_suse-19.1
  • imapSUSE:Linux Enterprise Software Development Kit 12 SP1all versions · fixed in 2007e_suse-19.1
  • imapSUSE:Linux Enterprise Software Development Kit 12all versions · fixed in 2007e_suse-19.1
  • imapSUSE:Linux Enterprise Module for Web and Scripting 12all versions · fixed in 2007e_suse-19.1
  • imapSUSE:Linux Enterprise Desktop 12 SP1all versions · fixed in 2007e_suse-19.1
  • imapSUSE:Linux Enterprise Desktop 12all versions · fixed in 2007e_suse-19.1
  • phpTuxCare:CentOS:6all versions · fixed in 5.3.3-51.el6.cloudlinuxand 26 other packages

20 more package ranges on OSV.dev

Vendor advisories

  • RHSA-2016:2750 Red Hat Product Security251 products fixed

    Red Hat Security Advisory: rh-php56 security, bug fix, and enhancement update

Full record on NVD

Fix

  1. Update PHP to 5.6.12 · 5.5.38
  2. Vendor fix Red Hat Product Security RHSA-2016:2750 · 251 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing the updated packages, the httpd daemon must be restarted for the update to take effect.

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2016-05-22
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-vhvh-8f85-cw7p

Frequently asked questions

What is CVE-2015-8879?

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.

Is CVE-2015-8879 actively exploited?

Active exploitation of CVE-2015-8879 has not been confirmed. Its EPSS score was 3.5% on 2026-11-09, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2015-8879?

CVE-2015-8879 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running rh-php56 security, bug fix,? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record