All reports
Low

php: NULL pointer dereference in pgsql extension

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2015-1352

Probability of exploitation in the next 30 days: 6.58%

FIRST EPSS · 2026-11-22

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.

A NULL pointer dereference flaw was found in PHP's pgsql extension. A specially crafted table name passed to a function such as pg_insert() or pg_select() could cause a PHP application to crash.