CVE-2015-7876: The escapeLike function in sqlsrv/database.inc in the Drupal 7 driver for SQL Server and SQL Azure 7.x-1.x bef
CVE-2015-7876 is a high-severity flaw (CVSS 7.5) affecting drupal 7 driver for sql server and sql azure. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The escapeLike function in sqlsrv/database.inc in the Drupal 7 driver for SQL Server and SQL Azure 7.x-1.x before 7.x-1.4 does not properly escape certain characters, which allows remote attackers to execute arbitrary SQL commands via vectors involving a module using the db_like function.
Why this priority
- High severity
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| EPSS exploit chance | 2.5% (top 15%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2015-10-21 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2015-7876?
drupal 7 driver for sql server and sql azure: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2015-7876 being exploited?
CVE-2015-7876 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2015-7876 affect?
CVE-2015-7876 affects drupal 7 driver for sql server and sql azure. Severity is high (CVSS 7.5). The escapeLike function in sqlsrv/database.inc in the Drupal 7 driver for SQL Server and SQL Azure 7.x-1.x before 7.x-1.4 does not properly escape certain characters, which allows remote attackers to execute arbitrary SQL commands via vecto
How urgent is CVE-2015-7876?
Priority 47/100. High severity
Software pages
Drupal vulnerabilities · Microsoft SQL Server vulnerabilities · Azure vulnerabilities