What’s Vulnerable › Vulnerabilities
CVE-2005-0245
- Severity: high (CVSS 7.5 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 14.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2005-02-01 · updated 2026-06-16
Description
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.
Affected products
- PostgreSQL: from 7.3 before 7.3.10; from 7.4 before 7.4.7; 8.0 — fixed in 7.3.10, 7.4.7
How to fix
Upgrade to a fixed version: PostgreSQL 7.3.10, 7.4.7. Check the vendor advisory for mitigations.
References
- http://archives.postgresql.org/pgsql-committers/2005-01/msg00298.php
- http://archives.postgresql.org/pgsql-committers/2005-02/msg00049.php
- http://archives.postgresql.org/pgsql-patches/2005-01/msg00216.php
- http://marc.info/?l=bugtraq&m=110806034116082&w=2
- http://secunia.com/advisories/12948
- http://www.debian.org/security/2005/dsa-683
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:040
- http://www.novell.com/linux/security/advisories/2005_36_sudo.html
- http://www.redhat.com/support/errata/RHSA-2005-138.html
- http://www.redhat.com/support/errata/RHSA-2005-150.html
- http://www.securityfocus.com/bid/12417
- https://exchange.xforce.ibmcloud.com/vulnerabilities/19188
Get alerted when CVE-2005-0245 or the next vulnerability affects your stack