CVE-2005-0245: Buffer Overflow

Published Feb 1, 2005
·
Updated

Buffer overflow in gram.y for PostgreSQL 8.0.0 and earlier may allow attackers to execute arbitrary code via a large number of arguments to a refcursor function (gram.y), which leads to a heap-based buffer overflow, a different vulnerability than CVE-2005-0247.

Affected Software

3 affected components
PostgreSQL postgresql>=7.3<7.3.10
PostgreSQL postgresql>=7.4<7.4.7
PostgreSQL postgresql=8.0

Event History

Feb 1, 2005
CVE Published
05:00 AM
Feb 8, 2005
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2005-0245?

CVE-2005-0245 has a high severity rating due to its potential to allow arbitrary code execution through a buffer overflow.

2

How do I fix CVE-2005-0245?

To fix CVE-2005-0245, upgrade your PostgreSQL installation to version 8.0.1 or later, as it includes patches for this vulnerability.

3

Which versions of PostgreSQL are affected by CVE-2005-0245?

CVE-2005-0245 affects PostgreSQL versions 8.0.0 and earlier, along with versions 7.3.x and 7.4.x below 7.4.8.

4

What type of vulnerability is CVE-2005-0245?

CVE-2005-0245 is classified as a buffer overflow vulnerability that can lead to heap-based execution of arbitrary code.

5

How can attackers exploit CVE-2005-0245?

Attackers can exploit CVE-2005-0245 by providing a large number of arguments to a refcursor function, triggering the buffer overflow.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203