{"id":"CVE-2005-0247","state":"PUBLISHED","title":"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 hand","description":"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.","publishedAt":"2005-02-08T05:00:00.000Z","updatedAt":"2024-08-07T21:05:25.547Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://archives.postgresql.org/pgsql-committers/2005-02/msg00049.php","https://exchange.xforce.ibmcloud.com/vulnerabilities/19377","http://www.gentoo.org/security/en/glsa/glsa-200502-19.xml","http://www.mandriva.com/security/advisories?name=MDKSA-2005:040","http://marc.info/?l=bugtraq&m=110806034116082&w=2","http://www.novell.com/linux/security/advisories/2005_27_postgresql.html","https://exchange.xforce.ibmcloud.com/vulnerabilities/19375","http://www.redhat.com/support/errata/RHSA-2005-138.html","https://exchange.xforce.ibmcloud.com/vulnerabilities/19376","http://www.redhat.com/support/errata/RHSA-2005-150.html","https://exchange.xforce.ibmcloud.com/vulnerabilities/19378","https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9345","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"],"weaknesses":[],"ingestedAt":"2026-10-29T19:27:10.687Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2005/0xxx/CVE-2005-0247.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2005-0247","state":"PUBLISHED","datePublished":"2005-02-08T05:00:00.000Z","dateUpdated":"2024-08-07T21:05:25.547Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2005-02-08T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://archives.postgresql.org/pgsql-committers/2005-02/msg00049.php","name":"[pgsql-committers] 20050207 pgsql: Prevent 4 more buffer overruns in the PL/PgSQL parser.","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/19377","name":"postgresql-makeselectstmt-arbitrary-bo(19377)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200502-19.xml","name":"GLSA-200502-19","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:040","name":"MDKSA-2005:040","tags":["vendor-advisory","x_refsource_MANDRAKE"]},{"url":"http://marc.info/?l=bugtraq&m=110806034116082&w=2","name":"20050210 [USN-79-1] PostgreSQL vulnerabilities","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.novell.com/linux/security/advisories/2005_27_postgresql.html","name":"SUSE-SA:2005:027","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/19375","name":"postgresql-readsqlconstruct-bo(19375)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-138.html","name":"RHSA-2005:138","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/19376","name":"postgresql-makeselectstmt-input-bo(19376)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-150.html","name":"RHSA-2005:150","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/19378","name":"postgresql-fetch-makefetchstmt-bo(19378)","tags":["vdb-entry","x_refsource_XF"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9345","name":"oval:org.mitre.oval:def:9345","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.securityfocus.com/bid/12417","name":"12417","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.debian.org/security/2005/dsa-683","name":"DSA-683","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.novell.com/linux/security/advisories/2005_36_sudo.html","name":"SUSE-SA:2005:036","tags":["vendor-advisory","x_refsource_SUSE"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2017-10-10T00:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2005-02-07T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"url":"http://archives.postgresql.org/pgsql-committers/2005-02/msg00049.php","name":"[pgsql-committers] 20050207 pgsql: Prevent 4 more buffer overruns in the PL/PgSQL parser.","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/19377","name":"postgresql-makeselectstmt-arbitrary-bo(19377)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200502-19.xml","name":"GLSA-200502-19","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:040","name":"MDKSA-2005:040","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred"]},{"url":"http://marc.info/?l=bugtraq&m=110806034116082&w=2","name":"20050210 [USN-79-1] PostgreSQL vulnerabilities","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.novell.com/linux/security/advisories/2005_27_postgresql.html","name":"SUSE-SA:2005:027","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/19375","name":"postgresql-readsqlconstruct-bo(19375)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-138.html","name":"RHSA-2005:138","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/19376","name":"postgresql-makeselectstmt-input-bo(19376)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-150.html","name":"RHSA-2005:150","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/19378","name":"postgresql-fetch-makefetchstmt-bo(19378)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9345","name":"oval:org.mitre.oval:def:9345","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://www.securityfocus.com/bid/12417","name":"12417","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.debian.org/security/2005/dsa-683","name":"DSA-683","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.novell.com/linux/security/advisories/2005_36_sudo.html","name":"SUSE-SA:2005:036","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T21:05:25.547Z"}}]}}}