BreachSpiderVerified, not vibes

CVE-2007-0556 in Postgresql

Medium 6.6

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 2.06.6
EPSS3.1%
EPSS percentile89th
FixUnknown

Remotely exploitable over the network, high complexity, no integrity impact.

Affected products and versions

VendorProductAffected versions
Postgresql Postgresql 1.0 1.01 1.02 1.09 6.0 6.1
+86 more6.1.1 6.2 6.2.1 6.3 6.3.1 6.3.2 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 7.0 7.0.1 7.0.2 7.0.3 7.1 7.1.1 7.1.2 7.1.3 7.2 7.2.1 7.2.2 7.2.3 7.2.4 7.2.5 7.2.6 7.2.7 7.2.8 7.3 7.3.1 7.3.2 7.3.3 7.3.4 7.3.5 7.3.6 7.3.7 7.3.8 7.3.9 7.3.10 7.3.11 7.3.12 7.3.13 7.3.14 7.3.15 7.3.16 7.3.17 7.3.18 7.4 7.4.1 7.4.2 7.4.3 7.4.4 7.4.5 7.4.6 7.4.7 7.4.8 7.4.9 7.4.10 7.4.11 7.4.12 7.4.13 7.4.14 7.4.15 7.4.16 8.0 8.0.1 8.0.2 8.0.3 8.0.4 8.0.5 8.0.6 8.0.7 8.0.8 8.0.9 8.0.10 8.1 8.1.1 8.1.2 8.1.3 8.1.4 8.1.5 8.1.6 8.2 8.2.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2007-0556
BreachSpider IDBS-2007-GLOBAL-337383-M
CVSS vectorAV:N/AC:H/Au:S/C:C/I:N/A:C
Published2007-02-06
Last modified2026-06-16
SourceNVD

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2007. A medium severity vulnerability affects Postgresql systems (CVE-2007-0556). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: 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. CVSS vector: AV:N/AC:H/Au:S/C:C/I:N/A:C.

Questions

What is CVE-2007-0556?

This vulnerability was disclosed in 2007. A medium severity vulnerability affects Postgresql systems (CVE-2007-0556). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2007-0556?

CVE-2007-0556 has CVSS 6.6 (Medium). Vector: AV:N/AC:H/Au:S/C:C/I:N/A:C. EPSS: 3.1%.

Is CVE-2007-0556 actively exploited?

No confirmed active exploitation of CVE-2007-0556 as of 2026-09-25.

How do I remediate CVE-2007-0556?

Priority: MONITOR.

What systems are affected by CVE-2007-0556?

CVE-2007-0556 affects Postgresql Postgresql.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Postgresql","product":"Postgresql","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.