Back
CVE-2005-0245
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…
High7.5EPSS 14.5%
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 14.5% · top 3.4% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
- n/a
Affected products
n/a
- affected n/a
References (13)
- postgresql-cursor-bo(19188) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- [pgsql-committers] 20050207 pgsql: Prevent 4 more buffer overruns in the PL/PgSQL parser. (opens in a new tab)mailing-listx_refsource_MLISTx_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
- oval:org.mitre.oval:def:10175 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- [pgsql-patches] 20050120 Re: WIP: pl/pgsql cleanup (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- RHSA-2005:138 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 12948 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- RHSA-2005:150 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [pgsql-committers] 20050121 pgsql: Prevent overrunning a heap-allocated buffer is more than 1024 (opens in a new tab)mailing-listx_refsource_MLISTx_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-0245)Record last updated .