CVE-2015-4644 json
The php_pgsql_meta_data function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP before 5.4.42, 5.5.x before 5.5.26, and 5.6.x be…
published 2016-05-16 10 y ago modified 2026-06-17 4 mo ago also EUVD-2015-4663
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.3%
- EPSS 5.3% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
The php_pgsql_meta_data function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP before 5.4.42, 5.5.x before 5.5.26, and 5.6.x before 5.6.10 does not validate token extraction for table names, which might allow remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted name. NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-1352.
Patch / fix
- php5 Ubuntu 14.04 LTS 5.5.9+dfsg-1ubuntu4.11
ubuntu advisories UBUNTU-CVE-2015-4644
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- php55-php RHEL 2 SOFTWARE_COLLECTIONS 5.5.21-4.el6
- php55-php RHEL 2 SOFTWARE_COLLECTIONS 5.5.21-4.el7
- php55-php-gd RHEL 2 SOFTWARE_COLLECTIONS 5.5.21-4.el6
- php55-php-gd RHEL 2 SOFTWARE_COLLECTIONS 5.5.21-4.el7
- php55-php-cli RHEL 2 SOFTWARE_COLLECTIONS 5.5.21-4.el6
- php55-php-cli RHEL 2 SOFTWARE_COLLECTIONS 5.5.21-4.el7
- php55-php-dba RHEL 2 SOFTWARE_COLLECTIONS 5.5.21-4.el6
- php55-php-dba RHEL 2 SOFTWARE_COLLECTIONS 5.5.21-4.el7
red hat advisories RHSA-2015:1186RHSA-2015:1187RHSA-2015:1219
- php5 SLE Software Development Kit 12, SLE Module for Web and Scripting 12 5.5.14-30.1
- php53 SLES 11 SP2-LTSS 5.3.17-47.1
suse advisories SUSE-SU-2016:1638-1SUSE-SU-2015:1253-2SUSE-SU-2015:1253-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-4644 updated cvss 2.6
php: NULL pointer dereference in php_pgsql_meta_data()
-
Red Hat Enterprise Linux 5 php53 Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 more Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 moreaffected: no fix planned “Will not fix”
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) php54-php 5.4.40-3.el6, php55-php 5.5.21-4.el6, rh-php56-php 5.6.5-7.el6, php54-php-gd 5.4.40-3.el6, php55-php-gd 5.5.21-4.el6, php54-php-cli 5.4.40-3.el6, +72 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) php54-php 5.4.40-3.el7, php55-php 5.5.21-4.el7, rh-php56-php 5.6.5-7.el7, php54-php-gd 5.4.40-3.el7, php55-php-gd 5.5.21-4.el7, php54-php-cli 5.4.40-3.el7, +66 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5) php54-php 5.4.40-3.el6, php55-php 5.5.21-4.el6, rh-php56-php 5.6.5-7.el6, php54-php-gd 5.4.40-3.el6, php55-php-gd 5.5.21-4.el6, php54-php-cli 5.4.40-3.el6, +72 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) php54-php 5.4.40-3.el6, php55-php 5.5.21-4.el6, rh-php56-php 5.6.5-7.el6, php54-php-gd 5.4.40-3.el6, php55-php-gd 5.5.21-4.el6, php54-php-cli 5.4.40-3.el6, +72 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1) php54-php 5.4.40-3.el7, php55-php 5.5.21-4.el7, rh-php56-php 5.6.5-7.el7, php54-php-gd 5.4.40-3.el7, php55-php-gd 5.5.21-4.el7, php54-php-cli 5.4.40-3.el7, +66 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) php54-php 5.4.40-3.el6, php55-php 5.5.21-4.el6, rh-php56-php 5.6.5-7.el6, php54-php-gd 5.4.40-3.el6, php55-php-gd 5.5.21-4.el6, php54-php-cli 5.4.40-3.el6, +72 morefixed: vendor fix RHSA-2015:1219
+1 more productsfewer
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) php54-php 5.4.40-3.el7, php55-php 5.5.21-4.el7, rh-php56-php 5.6.5-7.el7, php54-php-gd 5.4.40-3.el7, php55-php-gd 5.5.21-4.el7, php54-php-cli 5.4.40-3.el7, +66 more -
Red Hat Enterprise Linux 5 phpnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
5.35% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Technology feeds
References
-
rhn.redhat.com
/errata/RHSA-2015-1187.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2015-1186.html
vendor-advisory
-
debian.org
/security/2015/dsa-3344
vendor-advisory
-
security.gentoo.org
/glsa/201606-10
vendor-advisory
-
securitytracker.com
/id/1032709
vdb-entry
-
securityfocus.com
/bid/75292
vdb-entry
- oracle.com /technetwork/topics/security/linuxbulletinjan2016-2867209.html
-
openwall.com
/lists/oss-security/2015/06/18/6
mailing-list
- php.net /ChangeLog-5.php
- bugs.php.net /bug.php?id=69667
- git.php.net /?p=php-src.git%3Ba=commit%3Bh=2cc4e69cc6d8dbc4b3568ad3dd583324a7c11d64
Sources
- CVE List CVE-2015-4644
- NVD CVE-2015-4644
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.