CVE-2015-1352: 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…
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 6.5% (FIRST EPSS); higher than 93.9% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: php5 (Debian:7) 5.4.38-0+deb7u1; php55 (Red Hat:rhel_software_collections:2::el6) 0:2.0-1.el6; php55-php (Red Hat:rhel_software_collections:2::el6) 0:5.5.21-2.el6.
Low priority for now. Upgrade to php5 (Debian:7) 5.4.38-0+deb7u1; php55 (Red Hat:rhel_software_collections:2::el6) 0:2.0-1.el6; php55-php (Red Hat:rhel_software_collections:2::el6) 0:5.5.21-2.el6 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Mar 30, 2015
- Updated
- Jun 16, 2026
- EPSS
- 6.5% · 93th percentile
- CWE
- —
Report tools
Action score
22
Low priority for now.
- CVSS
- 20 / 40 · 5.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 6.5%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- php phpbefore 5.4.40
- php php5.5.0 and later · before 5.5.24
- php php5.6.0 and later · before 5.6.8
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:7 | php5 | before 5.4.38-0+deb7u1 | 5.4.38-0+deb7u1 |
| Red Hat:rhel_software_collections:2::el6 | php55 | before 0:2.0-1.el6 | 0:2.0-1.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-bcmath | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-cli | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-common | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-dba | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-debuginfo | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-devel | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-enchant | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-fpm | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-gd | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-gmp | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-imap | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-intl | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-ldap | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-mbstring | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-mysqlnd | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-odbc | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-opcache | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-pdo | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-pgsql | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-process | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
| Red Hat:rhel_software_collections:2::el6 | php55-php-pspell | before 0:5.5.21-2.el6 | 0:5.5.21-2.el6 |
+37
Same product
php: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-4577Argument Injection in PHP-CGIKEV99Now
- CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV99Now
- CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle…KEV99Now
Published before and after this one in the same product
- ← EarlierCVE-2015-0273Mar 30, 2015 · Multiple use-after-free vulnerabilities in ext/date/php_date.c in PHP before 5.4.38, 5.5.x before 5.5.22, and 5.6.x before 5.6.6 allow…43Plan
- ← EarlierCVE-2015-1351Mar 30, 2015 · Use-after-free vulnerability in the _zend_shared_memdup function in zend_shared_alloc.c in the OPcache extension in PHP through 5.6.7…32Monitor
- Later →CVE-2015-2301Mar 30, 2015 · Use-after-free vulnerability in the phar_rename_archive function in phar_object.c in PHP before 5.5.22 and 5.6.x before 5.6.6 allows remote…34Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:php5 | 5.4.38-0+deb7u1 · Debian:7 | Package registry (OSV) |
| red hat:php55 | 0:2.0-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php-bcmath | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php-cli | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php-common | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php-dba | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php-debuginfo | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php-devel | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php-enchant | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php-fpm | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php-gd | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php-gmp | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Not on record for this CVE: patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- P
Weakness class (CWE)
—
CVSS vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
- marc.info/?l=bugtraq&m=143403519711434&w=2
- openwall.com/lists/oss-security/2015/01/24/9
- rhn.redhat.com/errata/RHSA-2015-1053.html
- www.mandriva.com/security/advisories?name=MDVSA-2015:079
- www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html
- www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- www.securityfocus.com/bid/71932
- security.gentoo.org/glsa/201606-10
- support.apple.com/HT205267
Vendor advisories and official records. Exploit/PoC links are deliberately left out.