Every CVE Search/ Get API key

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

6.6 Medium

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.

Exploit likelihood

3.11%Up 0.6 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 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 statement, which can be leveraged to read arbitrary memory from the server.

Record
CVE-2007-0556
CVSS 2.0
6.6 MediumAV:N/AC:H/Au:S/C:C/I:N/A:C
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2007-0556
Updated
2026-11-02
EUVDEUVD-2007-0554 No score

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.

Record
EUVD-2007-0554
Updated
2026-11-03
GitHub AdvisoriesGHSA-c63f-g8cg-38ww No score

The query planner in PostgreSQL before 8.0.11, 8.1 before 8.1.7, and 8.2 before 8.2.2 does not...

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.

Record
GHSA-c63f-g8cg-38ww
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
postgresql
Red Hat:rhel_application_stack:1
From an advisory covering 5 CVEs
before 0:8.1.7-3.el4s1.1
0:8.1.7-3.el4s1.1
postgresql-contrib
Red Hat:rhel_application_stack:1
From an advisory covering 5 CVEs
before 0:8.1.7-3.el4s1.1
0:8.1.7-3.el4s1.1
postgresql-debuginfo
Red Hat:rhel_application_stack:1
From an advisory covering 5 CVEs
before 0:8.1.7-3.el4s1.1
0:8.1.7-3.el4s1.1
postgresql-devel
Red Hat:rhel_application_stack:1
From an advisory covering 5 CVEs
before 0:8.1.7-3.el4s1.1
0:8.1.7-3.el4s1.1
postgresql-docs
Red Hat:rhel_application_stack:1
From an advisory covering 5 CVEs
before 0:8.1.7-3.el4s1.1
0:8.1.7-3.el4s1.1
postgresql-libs
Red Hat:rhel_application_stack:1
From an advisory covering 5 CVEs
before 0:8.1.7-3.el4s1.1
0:8.1.7-3.el4s1.1
postgresql-pl
Red Hat:rhel_application_stack:1
From an advisory covering 5 CVEs
before 0:8.1.7-3.el4s1.1
0:8.1.7-3.el4s1.1
postgresql-python
Red Hat:rhel_application_stack:1
From an advisory covering 5 CVEs
before 0:8.1.7-3.el4s1.1
0:8.1.7-3.el4s1.1
postgresql-server
Red Hat:rhel_application_stack:1
From an advisory covering 5 CVEs
before 0:8.1.7-3.el4s1.1
0:8.1.7-3.el4s1.1
postgresql-tcl
Red Hat:rhel_application_stack:1
From an advisory covering 5 CVEs
before 0:8.1.7-3.el4s1.1
0:8.1.7-3.el4s1.1
Show 25 moreShow less
Affected packages
PackageAffectedFixed
postgresql-test
Red Hat:rhel_application_stack:1
From an advisory covering 5 CVEs
before 0:8.1.7-3.el4s1.1
0:8.1.7-3.el4s1.1
postgresql
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-debuginfo
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-devel
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-pl
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-server
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-test
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql
Red Hat:enterprise_linux:5::client
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-contrib
Red Hat:enterprise_linux:5::client
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-debuginfo
Red Hat:enterprise_linux:5::client
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-docs
Red Hat:enterprise_linux:5::client
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-libs
Red Hat:enterprise_linux:5::client
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-python
Red Hat:enterprise_linux:5::client
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-tcl
Red Hat:enterprise_linux:5::client
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-contrib
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-debuginfo
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-devel
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-docs
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-libs
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-pl
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-python
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-server
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-tcl
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5
postgresql-test
Red Hat:enterprise_linux:5::server
From an advisory covering 5 CVEs
before 0:8.1.8-1.el5
0:8.1.8-1.el5

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2007-0556 is a medium vulnerability (CVSS 6.6) in Postgresql, published February 6, 2007. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.11%, the 87th percentile. No source names a fixed version.

References

Show 60 moreShow less
MoveEnter Open