CVE-2005-0247
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…
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 3.5% · top 11% of all CVEs (4 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Weakness
Affected products
n/a
- affected n/a
References (15)
- [pgsql-committers] 20050207 pgsql: Prevent 4 more buffer overruns in the PL/PgSQL parser. (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- postgresql-makeselectstmt-arbitrary-bo(19377) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- GLSA-200502-19 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- MDKSA-2005:040 (opens in a new tab)vendor-advisoryx_refsource_MANDRAKEx_transferred
- 20050210 [USN-79-1] PostgreSQL vulnerabilities (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- SUSE-SA:2005:027 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- postgresql-readsqlconstruct-bo(19375) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- RHSA-2005:138 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- postgresql-makeselectstmt-input-bo(19376) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- RHSA-2005:150 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- postgresql-fetch-makefetchstmt-bo(19378) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- oval:org.mitre.oval:def:9345 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- 12417 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- DSA-683 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- SUSE-SA:2005:036 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2005-0247)Record last updated .