{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2005-0247","published":"2005-05-02T04:00:00Z","last_modified":"2026-06-16T22:10:46.380000Z","status":"Modified","cvss":{"version":"2.0","score":6.5,"severity":"MEDIUM","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-119"],"cpes":[{"criteria":"cpe:2.3:a:postgresql:postgresql:7.2:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.2"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.2.1:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.2.1"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.2.2:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.2.2"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.2.3:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.2.3"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.2.4:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.2.4"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.2.5:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.2.5"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.2.6:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.2.6"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.2.7:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.2.7"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.3:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.3"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.3.1:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.3.1"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.3.2:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.3.2"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.3.3:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.3.3"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.3.4:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.3.4"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.3.5:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.3.5"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.3.6:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.3.6"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.3.7:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.3.7"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.3.8:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.3.8"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.3.9:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.3.9"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.4:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.4"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.4.1:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.4.1"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.4.2:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.4.2"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.4.3:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.4.3"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.4.4:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.4.4"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.4.5:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.4.5"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.4.6:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.4.6"},{"criteria":"cpe:2.3:a:postgresql:postgresql:7.4.7:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"7.4.7"},{"criteria":"cpe:2.3:a:postgresql:postgresql:8.0.0:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"8.0.0"},{"criteria":"cpe:2.3:a:postgresql:postgresql:8.0.1:*:*:*:*:*:*:*","part":"a","vendor":"postgresql","product":"postgresql","version":"8.0.1"}],"cpes_truncated":false,"vendors":["postgresql"],"products":["postgresql/postgresql"],"epss":{"score":0.03512,"percentile":0.89984,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2005-0247/","html_en":"/en/cve/CVE-2005-0247/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2005-0247","cve_org":"https://www.cve.org/CVERecord?id=CVE-2005-0247"},"untrusted":{"vendor_name":"Postgresql","product_name":"Postgresql","desc_en":"Multiple buffer overflows in gram.y for PostgreSQL 8.0.1 and earlier may allow attackers to execute arbitrary code via (1) a large number of variables in a SQL statement being handled by the read_sql_construct function, (2) a large number of INTO variables in a SELECT statement being handled by the make_select_stmt function, (3) a large number of arbitrary variables in a SELECT statement being handled by the make_select_stmt function, and (4) a large number of INTO variables in a FETCH statement being handled by the make_fetch_stmt function, a different set of vulnerabilities than CVE-2005-0245.","affected":[],"references":[{"url":"http://archives.postgresql.org/pgsql-committers/2005-02/msg00049.php","tags":["Patch"]},{"url":"http://marc.info/?l=bugtraq&m=110806034116082&w=2","tags":[]},{"url":"http://www.debian.org/security/2005/dsa-683","tags":[]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200502-19.xml","tags":["Patch","Vendor Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:040","tags":[]},{"url":"http://www.novell.com/linux/security/advisories/2005_27_postgresql.html","tags":["Patch","Vendor Advisory"]},{"url":"http://www.novell.com/linux/security/advisories/2005_36_sudo.html","tags":[]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-138.html","tags":["Patch","Vendor Advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-150.html","tags":["Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/12417","tags":[]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/19375","tags":[]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/19376","tags":[]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/19377","tags":[]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/19378","tags":[]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9345","tags":[]}]}}