CVE-2005-0245 Memory corruption in n/a

High 7.5 Published Updated

A heap-based buffer overflow in PostgreSQL allows attackers to execute arbitrary code by passing a large number of arguments to a refcursor function.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2005-0245?

CVE-2005-0245 is a high-severity memory corruption vulnerability in Postgresql Postgresql, published on 8 Feb 2005. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Which versions are affected by CVE-2005-0245?

It affects 1 product.

Products include Postgresql Postgresql.

How do I fix CVE-2005-0245?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2005-0245 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2005-0245 exists.

Public exploit code: 1 Exploit-DB entry.

All Postgresql Postgresql vulnerabilities

Sources

Also known as GHSA-8r34-wff9-3x69.

Is CVE-2005-0245 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free