Unscored severity · published May 2, 2005
CVE-2005-0247
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…
–
CVSS
3.5%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)3.5% · higher than 89% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PO
PostgreSQL · PostgreSQL
7.2; 7.2.1; 7.2.2; 7.2.3; 7.2.4; 7.2.5; +22 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2005-0247
CVE.org
https://www.cve.org/CVERecord?id=CVE-2005-0247
Patch
http://archives.postgresql.org/pgsql-committers/2005-02/msg00049.php
marc.info
http://marc.info/?l=bugtraq&m=110806034116082&w=2
www.debian.org
http://www.debian.org/security/2005/dsa-683
Patch
http://www.gentoo.org/security/en/glsa/glsa-200502-19.xml
www.mandriva.com
http://www.mandriva.com/security/advisories?name=MDKSA-2005:040
Patch
http://www.novell.com/linux/security/advisories/2005_27_postgresql.html
More from PostgreSQL
9.8
CVE-2024-24213
Supabase PostgreSQL v15.1 was discovered to contain a SQL injection vulnerability via the component /pg_meta/default/query
9.8
CVE-2015-0244
PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and 9.4.x before 9.4.1 does not properly handle errors while reading a protocol message,…
9.8
CVE-2015-3166
The snprintf implementation in PostgreSQL before 9.0.20, 9.1.x before 9.1.16, 9.2.x before 9.2.11, 9.3.x before 9.3.7, and 9.4.x before 9.4.2 does not properly handle system-call…
9.8
CVE-2019-10211
Postgresql Windows installer before versions 11.5, 10.10, 9.6.15, 9.5.19, 9.4.24 is vulnerable via bundled OpenSSL executing code from unprotected directory
9.8
CVE-2018-16850
postgresql before versions 11.1, 10.6 is vulnerable to a to SQL injection in pg_upgrade and pg_dump via CREATE TRIGGER
