Back to CVE catalog
CVE-2005-0247

Multiple buffer overflows in gram.y for PostgreSQL

postgresql postgresql

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityPartial
IntegrityPartial
AvailabilityPartial

CVSS summary v2.0

6.5Medium
Published:
Updated:
EPSS:
3.512%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:postgresqlpostgresqlAffected versions:
7.2Show full version range for postgresql
7.2.17.2.27.2.37.2.47.2.57.2.67.2.77.37.3.17.3.27.3.37.3.47.3.57.3.67.3.77.3.87.3.97.47.4.17.4.27.4.37.4.47.4.57.4.67.4.78.0.08.0.1

1–1 of 1 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary6.5 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Single

Source vector

AV:N/AC:L/Au:S/C:P/I:P/A:P
nvd · Wazuh CTI (cna)6.5 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Single

Source vector

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

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories19

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences