# CVE-2005-0245

- Priority: **Prioritise**
- Reason: Public exploit (exploit-database, 01-02-2005)
- Next step: Check applicability: affected before 7.3.10, 7.4.7 (CNA); fix release not confirmed
- Status: published
- Published: 2005-02-08 · Modified: 2024-08-07
- Record: https://cvemate.com/vulnerability/CVE-2005-0245 · JSON: https://cvemate.com/vulnerability/CVE-2005-0245/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v2.0, NVD) AV:N/AC:L/Au:N/C:P/I:P/A:P
- EPSS: 14.473%, percentile 96.733%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 4 (reference, exploit-database)

## Affected

- postgresql postgresql: ≥ 7.3, \< 7.3.10 \| ≥ 7.4, \< 7.4.7 \| 8.0

## References

- <https://exchange.xforce.ibmcloud.com/vulnerabilities/19188>
- <http://archives.postgresql.org/pgsql-committers/2005-02/msg00049.php>
- <http://www.mandriva.com/security/advisories?name=MDKSA-2005:040>
- <http://marc.info/?l=bugtraq&m=110806034116082&w=2>
- <https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10175>
- <http://archives.postgresql.org/pgsql-patches/2005-01/msg00216.php>
- <http://www.redhat.com/support/errata/RHSA-2005-138.html>
- <http://secunia.com/advisories/12948>
- <http://www.redhat.com/support/errata/RHSA-2005-150.html>
- <http://archives.postgresql.org/pgsql-committers/2005-01/msg00298.php>
- <http://www.securityfocus.com/bid/12417>
- <http://www.debian.org/security/2005/dsa-683>
- <http://www.novell.com/linux/security/advisories/2005_36_sudo.html>

---

Data as of 2026-12-05T13:56:21.220Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
