Skip to content
Fencer Vulns
medium 4.0

CVE-2006-5540 json

backend/parser/analyze.c in PostgreSQL 8.1.x before 8.1.5 allows remote authenticated users to cause a denial of service (daemon crash) via…

published 2006-10-26 20 y ago modified 2026-06-16 4 mo ago also EUVD-2006-5525

cvss
4.0
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.0%
EPSS 2.0% chance of exploitation in 30 days, percentile 81%
public exploits
0
none known

Summary

backend/parser/analyze.c in PostgreSQL 8.1.x before 8.1.5 allows remote authenticated users to cause a denial of service (daemon crash) via certain aggregate functions in an UPDATE statement, which are not properly handled during a "MIN/MAX index optimization."

Patch / fix

  • postgresql RHEL 5 8.1.8-1.el5
  • postgresql-pl RHEL 5 8.1.8-1.el5
  • postgresql-tcl RHEL 5 8.1.8-1.el5
  • postgresql-libs RHEL 5 8.1.8-1.el5
  • postgresql-test RHEL 5 8.1.8-1.el5
  • postgresql-python RHEL 5 8.1.8-1.el5
  • postgresql-server RHEL 5 8.1.8-1.el5
  • postgresql-contrib RHEL 5 8.1.8-1.el5

red hat advisories RHSA-2007:0068RHSA-2007:0067RHSA-2007:0064

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2006-5540 updated

security flaw

  • Red Hat Application Stack v1 for Enterprise Linux AS (v.4) postgresql 8.1.7-3.el4s1.1, postgresql-pl 8.1.7-3.el4s1.1, postgresql-tcl 8.1.7-3.el4s1.1, postgresql-libs 8.1.7-3.el4s1.1, postgresql-test 8.1.7-3.el4s1.1, postgresql-python 8.1.7-3.el4s1.1, +2 more Red Hat Application Stack v1 for Enterprise Linux ES (v.4) postgresql 8.1.7-3.el4s1.1, postgresql-pl 8.1.7-3.el4s1.1, postgresql-tcl 8.1.7-3.el4s1.1, postgresql-libs 8.1.7-3.el4s1.1, postgresql-test 8.1.7-3.el4s1.1, postgresql-python 8.1.7-3.el4s1.1, +2 more
    fixed: vendor fix RHSA-2007:0067
  • Red Hat Desktop version 3 rh-postgresql 7.3.18-1, rh-postgresql-pl 7.3.18-1, rh-postgresql-tcl 7.3.18-1, rh-postgresql-jdbc 7.3.18-1, rh-postgresql-libs 7.3.18-1, rh-postgresql-test 7.3.18-1, +3 more
    fixed: vendor fix RHSA-2007:0064
  • Red Hat Enterprise Linux (v. 5 server) postgresql 8.1.8-1.el5, postgresql-pl 8.1.8-1.el5, postgresql-tcl 8.1.8-1.el5, postgresql-libs 8.1.8-1.el5, postgresql-test 8.1.8-1.el5, postgresql-python 8.1.8-1.el5, +2 more
    fixed: vendor fix RHSA-2007:0068
  • Red Hat Enterprise Linux AS version 3 rh-postgresql 7.3.18-1, rh-postgresql-pl 7.3.18-1, rh-postgresql-tcl 7.3.18-1, rh-postgresql-jdbc 7.3.18-1, rh-postgresql-libs 7.3.18-1, rh-postgresql-test 7.3.18-1, +3 more Red Hat Enterprise Linux AS version 4 postgresql 7.4.16-1.RHEL4.1, postgresql-pl 7.4.16-1.RHEL4.1, postgresql-tcl 7.4.16-1.RHEL4.1, postgresql-jdbc 7.4.16-1.RHEL4.1, postgresql-libs 7.4.16-1.RHEL4.1, postgresql-test 7.4.16-1.RHEL4.1, +3 more
    fixed: vendor fix RHSA-2007:0064
  • Red Hat Enterprise Linux Desktop (v. 5 client) postgresql 8.1.8-1.el5, postgresql-pl 8.1.8-1.el5, postgresql-tcl 8.1.8-1.el5, postgresql-libs 8.1.8-1.el5, postgresql-test 8.1.8-1.el5, postgresql-python 8.1.8-1.el5, +2 more
    fixed: vendor fix RHSA-2007:0068
  • Red Hat Enterprise Linux Desktop version 4 postgresql 7.4.16-1.RHEL4.1, postgresql-pl 7.4.16-1.RHEL4.1, postgresql-tcl 7.4.16-1.RHEL4.1, postgresql-jdbc 7.4.16-1.RHEL4.1, postgresql-libs 7.4.16-1.RHEL4.1, postgresql-test 7.4.16-1.RHEL4.1, +3 more
    fixed: vendor fix RHSA-2007:0064
  • Red Hat Enterprise Linux Desktop Workstation (v. 5 client) postgresql 8.1.8-1.el5, postgresql-pl 8.1.8-1.el5, postgresql-tcl 8.1.8-1.el5, postgresql-libs 8.1.8-1.el5, postgresql-test 8.1.8-1.el5, postgresql-python 8.1.8-1.el5, +2 more
    fixed: vendor fix RHSA-2007:0068
  • Red Hat Enterprise Linux ES version 3 rh-postgresql 7.3.18-1, rh-postgresql-pl 7.3.18-1, rh-postgresql-tcl 7.3.18-1, rh-postgresql-jdbc 7.3.18-1, rh-postgresql-libs 7.3.18-1, rh-postgresql-test 7.3.18-1, +3 more Red Hat Enterprise Linux ES version 4 postgresql 7.4.16-1.RHEL4.1, postgresql-pl 7.4.16-1.RHEL4.1, postgresql-tcl 7.4.16-1.RHEL4.1, postgresql-jdbc 7.4.16-1.RHEL4.1, postgresql-libs 7.4.16-1.RHEL4.1, postgresql-test 7.4.16-1.RHEL4.1, +3 more Red Hat Enterprise Linux WS version 3 rh-postgresql 7.3.18-1, rh-postgresql-pl 7.3.18-1, rh-postgresql-tcl 7.3.18-1, rh-postgresql-jdbc 7.3.18-1, rh-postgresql-libs 7.3.18-1, rh-postgresql-test 7.3.18-1, +3 more Red Hat Enterprise Linux WS version 4 postgresql 7.4.16-1.RHEL4.1, postgresql-pl 7.4.16-1.RHEL4.1, postgresql-tcl 7.4.16-1.RHEL4.1, postgresql-jdbc 7.4.16-1.RHEL4.1, postgresql-libs 7.4.16-1.RHEL4.1, postgresql-test 7.4.16-1.RHEL4.1, +3 more
    fixed: vendor fix RHSA-2007:0064

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.03% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 2.0 4.0 AV:N/AC:L/Au:S/C:N/I:N/A:P

Classification

Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.