CVE-2005-0245Postgresql
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Postgresql · Postgresql We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 2.0
- 7.5
- EPSS
- 14.5% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Feb 1, 2005
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
What happens
Buffer overflow in gram.y for PostgreSQL 8.0.0 and earlier may allow attackers to execute arbitrary code via a large number of arguments to a refcursor function (gram.y), which leads to a heap-based buffer overflow, a different vulnerability than CVE-2005-0247.
What to do
- Apply the vendor's security update for Postgresql.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| postgresql | postgresql | ≥ 7.3 < 7.3.10 |
| postgresql | postgresql | ≥ 7.4 < 7.4.7 |
| postgresql | postgresql | 8.0 |
Official sources
References
Links published by the sources. Open them with care.
- archives.postgresql.org Vendor Advisory
- archives.postgresql.org Vendor Advisory
- archives.postgresql.org Exploit Vendor Advisory
- marc.info Issue Tracking Third Party Advisory
- secunia.com Exploit Patch Vendor Advisory
- www.debian.org Exploit Vendor Advisory
- www.mandriva.com Broken Link
- www.novell.com Broken Link
- www.redhat.com Patch Vendor Advisory
- www.redhat.com Patch Vendor Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- exchange.xforce.ibmcloud.com Third Party Advisory VDB Entry
- oval.cisecurity.org Third Party Advisory