{"schemaVersion":3,"id":"CVE-2006-5540","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"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.\"","dates":{"published":"2006-10-26T17:00:00.000Z","modified":"2024-08-07T19:55:53.447Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0203,"percentile":0.80763,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.10399999999999993,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01926},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01926,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01926,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01926,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01926,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01926,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01926,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01926,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0191,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0191,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0203,"percentile":0.80763}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01926,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0191,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0191,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0203,"percentile":0.80763}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"postgresql","product":"postgresql","name":"postgresql","label":"postgresql","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"6.3.2","noFixRecorded":false,"fixedIn":null},{"text":"6.5.3","noFixRecorded":false,"fixedIn":null},{"text":"7.0.2","noFixRecorded":false,"fixedIn":null},{"text":"7.0.3","noFixRecorded":false,"fixedIn":null},{"text":"7.1","noFixRecorded":false,"fixedIn":null},{"text":"7.1.1","noFixRecorded":false,"fixedIn":null},{"text":"7.1.2","noFixRecorded":false,"fixedIn":null},{"text":"7.1.3","noFixRecorded":false,"fixedIn":null},{"text":"7.2","noFixRecorded":false,"fixedIn":null},{"text":"7.2.1","noFixRecorded":false,"fixedIn":null},{"text":"7.2.2","noFixRecorded":false,"fixedIn":null},{"text":"7.2.3","noFixRecorded":false,"fixedIn":null},{"text":"7.2.4","noFixRecorded":false,"fixedIn":null},{"text":"7.2.7","noFixRecorded":false,"fixedIn":null},{"text":"7.3","noFixRecorded":false,"fixedIn":null},{"text":"7.3.1","noFixRecorded":false,"fixedIn":null},{"text":"7.3.2","noFixRecorded":false,"fixedIn":null},{"text":"7.3.3","noFixRecorded":false,"fixedIn":null},{"text":"7.3.4","noFixRecorded":false,"fixedIn":null},{"text":"7.3.6","noFixRecorded":false,"fixedIn":null},{"text":"7.3.8","noFixRecorded":false,"fixedIn":null},{"text":"7.3.9","noFixRecorded":false,"fixedIn":null},{"text":"7.3.10","noFixRecorded":false,"fixedIn":null},{"text":"7.3.11","noFixRecorded":false,"fixedIn":null},{"text":"7.3.12","noFixRecorded":false,"fixedIn":null},{"text":"7.3.13","noFixRecorded":false,"fixedIn":null},{"text":"7.3.14","noFixRecorded":false,"fixedIn":null},{"text":"7.3.15","noFixRecorded":false,"fixedIn":null},{"text":"7.4","noFixRecorded":false,"fixedIn":null},{"text":"7.4.1","noFixRecorded":false,"fixedIn":null},{"text":"7.4.2","noFixRecorded":false,"fixedIn":null},{"text":"7.4.3","noFixRecorded":false,"fixedIn":null},{"text":"7.4.4","noFixRecorded":false,"fixedIn":null},{"text":"7.4.5","noFixRecorded":false,"fixedIn":null},{"text":"7.4.6","noFixRecorded":false,"fixedIn":null},{"text":"7.4.7","noFixRecorded":false,"fixedIn":null},{"text":"7.4.8","noFixRecorded":false,"fixedIn":null},{"text":"7.4.9","noFixRecorded":false,"fixedIn":null},{"text":"7.4.10","noFixRecorded":false,"fixedIn":null},{"text":"7.4.11","noFixRecorded":false,"fixedIn":null},{"text":"7.4.12","noFixRecorded":false,"fixedIn":null},{"text":"7.4.13","noFixRecorded":false,"fixedIn":null},{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"8.0.1","noFixRecorded":false,"fixedIn":null},{"text":"8.0.2","noFixRecorded":false,"fixedIn":null},{"text":"8.0.3","noFixRecorded":false,"fixedIn":null},{"text":"8.0.4","noFixRecorded":false,"fixedIn":null},{"text":"8.0.5","noFixRecorded":false,"fixedIn":null},{"text":"8.0.6","noFixRecorded":false,"fixedIn":null},{"text":"8.0.7","noFixRecorded":false,"fixedIn":null},{"text":"8.0.8","noFixRecorded":false,"fixedIn":null},{"text":"8.1","noFixRecorded":false,"fixedIn":null},{"text":"8.1.1","noFixRecorded":false,"fixedIn":null},{"text":"8.1.2","noFixRecorded":false,"fixedIn":null},{"text":"8.1.3","noFixRecorded":false,"fixedIn":null},{"text":"8.1.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.3.2 | 6.5.3 | 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.7 | 7.3 | 7.3.1 | 7.3.2 | 7.3.3 | 7.3.4 | 7.3.6 | 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.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 | 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.1 | 8.1.1 | 8.1.2 | 8.1.3 | 8.1.4","eol":{"isEol":true,"eolDate":"2003-03-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"6.3","label":"6.3","eolFrom":"2003-03-01T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"6.3.2"},"product":{"name":"postgresql","label":"PostgreSQL","category":"database"}},"hubHref":"/vendor/postgresql/postgresql"}],"affectedCount":1,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:194","label":"www.mandriva.com/security/advisories?name=MDKSA-2006:194","hostname":"www.mandriva.com","tags":["Vendor Advisory","X Refsource MANDRIVA"]},{"url":"http://www.ubuntu.com/usn/usn-369-2","label":"www.ubuntu.com/usn/usn-369-2","hostname":"www.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU"]},{"url":"http://securitytracker.com/id?1017115","label":"securitytracker.com/id?1017115","hostname":"securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK"]},{"url":"http://projects.commandprompt.com/public/pgsql/changeset/25504","label":"projects.commandprompt.com/public/pgsql/changeset/25504","hostname":"projects.commandprompt.com","tags":["X Refsource CONFIRM"]},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0068.html","label":"www.redhat.com/support/errata/RHSA-2007-0068.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.vupen.com/english/advisories/2006/4182","label":"www.vupen.com/english/advisories/2006/4182","hostname":"www.vupen.com","tags":["VDB Entry","X Refsource VUPEN"]},{"url":"http://secunia.com/advisories/22606","label":"secunia.com/advisories/22606","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://support.novell.com/techcenter/psdb/59650c03a8bc5ae310cd7898bd106ad2.html","label":"support.novell.com/techcenter/psdb/59650c03a8bc5ae310cd7898bd106ad2.html","hostname":"support.novell.com","tags":["X Refsource CONFIRM"]},{"url":"http://www.postgresql.org/about/news.664","label":"www.postgresql.org/about/news.664","hostname":"www.postgresql.org","tags":["X Refsource CONFIRM"]},{"url":"http://secunia.com/advisories/24284","label":"secunia.com/advisories/24284","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://secunia.com/advisories/23048","label":"secunia.com/advisories/23048","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://secunia.com/advisories/24577","label":"secunia.com/advisories/24577","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://www.novell.com/linux/security/advisories/2006_27_sr.html","label":"www.novell.com/linux/security/advisories/2006_27_sr.html","hostname":"www.novell.com","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11425","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11425","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2007-117.htm","label":"support.avaya.com/elmodocs2/security/ASA-2007-117.htm","hostname":"support.avaya.com","tags":["X Refsource CONFIRM"]},{"url":"http://secunia.com/advisories/23132","label":"secunia.com/advisories/23132","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://www.ubuntu.com/usn/usn-369-1","label":"www.ubuntu.com/usn/usn-369-1","hostname":"www.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU"]},{"url":"http://secunia.com/advisories/22636","label":"secunia.com/advisories/22636","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0064.html","label":"www.redhat.com/support/errata/RHSA-2007-0064.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0067.html","label":"www.redhat.com/support/errata/RHSA-2007-0067.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.trustix.org/errata/2006/0059/","label":"www.trustix.org/errata/2006/0059/","hostname":"www.trustix.org","tags":["Vendor Advisory","X Refsource TRUSTIX"]},{"url":"http://secunia.com/advisories/22562","label":"secunia.com/advisories/22562","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Patch","Vendor Advisory"]},{"url":"http://secunia.com/advisories/22584","label":"secunia.com/advisories/22584","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/20717","label":"www.securityfocus.com/bid/20717","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Patch"]},{"url":"http://secunia.com/advisories/24094","label":"secunia.com/advisories/24094","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]}],"lineage":{"upstream":[],"downstream":["RHSA-2007:0064","RHSA-2007:0067","RHSA-2007:0068"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2006-10-26T17:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-07T19:55:53.447Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":16,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T04:19:22.626Z","stale":false,"partial":false}}