
CVE-2005-0227
https://notcve.org/view.php?id=CVE-2005-0227
06 Feb 2005 — PostgreSQL (pgsql) 7.4.x, 7.2.x, and other versions allows local users to load arbitrary shared libraries and execute code via the LOAD extension. • http://archives.postgresql.org/pgsql-announce/2005-02/msg00000.php • CWE-94: Improper Control of Generation of Code ('Code Injection') •

CVE-2005-0245 – PostgreSQL 7.x - Multiple Vulnerabilities
https://notcve.org/view.php?id=CVE-2005-0245
01 Feb 2005 — 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. • https://www.exploit-db.com/exploits/25076 •

CVE-2004-0977
https://notcve.org/view.php?id=CVE-2004-0977
20 Oct 2004 — The make_oidjoins_check script in PostgreSQL 7.4.5 and earlier allows local users to overwrite files via a symlink attack on temporary files. • http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=136300 •

CVE-2003-0901
https://notcve.org/view.php?id=CVE-2003-0901
30 Oct 2003 — Buffer overflow in to_ascii for PostgreSQL 7.2.x, and 7.3.x before 7.3.4, allows remote attackers to execute arbitrary code. • http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/adt/ascii.c •