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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Freebsd | — | Upgrade postgresqlUpgrade postgresql-serverUpgrade ja-postgresql | Dec 10, 2025 | Feb 17, 2005 |
| Gentoo Linux | — | Upgrade dev-db/postgresql. | Oct 30, 2017 | May 2, 2005 |
| Suse | — | Upgrade postgresql-docsUpgrade postgresql-libs-32bitUpgrade postgresql-plUpgrade postgresql-libs-64bitUpgrade postgresql-contribUpgrade postgresql-develUpgrade postgresql-libs-x86Upgrade postgresql-serverUpgrade postgresqlUpgrade postgresql-libs | Feb 17, 2015 | May 2, 2005 |
| Ubuntu | — | Upgrade postgresql | Nov 8, 2024 | May 2, 2005 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub