CVE-2005-0245 in the critical feed json
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…
published 2005-02-01 21 y ago modified 2026-06-16 4 mo ago also EUVD-2005-0246
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 14.5%
- EPSS 14.5% chance of exploitation in 30 days, percentile 96%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- postgresql postgresql 7.3.10, 7.4.7
- postgresql RHEL 4 7.4.7-2.RHEL4.1
- postgresql-pl RHEL 4 7.4.7-2.RHEL4.1
- postgresql-tcl RHEL 4 7.4.7-2.RHEL4.1
- postgresql-jdbc RHEL 4 7.4.7-2.RHEL4.1
- postgresql-libs RHEL 4 7.4.7-2.RHEL4.1
- postgresql-test RHEL 4 7.4.7-2.RHEL4.1
- postgresql-python RHEL 4 7.4.7-2.RHEL4.1
- postgresql-server RHEL 4 7.4.7-2.RHEL4.1
red hat advisories RHSA-2005:138RHSA-2005:141
- redhat.com/support/errata/RHSA-2005-138.html advisory
- redhat.com/support/errata/RHSA-2005-150.html advisory
- secunia.com/advisories/12948 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2005-0245 updated
security flaw
-
Red Hat Desktop version 3 rh-postgresql 7.3.9-2, rh-postgresql-pl 7.3.9-2, rh-postgresql-tcl 7.3.9-2, rh-postgresql-jdbc 7.3.9-2, rh-postgresql-libs 7.3.9-2, rh-postgresql-test 7.3.9-2, +3 more Red Hat Enterprise Linux AS version 3 rh-postgresql 7.3.9-2, rh-postgresql-pl 7.3.9-2, rh-postgresql-tcl 7.3.9-2, rh-postgresql-jdbc 7.3.9-2, rh-postgresql-libs 7.3.9-2, rh-postgresql-test 7.3.9-2, +3 morefixed: vendor fix RHSA-2005:141
-
Red Hat Enterprise Linux AS version 4 postgresql 7.4.7-2.RHEL4.1, postgresql-pl 7.4.7-2.RHEL4.1, postgresql-tcl 7.4.7-2.RHEL4.1, postgresql-jdbc 7.4.7-2.RHEL4.1, postgresql-libs 7.4.7-2.RHEL4.1, postgresql-test 7.4.7-2.RHEL4.1, +3 more Red Hat Enterprise Linux Desktop version 4 postgresql 7.4.7-2.RHEL4.1, postgresql-pl 7.4.7-2.RHEL4.1, postgresql-tcl 7.4.7-2.RHEL4.1, postgresql-jdbc 7.4.7-2.RHEL4.1, postgresql-libs 7.4.7-2.RHEL4.1, postgresql-test 7.4.7-2.RHEL4.1, +3 morefixed: vendor fix RHSA-2005:138
-
Red Hat Enterprise Linux ES version 2.1fixed: vendor fix RHSA-2005:150
-
Red Hat Enterprise Linux ES version 3 rh-postgresql 7.3.9-2, rh-postgresql-pl 7.3.9-2, rh-postgresql-tcl 7.3.9-2, rh-postgresql-jdbc 7.3.9-2, rh-postgresql-libs 7.3.9-2, rh-postgresql-test 7.3.9-2, +3 morefixed: vendor fix RHSA-2005:141
-
Red Hat Enterprise Linux ES version 4 postgresql 7.4.7-2.RHEL4.1, postgresql-pl 7.4.7-2.RHEL4.1, postgresql-tcl 7.4.7-2.RHEL4.1, postgresql-jdbc 7.4.7-2.RHEL4.1, postgresql-libs 7.4.7-2.RHEL4.1, postgresql-test 7.4.7-2.RHEL4.1, +3 morefixed: vendor fix RHSA-2005:138
-
Red Hat Enterprise Linux WS version 2.1fixed: vendor fix RHSA-2005:150
-
Red Hat Enterprise Linux WS version 3 rh-postgresql 7.3.9-2, rh-postgresql-pl 7.3.9-2, rh-postgresql-tcl 7.3.9-2, rh-postgresql-jdbc 7.3.9-2, rh-postgresql-libs 7.3.9-2, rh-postgresql-test 7.3.9-2, +3 morefixed: vendor fix RHSA-2005:141
-
Red Hat Enterprise Linux WS version 4 postgresql 7.4.7-2.RHEL4.1, postgresql-pl 7.4.7-2.RHEL4.1, postgresql-tcl 7.4.7-2.RHEL4.1, postgresql-jdbc 7.4.7-2.RHEL4.1, postgresql-libs 7.4.7-2.RHEL4.1, postgresql-test 7.4.7-2.RHEL4.1, +3 morefixed: vendor fix RHSA-2005:138
show 1 moreshow fewer
-
Red Hat Linux Advanced Workstation 2.1fixed: vendor fix RHSA-2005:150
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-25076)
- Published
Exploit prediction
14.47% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-25076 PostgreSQL 7.x - Multiple Vulnerabilities dos, 2005-02-01
- secunia.com http://secunia.com/advisories/12948 referenced PoC, tagged "exploit" by a source, unverified
- debian.org http://www.debian.org/security/2005/dsa-683 referenced PoC, tagged "exploit" by a source, unverified
- archives.postgresql.org http://archives.postgresql.org/pgsql-patches/2005-01/msg00216.php referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Technology feeds
References
-
redhat.com
/support/errata/RHSA-2005-138.html
vendor-advisory, patch
-
redhat.com
/support/errata/RHSA-2005-150.html
vendor-advisory, patch
-
secunia.com
/advisories/12948
third-party-advisory, exploit, patch, vendor-advisory
-
debian.org
/security/2005/dsa-683
vendor-advisory, exploit
-
archives.postgresql.org
/pgsql-patches/2005-01/msg00216.php
mailing-list, exploit, vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2005:040
vendor-advisory, broken-link
-
novell.com
/linux/security/advisories/2005_36_sudo.html
vendor-advisory, broken-link
-
archives.postgresql.org
/pgsql-committers/2005-02/msg00049.php
mailing-list, vendor-advisory
-
archives.postgresql.org
/pgsql-committers/2005-01/msg00298.php
mailing-list, vendor-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/19188
vdb-entry, third-party-advisory
-
marc.info
/?l=bugtraq&m=110806034116082&w=2
mailing-list, issue-tracking, third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10175
vdb-entry, signature, third-party-advisory
-
securityfocus.com
/bid/12417
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2005-0245
- NVD CVE-2005-0245
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.