Live threats

All CVEs / Postgresql

CVE-2005-0245Postgresql

High 7.5 No auth neededHigh EPSS

Priority
61
CVSS 2.0
7.5
EPSS
14.5%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Feb 1, 2005
Updated
Jun 16, 2026
Category
Application · Cross-platform
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Postgresql.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
postgresqlpostgresql≥ 7.3 < 7.3.10
postgresqlpostgresql≥ 7.4 < 7.4.7
postgresqlpostgresql8.0

Official sources

References

Links published by the sources. Open them with care.