CVE-2005-0247Postgresql
Medium 6.5
Follow: this CVE · Postgresql · Postgresql We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 2.0
- 6.5
- EPSS
- 3.5% probability of exploitation in 30 days · percentile 90
- Auth required
- Yes
- Published
- May 2, 2005
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- Vector
AV:N/AC:L/Au:S/C:P/I:P/A:P
What happens
Multiple buffer overflows in gram.y for PostgreSQL 8.0.1 and earlier may allow attackers to execute arbitrary code via (1) a large number of variables in a SQL statement being handled by the read_sql_construct function, (2) a large number of INTO variables in a SELECT statement being handled by the make_select_stmt function, (3) a large number of arbitrary variables in a SELECT statement being handled by the make_select_stmt function, and (4) a large number of INTO variables in a FETCH statement being handled by the make_fetch_stmt function, a different set of vulnerabilities than CVE-2005-0245.
What to do
- Apply the vendor's security update for Postgresql.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| postgresql | postgresql | 7.2 |
| postgresql | postgresql | 7.2.1 |
| postgresql | postgresql | 7.2.2 |
| postgresql | postgresql | 7.2.3 |
| postgresql | postgresql | 7.2.4 |
| postgresql | postgresql | 7.2.5 |
| postgresql | postgresql | 7.2.6 |
| postgresql | postgresql | 7.2.7 |
| postgresql | postgresql | 7.3 |
| postgresql | postgresql | 7.3.1 |
| postgresql | postgresql | 7.3.2 |
| postgresql | postgresql | 7.3.3 |
| postgresql | postgresql | 7.3.4 |
| postgresql | postgresql | 7.3.5 |
| postgresql | postgresql | 7.3.6 |
| postgresql | postgresql | 7.3.7 |
| postgresql | postgresql | 7.3.8 |
| postgresql | postgresql | 7.3.9 |
| postgresql | postgresql | 7.4 |
| postgresql | postgresql | 7.4.1 |
| postgresql | postgresql | 7.4.2 |
| postgresql | postgresql | 7.4.3 |
| postgresql | postgresql | 7.4.4 |
| postgresql | postgresql | 7.4.5 |
| postgresql | postgresql | 7.4.6 |
| postgresql | postgresql | 7.4.7 |
| postgresql | postgresql | 8.0.0 |
| postgresql | postgresql | 8.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- archives.postgresql.org Patch
- marc.info
- www.debian.org
- www.gentoo.org Patch Vendor Advisory
- www.mandriva.com
- www.novell.com Patch Vendor Advisory
- www.novell.com
- www.redhat.com Patch Vendor Advisory
- www.redhat.com Patch Vendor Advisory
- www.securityfocus.com
- exchange.xforce.ibmcloud.com
- exchange.xforce.ibmcloud.com
- exchange.xforce.ibmcloud.com
- exchange.xforce.ibmcloud.com
- oval.cisecurity.org