Skip to content
OpenAdvisories
Unscored CVE-2015-1352 EUVD-2015-1491GHSA-j4qg-8m5f-3hcv

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…

Published Mar 30, 2015 · Updated Aug 6, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 7 php5 5.4.38-0+deb7u1 DSA-3195-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.6 USN-2501-1
ReleasePackageFixed inAdvisory
RHEL 2 php55 +2 2.0-1.el6 RHSA-2015:1053
RHEL 2 php55-php +26 5.5.21-2.el6 RHSA-2015:1053
ReleasePackageFixed inAdvisory
SLES 11 SP2 php53 5.3.17-47.1 SUSE-SU-2016:1638-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed php5 5.6.28-1.1 openSUSE-SU-2024:10344-1
openSUSE Tumbleweed php7 7.0.14-1.4 openSUSE-SU-2024:10290-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 php55 +2 2.0-1.el7 ELSA-2015-1053
Oracle Linux 7 php55-php +26 5.5.21-2.0.1.el6 ELSA-2015-1053

Advisories 7

References