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.
Source: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1352
Reference (s):
- APPLE:APPLE-SA-2015-09-30-3
- URL: http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
- BID:71932
- URL: http://www.securityfocus.com/bid/71932
- http://git.php.net/?p=php-src.git;a=commit;h=124fb22a13fafa3648e4e15b4f207c7096d8155e

