What’s Vulnerable › Vulnerabilities

CVE-2015-1352

Description

The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate token extraction for table names, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted name.

Affected products

How to fix

Upgrade to a fixed version: PHP 5.4.40, 5.5.24, 5.6.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2015-1352 or the next vulnerability affects your stack