CVE-2005-0247

Summary

CVECVE-2005-0247
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2005-05-02 04:00:00 UTC
Updated2025-04-03 01:03:51 UTC
DescriptionMultiple 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.

Risk And Classification

Primary CVSS: v2.0 6.5 from [email protected]

AV:N/AC:L/Au:S/C:P/I:P/A:P

Problem Types: CWE-119 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
Single
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:S/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Postgresql Postgresql 7.2 All All All
Application Postgresql Postgresql 7.2.1 All All All
Application Postgresql Postgresql 7.2.2 All All All
Application Postgresql Postgresql 7.2.3 All All All
Application Postgresql Postgresql 7.2.4 All All All
Application Postgresql Postgresql 7.2.5 All All All
Application Postgresql Postgresql 7.2.6 All All All
Application Postgresql Postgresql 7.2.7 All All All
Application Postgresql Postgresql 7.3 All All All
Application Postgresql Postgresql 7.3.1 All All All
Application Postgresql Postgresql 7.3.2 All All All
Application Postgresql Postgresql 7.3.3 All All All
Application Postgresql Postgresql 7.3.4 All All All
Application Postgresql Postgresql 7.3.5 All All All
Application Postgresql Postgresql 7.3.6 All All All
Application Postgresql Postgresql 7.3.7 All All All
Application Postgresql Postgresql 7.3.8 All All All
Application Postgresql Postgresql 7.3.9 All All All
Application Postgresql Postgresql 7.4 All All All
Application Postgresql Postgresql 7.4.1 All All All
Application Postgresql Postgresql 7.4.2 All All All
Application Postgresql Postgresql 7.4.3 All All All
Application Postgresql Postgresql 7.4.4 All All All
Application Postgresql Postgresql 7.4.5 All All All
Application Postgresql Postgresql 7.4.6 All All All
Application Postgresql Postgresql 7.4.7 All All All
Application Postgresql Postgresql 8.0.0 All All All
Application Postgresql Postgresql 8.0.1 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
pgsql: Prevent 4 more buffer overruns in the PL/PgSQL parser. af854a3a-2127-422b-91ae-364da2661108 archives.postgresql.org Patch
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
PostgreSQL Multiple Remote Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Patch, Vendor Advisory
Security Announcement af854a3a-2127-422b-91ae-364da2661108 www.novell.com
'[USN-79-1] PostgreSQL vulnerabilities' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info
Security Announcement af854a3a-2127-422b-91ae-364da2661108 www.novell.com Patch, Vendor Advisory
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Patch, Vendor Advisory
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Advisories - Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
Gentoo Linux Documentation -- PostgreSQL: Buffer overflows in PL/PgSQL parser af854a3a-2127-422b-91ae-364da2661108 www.gentoo.org Patch, Vendor Advisory
Debian -- Security Information -- DSA-683-1 postgresql af854a3a-2127-422b-91ae-364da2661108 www.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report