Skip to content
Fencer Vulns
high 7.5

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

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 more
    fixed: 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 more
    fixed: vendor fix RHSA-2005:138
  • Red Hat Enterprise Linux ES version 2.1
    fixed: 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 more
    fixed: 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 more
    fixed: vendor fix RHSA-2005:138
  • Red Hat Enterprise Linux WS version 2.1
    fixed: 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 more
    fixed: 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 more
    fixed: vendor fix RHSA-2005:138
show 1 more
  • Red Hat Linux Advanced Workstation 2.1
    fixed: 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

  1. First public exploit (EDB-25076)
  2. 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

Sources

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.