Vulnerabilities · 2005 · Postgresql
CVE-2005-0245
Postgresql vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Postgresql runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- archives.postgresql.org/pgsql-committers/2005-01/msg00298.php · Vendor Advisory
- archives.postgresql.org/pgsql-committers/2005-02/msg00049.php · Vendor Advisory
- archives.postgresql.org/pgsql-patches/2005-01/msg00216.php · Exploit
- secunia.com/advisories/12948 · Exploit
- www.debian.org/security/2005/dsa-683 · Exploit
- www.redhat.com/support/errata/RHSA-2005-138.html · Patch
- www.redhat.com/support/errata/RHSA-2005-150.html · Patch
- marc.info/?l=bugtraq&m=110806034116082&w=2 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2005-0245
- cve.org/CVERecord?id=CVE-2005-0245
More vulnerabilities in Postgresql products
CVE-2025-49146CVE-2024-10979CVE-2024-10978CVE-2024-10977CVE-2024-10976CVE-2024-7348CVE-2024-4317CVE-2024-1597All 168
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.