CVE-2005-0245

Exp

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.

Published: 2005-02-01 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2005-0245 is rated High Exploit Risk (73.7/100): CVSS High severity, with high exploitation likelihood (EPSS 14.47%, 96th percentile). Core evidence: 4 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2005-0245

EDB-ID Source Kind Published Link
25076 exploit_db edb 2005-02-01 Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2005-0245

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 23.11% 14.47% -8.64%
2 2026-01-31 26.83% 23.11% -3.72%
3 2026-01-20 26.83%

Full EPSS history (12 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2005-0245

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 6.4 [email protected]

Weakness enumeration for CVE-2005-0245

OS Trackers for CVE-2005-0245

vendor priority summary link
redhat medium https://access.redhat.com/security/cve/CVE-2005-0245
ubuntu medium CVE-2005-0245 medium priority: Ubuntu including 1 source packages (postgresql), 4 status rows across 4 suites (dapper, edgy, feisty, upstream): not-affected 2, DNE 1, needs-triage 1. https://ubuntu.com/security/CVE-2005-0245

Affected software / configurations for CVE-2005-0245

Vendor Product Version Raw CPE
postgresql postgresql >= 7.3, < 7.3.10 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 7.4, < 7.4.7 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql 8.0 cpe:2.3:a:postgresql:postgresql:8.0:*:*:*:*:*:*:*

References for CVE-2005-0245

URL Tags
http://archives.postgresql.org/pgsql-committers/2005-01/msg00298.php Vendor Advisory
http://archives.postgresql.org/pgsql-committers/2005-02/msg00049.php Vendor Advisory
http://archives.postgresql.org/pgsql-patches/2005-01/msg00216.php Exploit Vendor Advisory
http://marc.info/?l=bugtraq&m=110806034116082&w=2 Issue Tracking Third Party Advisory
http://secunia.com/advisories/12948 Exploit Patch Vendor Advisory
http://www.debian.org/security/2005/dsa-683 Exploit Vendor Advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2005:040 Broken Link
http://www.novell.com/linux/security/advisories/2005_36_sudo.html Broken Link
http://www.redhat.com/support/errata/RHSA-2005-138.html Patch Vendor Advisory
http://www.redhat.com/support/errata/RHSA-2005-150.html Patch Vendor Advisory
http://www.securityfocus.com/bid/12417 Third Party Advisory VDB Entry
https://exchange.xforce.ibmcloud.com/vulnerabilities/19188 Third Party Advisory VDB Entry
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10175 Third Party Advisory
cvelogic Threat Intelligence