All vulnerabilities

Servers and applications

CVE-2005-0245

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.

Severity
High 7.5
Published
1 Feb 2005
Last changed
16 Jun 2026
Added to UpHeron
16 Oct 2026
Fixed in
7.3.10, 7.4.7
Exploit chance
14% in the next 30 daysHigher than 96% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Over the network · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Sources
NVD

Affected software

SoftwareAffected versions
PostgreSQLServers and applications · cpe:a:postgresql:postgresql
  • From 7.3 before 7.3.10
  • From 7.4 before 7.4.7
  • Version 8.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2005-0245
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2005-0245