php: NULL pointer dereference in php_pgsql_meta_data()
Published May 16, 2016
7.5
HIGHCVSS 3.0
EPSS 6.15%
Description
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.
Affected products
No data.
Configuration 1
- 6.0
- 7.0
Configuration 2
- ≤ 5.4.41
- 5.5.0
- 5.5.1
- 5.5.2
- 5.5.3
- 5.5.4
- 5.5.5
- 5.5.6
- 5.5.7
- 5.5.8
- 5.5.9
- 5.5.10
- 5.5.11
- 5.5.12
- 5.5.13
- 5.5.14
- 5.5.15
- 5.5.16
- 5.5.17
- 5.5.18
- 5.5.19
- 5.5.20
- 5.5.21
- 5.5.22
- 5.5.23
- 5.5.24
- 5.5.25
- 5.6.0
- 5.6.1
- 5.6.2
- 5.6.3
- 5.6.4
- 5.6.5
- 5.6.6
- 5.6.7
- 5.6.8
- 5.6.9
No data.
Red Hat Software Collections for Red Hat Enterprise Linux 6
php54-php-0:5.4.40-3.el6
Fixed · RHSA-2015:1219
Red Hat Software Collections for Red Hat Enterprise Linux 6
php55-php-0:5.5.21-4.el6
Fixed · RHSA-2015:1186
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-php56-php-0:5.6.5-7.el6
Fixed · RHSA-2015:1187
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php54-php-0:5.4.40-3.el6
Fixed · RHSA-2015:1219
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php55-php-0:5.5.21-4.el6
Fixed · RHSA-2015:1186
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
rh-php56-php-0:5.6.5-7.el6
Fixed · RHSA-2015:1187
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php54-php-0:5.4.40-3.el6
Fixed · RHSA-2015:1219
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php55-php-0:5.5.21-4.el6
Fixed · RHSA-2015:1186
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
rh-php56-php-0:5.6.5-7.el6
Fixed · RHSA-2015:1187
Red Hat Software Collections for Red Hat Enterprise Linux 7
php54-php-0:5.4.40-3.el7
Fixed · RHSA-2015:1219
Red Hat Software Collections for Red Hat Enterprise Linux 7
php55-php-0:5.5.21-4.el7
Fixed · RHSA-2015:1186
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php56-php-0:5.6.5-7.el7
Fixed · RHSA-2015:1187
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS
php54-php-0:5.4.40-3.el7
Fixed · RHSA-2015:1219
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS
php55-php-0:5.5.21-4.el7
Fixed · RHSA-2015:1186
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS
rh-php56-php-0:5.6.5-7.el7
Fixed · RHSA-2015:1187
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 5
php53
Will not fix
Red Hat Enterprise Linux 6
php
Will not fix
Red Hat Enterprise Linux 7
php
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php54-php-0:5.4.40-3.el6 | Fixed | RHSA-2015:1219 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php55-php-0:5.5.21-4.el6 | Fixed | RHSA-2015:1186 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-php56-php-0:5.6.5-7.el6 | Fixed | RHSA-2015:1187 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php54-php-0:5.4.40-3.el6 | Fixed | RHSA-2015:1219 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php55-php-0:5.5.21-4.el6 | Fixed | RHSA-2015:1186 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | rh-php56-php-0:5.6.5-7.el6 | Fixed | RHSA-2015:1187 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php54-php-0:5.4.40-3.el6 | Fixed | RHSA-2015:1219 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php55-php-0:5.5.21-4.el6 | Fixed | RHSA-2015:1186 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | rh-php56-php-0:5.6.5-7.el6 | Fixed | RHSA-2015:1187 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php54-php-0:5.4.40-3.el7 | Fixed | RHSA-2015:1219 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php55-php-0:5.5.21-4.el7 | Fixed | RHSA-2015:1186 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php56-php-0:5.6.5-7.el7 | Fixed | RHSA-2015:1187 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS | php54-php-0:5.4.40-3.el7 | Fixed | RHSA-2015:1219 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS | php55-php-0:5.5.21-4.el7 | Fixed | RHSA-2015:1186 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS | rh-php56-php-0:5.6.5-7.el7 | Fixed | RHSA-2015:1187 |
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | php | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Product Security has rated this issue as having Low security impact. This issue is not planned to be corrected in future updates for php packages in Red Hat Enterprise Linux 6 and 7, and php53 packages in Red Hat Enterprise Linux 5. The php packages in Red Hat Enterprise Linux 5 were not affected by this issue.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (21 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 6.15% (0.06146) | 93.25th | v5 (v2026.06.15) |
| Jun 15, 2026 | 6.39% (0.06393) | 92.76th | v5 (v2026.06.15) |
| Dec 28, 2025 | 9.89% (0.09888) | 92.75th | v4 (v2025.03.14) |
| Dec 27, 2025 | 5.47% (0.05469) | 89.94th | v4 (v2025.03.14) |
| Nov 1, 2025 | 9.89% (0.09888) | 92.70th | v4 (v2025.03.14) |
| Oct 28, 2025 | 4.23% (0.04233) | 88.25th | v4 (v2025.03.14) |
| Oct 27, 2025 | 2.64% (0.02638) | 85.21th | v4 (v2025.03.14) |
| Oct 1, 2025 | 4.23% (0.04233) | 88.35th | v4 (v2025.03.14) |
| Aug 20, 2025 | 2.64% (0.02638) | 85.12th | v4 (v2025.03.14) |
| Jul 30, 2025 | 7.00% (0.06997) | 91.06th | v4 (v2025.03.14) |
| May 22, 2025 | 12.45% (0.12446) | 93.54th | v4 (v2025.03.14) |
| Mar 30, 2025 | 5.44% (0.05442) | 89.20th | v4 (v2025.03.14) |
| Mar 29, 2025 | 15.73% (0.15735) | 91.24th | v4 (v2025.03.14) |
| Mar 17, 2025 | 5.44% (0.05442) | 89.46th | v4 (v2025.03.14) |
| Dec 12, 2024 | 7.58% (0.07577) | 94.41th | v3 (v2023.03.01) |
| Aug 17, 2023 | 7.58% (0.07577) | 93.27th | v3 (v2023.03.01) |
| Apr 19, 2023 | 5.50% (0.05496) | 92.01th | v3 (v2023.03.01) |
| Mar 7, 2023 | 5.18% (0.05180) | 91.73th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.17% (0.02172) | 80.77th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.17% (0.02172) | 78.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.17% (0.02172) | 57.73th | v2 (v2022.01.01) |
References (15)
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=2cc4e69cc6d8dbc4b3568ad3dd583324a7c11d64 x_refsource_CONFIRM
- http://openwall.com/lists/oss-security/2015/06/18/6 mailing-listx_refsource_MLIST
- http://php.net/ChangeLog-5.php x_refsource_CONFIRM
- http://rhn.redhat.com/errata/RHSA-2015-1186.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2015-1187.html vendor-advisoryx_refsource_REDHAT
- http://www.debian.org/security/2015/dsa-3344 vendor-advisoryx_refsource_DEBIAN
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html x_refsource_CONFIRM
- http://www.securityfocus.com/bid/75292 vdb-entryx_refsource_BID
- http://www.securitytracker.com/id/1032709 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/security/cve/CVE-2015-4644 Vendor Advisory
- https://bugs.php.net/bug.php?id=69667 x_refsource_CONFIRM
- https://bugzilla.redhat.com/show_bug.cgi?id=1234940 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2015-4644
- https://security.gentoo.org/glsa/201606-10 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2015-4644
Change history (0)
No recorded changes yet.