7.5
CWE
NVD-CWE-Other 119
Advisory Published
CVE Published
Updated

CVE-2005-0245: Buffer Overflow

First published: Tue Feb 01 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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
PostgreSQL Common>=7.3<7.3.10
PostgreSQL Common>=7.4<7.4.7
PostgreSQL Common=8.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203