Back to CVE catalog
CVE-2007-0556

Improper query plan verification in PostgreSQL

Multiple products

At a glance

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 description · CVE List / CNA

System impact

Attack complexityHigh
ConfidentialityComplete
IntegrityNone
AvailabilityComplete

CVSS summary v2.0

6.6Medium
Published:
Updated:
EPSS:
3.11%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Related CWE

Not specified

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:postgresqlpostgresqlAffected versions:
1.0Show full version range for postgresql
1.011.021.096.06.16.1.16.26.2.16.36.3.16.3.26.46.4.16.4.26.56.5.16.5.26.5.37.07.0.17.0.27.0.37.17.1.17.1.27.1.37.27.2.17.2.27.2.37.2.47.2.57.2.67.2.77.2.87.37.3.17.3.107.3.117.3.127.3.137.3.147.3.157.3.167.3.177.3.187.3.27.3.37.3.47.3.57.3.67.3.77.3.87.3.97.47.4.17.4.107.4.117.4.127.4.137.4.147.4.157.4.167.4.27.4.37.4.47.4.57.4.67.4.77.4.87.4.98.08.0.18.0.108.0.28.0.38.0.48.0.58.0.68.0.78.0.88.0.98.18.1.18.1.28.1.38.1.48.1.58.1.68.28.2.1
Vendor:oraclelinuxpostgresql
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:8.1.9-1.el5
Vendor:oraclelinuxpostgresql-contrib
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:8.1.9-1.el5
Vendor:oraclelinuxpostgresql-devel
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:8.1.9-1.el5
Vendor:oraclelinuxpostgresql-docs
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:8.1.9-1.el5
Vendor:oraclelinuxpostgresql-libs
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:8.1.9-1.el5
Vendor:oraclelinuxpostgresql-pl
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:8.1.9-1.el5
Vendor:oraclelinuxpostgresql-python
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:8.1.9-1.el5
Vendor:oraclelinuxpostgresql-server
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:8.1.9-1.el5
Vendor:oraclelinuxpostgresql-tcl
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:8.1.9-1.el5

1–10 of 21 · Page 1 of 3

CVSS scores and metrics3
[email protected] · NVD (Primary)Primary6.6 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Complete
Integrity
None
Availability
Complete
Attack vector
Network
Authentication
Single

Source vector

AV:N/AC:H/Au:S/C:C/I:N/A:C
nvd · Wazuh CTI (cna)6.6 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Complete
Integrity
None
Availability
Complete
Attack vector
Network
Authentication
Single

Source vector

AV:N/AC:H/Au:S/C:C/I:N/A:C
oraclelinux · Wazuh CTI (adp)6.6 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Complete
Integrity
None
Availability
Complete
Attack vector
Network
Authentication
Single

Source vector

AV:N/AC:H/Au:S/C:C/I:N/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories41

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences