#VU111739 Heap-based buffer overflow in PostgreSQL - CVE-2005-0245

 

#VU111739 Heap-based buffer overflow in PostgreSQL - CVE-2005-0245

Published: June 21, 2025


Vulnerability identifier: #VU111739
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2005-0245
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vulnerable software:
PostgreSQL
Software vendor:
PostgreSQL Global Development Group

Description

The vulnerability allows a remote user to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error. A remote user can pass a large number of arguments to a refcursor function (gram.y), trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Install updates from vendor's website.

External links