{"schemaVersion":3,"id":"CVE-2005-0245","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2005-02-08T05:00:00.000Z","modified":"2024-08-07T21:05:25.596Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.14473,"percentile":0.96608,"severity":"medium","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.14473},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.14473,"percentile":0.96608}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.14473,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.14473,"percentile":0.96608}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_FB3BD829F042FCFF","name":"Exploit Reference (archives.postgresql.org)","source":"reference","url":"http://archives.postgresql.org/pgsql-patches/2005-01/msg00216.php","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_BCE26D2760F6341E","name":"Exploit Reference (secunia.com)","source":"reference","url":"http://secunia.com/advisories/12948","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_5337857BC49880F4","name":"Exploit Reference (debian.org)","source":"reference","url":"http://www.debian.org/security/2005/dsa-683","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"25076","name":"PostgreSQL 7.x - Multiple Vulnerabilities","source":"exploit-database","url":"https://www.exploit-db.com/exploits/25076","maturity":"poc","reliabilityScore":0.8,"verified":true,"type":"dos","platforms":["linux"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"dos","platform":"linux","file":"exploits/linux/dos/25076.c","codes":["CVE-2005-0245","OSVDB-13774"]},"metasploit":null}],"exploitCount":4,"weaknesses":[],"affected":[{"vendor":"postgresql","product":"postgresql","name":"postgresql","label":"postgresql","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.3, < 7.3.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.4, < 7.4.7","noFixRecorded":false,"fixedIn":null},{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.3, < 7.3.10 | ≥ 7.4, < 7.4.7 | 8.0","eol":{"isEol":true,"eolDate":"2010-10-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8.0","label":"8.0","eolFrom":"2010-10-01T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.0.26"},"product":{"name":"postgresql","label":"PostgreSQL","category":"database"}},"hubHref":"/vendor/postgresql/postgresql"}],"affectedCount":1,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/19188","label":"exchange.xforce.ibmcloud.com/vulnerabilities/19188","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF","Third Party Advisory"]},{"url":"http://archives.postgresql.org/pgsql-committers/2005-02/msg00049.php","label":"archives.postgresql.org/pgsql-committers/2005-02/msg00049.php","hostname":"archives.postgresql.org","tags":["Mailing List","X Refsource MLIST","Vendor Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:040","label":"www.mandriva.com/security/advisories?name=MDKSA-2005:040","hostname":"www.mandriva.com","tags":["Vendor Advisory","X Refsource MANDRAKE","Broken Link"]},{"url":"http://marc.info/?l=bugtraq&m=110806034116082&w=2","label":"marc.info?l=bugtraq&m=110806034116082&w=2","hostname":"marc.info","tags":["Mailing List","X Refsource BUGTRAQ","Issue Tracking","Third Party Advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10175","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10175","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL","Third Party Advisory"]},{"url":"http://archives.postgresql.org/pgsql-patches/2005-01/msg00216.php","label":"archives.postgresql.org/pgsql-patches/2005-01/msg00216.php","hostname":"archives.postgresql.org","tags":["Mailing List","X Refsource MLIST","Exploit","Vendor Advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-138.html","label":"www.redhat.com/support/errata/RHSA-2005-138.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Patch"]},{"url":"http://secunia.com/advisories/12948","label":"secunia.com/advisories/12948","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Exploit","Patch","Vendor Advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-150.html","label":"www.redhat.com/support/errata/RHSA-2005-150.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Patch"]},{"url":"http://archives.postgresql.org/pgsql-committers/2005-01/msg00298.php","label":"archives.postgresql.org/pgsql-committers/2005-01/msg00298.php","hostname":"archives.postgresql.org","tags":["Mailing List","X Refsource MLIST","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/12417","label":"www.securityfocus.com/bid/12417","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"http://www.debian.org/security/2005/dsa-683","label":"www.debian.org/security/2005/dsa-683","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Exploit"]},{"url":"http://www.novell.com/linux/security/advisories/2005_36_sudo.html","label":"www.novell.com/linux/security/advisories/2005_36_sudo.html","hostname":"www.novell.com","tags":["Vendor Advisory","X Refsource SUSE","Broken Link"]}],"lineage":{"upstream":[],"downstream":["DSA-683-1","RHSA-2005:138","RHSA-2005:141"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2005-02-08T05:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-07T21:05:25.596Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T09:59:13.171Z","stale":false,"partial":false}}