Security mailing lists by PureSourceCode

CVE-2005-0247

MEDIUM 6.5CVSS 2.0

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.

Published
2 May 2005
Last modified
16 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-119
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.2:*:*:*:*:*:*:*
= 7.2
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.2.1:*:*:*:*:*:*:*
= 7.2.1
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.2.2:*:*:*:*:*:*:*
= 7.2.2
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.2.3:*:*:*:*:*:*:*
= 7.2.3
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.2.4:*:*:*:*:*:*:*
= 7.2.4
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.2.5:*:*:*:*:*:*:*
= 7.2.5
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.2.6:*:*:*:*:*:*:*
= 7.2.6
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.2.7:*:*:*:*:*:*:*
= 7.2.7
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.3:*:*:*:*:*:*:*
= 7.3
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.3.1:*:*:*:*:*:*:*
= 7.3.1
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.3.2:*:*:*:*:*:*:*
= 7.3.2
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.3.3:*:*:*:*:*:*:*
= 7.3.3
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.3.4:*:*:*:*:*:*:*
= 7.3.4
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.3.5:*:*:*:*:*:*:*
= 7.3.5
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.3.6:*:*:*:*:*:*:*
= 7.3.6
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.3.7:*:*:*:*:*:*:*
= 7.3.7
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.3.8:*:*:*:*:*:*:*
= 7.3.8
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.3.9:*:*:*:*:*:*:*
= 7.3.9
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.4:*:*:*:*:*:*:*
= 7.4
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.4.1:*:*:*:*:*:*:*
= 7.4.1
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.4.2:*:*:*:*:*:*:*
= 7.4.2
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.4.3:*:*:*:*:*:*:*
= 7.4.3
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.4.4:*:*:*:*:*:*:*
= 7.4.4
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.4.5:*:*:*:*:*:*:*
= 7.4.5
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.4.6:*:*:*:*:*:*:*
= 7.4.6
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:7.4.7:*:*:*:*:*:*:*
= 7.4.7
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.0.0:*:*:*:*:*:*:*
= 8.0.0
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.0.1:*:*:*:*:*:*:*
= 8.0.1

References

History

  • 25 Nov 2026 20:12 UTC · NVD: first stored (published 2 May 2005)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.