CVEfocus › CVE database › CVE-2005-0245

CVE-2005-0245

EPSS 14.5% (higher than 97% of CVEs)Published 2005-02-08Updated 2024-08-07Assigner: redhat

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.

What to do

Likely to be exploited: EPSS gives a 14% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Red Hat: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

22Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Red Hat Enterprise Linux 4postgresqlFixed0:7.4.7-2.RHEL4.1RHSA-2005:138
Red Hat Enterprise Linux 4postgresql-contribFixed0:7.4.7-2.RHEL4.1RHSA-2005:138
Red Hat Enterprise Linux 4postgresql-develFixed0:7.4.7-2.RHEL4.1RHSA-2005:138
Red Hat Enterprise Linux 4postgresql-docsFixed0:7.4.7-2.RHEL4.1RHSA-2005:138
Red Hat Enterprise Linux 4postgresql-jdbcFixed0:7.4.7-2.RHEL4.1RHSA-2005:138
Red Hat Enterprise Linux 4postgresql-libsFixed0:7.4.7-2.RHEL4.1RHSA-2005:138
Red Hat Enterprise Linux 4postgresql-plFixed0:7.4.7-2.RHEL4.1RHSA-2005:138
Red Hat Enterprise Linux 4postgresql-pythonFixed0:7.4.7-2.RHEL4.1RHSA-2005:138
Red Hat Enterprise Linux 4postgresql-serverFixed0:7.4.7-2.RHEL4.1RHSA-2005:138
Red Hat Enterprise Linux 4postgresql-tclFixed0:7.4.7-2.RHEL4.1RHSA-2005:138
Red Hat Enterprise Linux 4postgresql-testFixed0:7.4.7-2.RHEL4.1RHSA-2005:138
Red Hat Enterprise Linux 3rh-postgresqlFixed0:7.3.9-2RHSA-2005:141
Red Hat Enterprise Linux 3rh-postgresql-contribFixed0:7.3.9-2RHSA-2005:141
Red Hat Enterprise Linux 3rh-postgresql-develFixed0:7.3.9-2RHSA-2005:141
Red Hat Enterprise Linux 3rh-postgresql-docsFixed0:7.3.9-2RHSA-2005:141
Red Hat Enterprise Linux 3rh-postgresql-jdbcFixed0:7.3.9-2RHSA-2005:141
Red Hat Enterprise Linux 3rh-postgresql-libsFixed0:7.3.9-2RHSA-2005:141
Red Hat Enterprise Linux 3rh-postgresql-plFixed0:7.3.9-2RHSA-2005:141
Red Hat Enterprise Linux 3rh-postgresql-pythonFixed0:7.3.9-2RHSA-2005:141
Red Hat Enterprise Linux 3rh-postgresql-serverFixed0:7.3.9-2RHSA-2005:141
Red Hat Enterprise Linux 3rh-postgresql-tclFixed0:7.3.9-2RHSA-2005:141
Red Hat Enterprise Linux 3rh-postgresql-testFixed0:7.3.9-2RHSA-2005:141

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.