CVE-2005-0245
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
14.473%
chance of exploitation in the next 30 days
higher than 96.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 3
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Timeline
- 2005-02-01First Exploit-DB entry (EDB-ID 25076)same day
- 2005-02-01Published
- 2005-02-08Published by the CNA05:00 UTC · 7 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 25076 | dos | linux | 2005-02-01 | yes |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| postgresql postgresql | from 7.3 before 7.3.10fixed in 7.3.10from 7.4 before 7.4.7fixed in 7.4.78.0no fix listed | 7.3.107.4.7not listed |
References
- http://secunia.com/advisories/12948
- http://www.redhat.com/support/errata/RHSA-2005-138.html
- http://www.redhat.com/support/errata/RHSA-2005-150.html
- 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://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://marc.info/?l=bugtraq&m=110806034116082&w=2
- http://www.securityfocus.com/bid/12417
- https://exchange.xforce.ibmcloud.com/vulnerabilities/19188
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10175
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2005-0245'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2005-0245'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2005-0245'curl 'https://api.contrastcyber.com/cve_products/CVE-2005-0245'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).