Read the docs
TI-2005-00211 Aliases CVE-2005-0245GHSA-8r34-wff9-3x69

Buffer overflow in gram.y for PostgreSQL 8.0.0 and earlier may allow attackers to execute…

Priority MEDIUM 48Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Partial · Partial · Partial
Fix status
Fixed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.

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.

Why it matters now

EPSS 0.14473 96th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Fixed Red Hat: 3 advisories

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*7.3 to before 7.3.10; 7.4 to before 7.4.7VulnerablePostgreSQL
cpe:2.3:a:postgresql:postgresql:8.0:*:*:*:*:*:*:*8.0VulnerablePostgreSQL
  • cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* Versions 7.3 to before 7.3.10; 7.4 to before 7.4.7 Vulnerable ·PostgreSQL
  • cpe:2.3:a:postgresql:postgresql:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·PostgreSQL

Remediation

Red Hat 3 advisories

  • RHSA-2005:150 Released 2005-02-16 · Red Hat rating Important
    postgresql security update
    • Red Hat Enterprise Linux AS (Advanced Server) version 2.1
    • Red Hat Enterprise Linux ES version 2.1
    • Red Hat Enterprise Linux WS version 2.1
    • Red Hat Linux Advanced Workstation 2.1
  • RHSA-2005:138 Released 2005-02-15 · Red Hat rating Important
    postgresql security update
    • Red Hat Enterprise Linux AS version 4 postgresql-7.4.7-2.RHEL4.1, postgresql-7.4.7-2.RHEL4.1.i386, postgresql-7.4.7-2.RHEL4.1.ia64 +41
    • Red Hat Enterprise Linux Desktop version 4 postgresql-7.4.7-2.RHEL4.1, postgresql-7.4.7-2.RHEL4.1.i386, postgresql-contrib-7.4.7-2.RHEL4.1 +19
    • Red Hat Enterprise Linux ES version 4 postgresql-7.4.7-2.RHEL4.1, postgresql-7.4.7-2.RHEL4.1.i386, postgresql-7.4.7-2.RHEL4.1.ia64 +30
    • Red Hat Enterprise Linux WS version 4 postgresql-7.4.7-2.RHEL4.1, postgresql-7.4.7-2.RHEL4.1.i386, postgresql-7.4.7-2.RHEL4.1.ia64 +30
  • RHSA-2005:141 Released 2005-02-14 · Red Hat rating Important
    rh-postgresql security update
    • Red Hat Desktop version 3 rh-postgresql-7.3.9-2, rh-postgresql-7.3.9-2.i386, rh-postgresql-contrib-7.3.9-2 +19
    • Red Hat Enterprise Linux AS version 3 rh-postgresql-7.3.9-2, rh-postgresql-7.3.9-2.i386, rh-postgresql-7.3.9-2.ia64 +41
    • Red Hat Enterprise Linux ES version 3 rh-postgresql-7.3.9-2, rh-postgresql-7.3.9-2.i386, rh-postgresql-7.3.9-2.ia64 +30
    • Red Hat Enterprise Linux WS version 3 rh-postgresql-7.3.9-2, rh-postgresql-7.3.9-2.i386, rh-postgresql-7.3.9-2.ia64 +30

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Desktop version 3Fixed RHSA-2005:141
Red Hat Enterprise Linux AS (Advanced Server) version 2.1 Fixed RHSA-2005:150
Red Hat Enterprise Linux AS version 3Fixed RHSA-2005:141
Red Hat Enterprise Linux AS version 4Fixed RHSA-2005:138
Red Hat Enterprise Linux Desktop version 4Fixed RHSA-2005:138
Red Hat Enterprise Linux ES version 2.1Fixed RHSA-2005:150
Red Hat Enterprise Linux ES version 3Fixed RHSA-2005:141
Red Hat Enterprise Linux ES version 4Fixed RHSA-2005:138
Red Hat Enterprise Linux WS version 2.1Fixed RHSA-2005:150
Red Hat Enterprise Linux WS version 3Fixed RHSA-2005:141
Red Hat Enterprise Linux WS version 4Fixed RHSA-2005:138
Red Hat Linux Advanced Workstation 2.1Fixed RHSA-2005:150

Timeline

  1. 2026-10-02 Threatist record created from CVE-2005-0245
  2. 2026-10-03 Alias added: GHSA-8r34-wff9-3x69

References

  • TI-2019-06651 In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and… CVSS 3.0HIGH 7.2
  • TI-2017-05187 Improper authentication in postgresql CVSS 3.0CRITICAL 9.8
  • TI-2020-15711 SQL injection in postgresql CVSS 3.1HIGH 8.8
  • TI-2013-01675 Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9… CVSS 2.0MEDIUM 6.5
  • TI-2007-03176 The Database Link library (dblink) in PostgreSQL 8.1 implements functions via CREATE… CVSS 2.0HIGH 9.0
  • TI-2022-01423 SQL injection in postgresql CVSS 3.1HIGH 8.8
See all 202 →

Sources