---
title: "CVE-2015-1352\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2015-1352?format=md
keywords: index, follow
---

# CVE-2015-1352

Publication date 26 January 2015

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| php5 | 14.10 utopic | Fixed 5.5.12+dfsg-2ubuntu4.2 |
| 14.04 LTS trusty | Fixed 5.5.9+dfsg-1ubuntu4.6 |
| 12.04 LTS precise | Not affected |
| 10.04 LTS lucid | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2015-1352?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| php5 | * Upstream:   <http://git.php.net/?p=php-src.git;a=commit;h=124fb22a13fafa3648e4e15b4f207c7096d8155e> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1352)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2015-1352)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2015-1352)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2015-1352)

### Related Ubuntu Security Notices (USN)

+ [USN-2501-1](https://usn.ubuntu.com/USN-2501-1)
+ PHP vulnerabilities
+ 17 February 2015

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2015-1352>
