ID:11697 - Exploit for Heap-based buffer overflow in PostgreSQL - CVE-2005-0245

 
Main Vulnerability Database Exploits ID:11697 - Exploit for Heap-based buffer overflow in PostgreSQL - CVE-2005-0245

ID:11697 - Exploit for Heap-based buffer overflow in PostgreSQL - CVE-2005-0245

Published: June 21, 2025


Vulnerability identifier: #VU111739
Vulnerability risk: Medium
CVE-ID: CVE-2005-0245
CWE-ID: CWE-122
Exploitation vector: Remote access
Vulnerable software:
PostgreSQL

Link to public exploit:


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