security flaw
Published Feb 8, 2005
6.5
MEDIUMCVSS 2.0
EPSS 3.51%
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.
Affected products
No data.
- 7.2
- 7.2.1
- 7.2.2
- 7.2.3
- 7.2.4
- 7.2.5
- 7.2.6
- 7.2.7
- 7.3
- 7.3.1
- 7.3.2
- 7.3.3
- 7.3.4
- 7.3.5
- 7.3.6
- 7.3.7
- 7.3.8
- 7.3.9
- 7.4
- 7.4.1
- 7.4.2
- 7.4.3
- 7.4.4
- 7.4.5
- 7.4.6
- 7.4.7
- 8.0.0
- 8.0.1
No data.
Red Hat Enterprise Linux 3
rh-postgresql-0:7.3.9-2
Fixed · RHSA-2005:141
Red Hat Enterprise Linux 4
postgresql-0:7.4.7-2.RHEL4.1
Fixed · RHSA-2005:138
Red Hat Enterprise Linux AS (Advanced Server) version 2.1
n/a
Fixed · RHSA-2005:150
Red Hat Enterprise Linux ES version 2.1
n/a
Fixed · RHSA-2005:150
Red Hat Enterprise Linux WS version 2.1
n/a
Fixed · RHSA-2005:150
Red Hat Linux Advanced Workstation 2.1
n/a
Fixed · RHSA-2005:150
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 3 | rh-postgresql-0:7.3.9-2 | Fixed | RHSA-2005:141 |
| Red Hat Enterprise Linux 4 | postgresql-0:7.4.7-2.RHEL4.1 | Fixed | RHSA-2005:138 |
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | n/a | Fixed | RHSA-2005:150 |
| Red Hat Enterprise Linux ES version 2.1 | n/a | Fixed | RHSA-2005:150 |
| Red Hat Enterprise Linux WS version 2.1 | n/a | Fixed | RHSA-2005:150 |
| Red Hat Linux Advanced Workstation 2.1 | n/a | Fixed | RHSA-2005:150 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:S/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.51% (0.03512) | 88.82th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.51% (0.03512) | 87.65th | v5 (v2026.06.15) |
| Mar 30, 2025 | 1.85% (0.01850) | 81.40th | v4 (v2025.03.14) |
| Mar 29, 2025 | 6.49% (0.06488) | 84.73th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.03% (0.02026) | 82.58th | v4 (v2025.03.14) |
| Dec 17, 2024 | 57.05% (0.57055) | 97.83th | v3 (v2023.03.01) |
| Aug 16, 2024 | 69.40% (0.69396) | 98.06th | v3 (v2023.03.01) |
| Jan 16, 2024 | 62.60% (0.62597) | 97.55th | v3 (v2023.03.01) |
| May 31, 2023 | 68.41% (0.68411) | 97.48th | v3 (v2023.03.01) |
| Mar 7, 2023 | 77.73% (0.77735) | 97.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 3.48% (0.03481) | 84.81th | v2 (v2022.01.01) |
| Apr 1, 2022 | 3.48% (0.03481) | 83.25th | v2 (v2022.01.01) |
| Feb 4, 2022 | 3.48% (0.03481) | 66.34th | v2 (v2022.01.01) |
References (19)
- http://archives.postgresql.org/pgsql-committers/2005-02/msg00049.php mailing-listx_refsource_MLISTPatch
- http://marc.info/?l=bugtraq&m=110806034116082&w=2 mailing-listx_refsource_BUGTRAQ
- http://www.debian.org/security/2005/dsa-683 vendor-advisoryx_refsource_DEBIAN
- http://www.gentoo.org/security/en/glsa/glsa-200502-19.xml vendor-advisoryx_refsource_GENTOOPatchVendor Advisory
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:040 vendor-advisoryx_refsource_MANDRAKE
- http://www.novell.com/linux/security/advisories/2005_27_postgresql.html vendor-advisoryx_refsource_SUSEPatchVendor Advisory
- http://www.novell.com/linux/security/advisories/2005_36_sudo.html vendor-advisoryx_refsource_SUSE
- http://www.redhat.com/support/errata/RHSA-2005-138.html vendor-advisoryx_refsource_REDHATPatchVendor Advisory
- http://www.redhat.com/support/errata/RHSA-2005-150.html vendor-advisoryx_refsource_REDHATPatchVendor Advisory
- http://www.securityfocus.com/bid/12417 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2005-0247 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1617508 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/19375 vdb-entryx_refsource_XF
- https://exchange.xforce.ibmcloud.com/vulnerabilities/19376 vdb-entryx_refsource_XF
- https://exchange.xforce.ibmcloud.com/vulnerabilities/19377 vdb-entryx_refsource_XF
- https://exchange.xforce.ibmcloud.com/vulnerabilities/19378 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2005-0247
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9345 vdb-entrysignaturex_refsource_OVAL
- https://www.cve.org/CVERecord?id=CVE-2005-0247
Change history (0)
No recorded changes yet.