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://www.trustix.org/errata/2005/0003/
http://www.redhat.com/support/errata/RHSA-2005-150.html
http://www.redhat.com/support/errata/RHSA-2005-138.html
http://www.debian.org/security/2005/dsa-668
http://security.gentoo.org/glsa/glsa-200502-08.xml
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10234
https://euvd.enisa.europa.eu/vulnerability/EUVD-2005-0228
http://www.securityfocus.com/bid/12411
http://www.novell.com/linux/security/advisories/2005_36_sudo.html
http://www.mandriva.com/security/advisories?name=MDKSA-2005:040
http://archives.postgresql.org/pgsql-bugs/2005-01/msg00269.php
http://archives.postgresql.org/pgsql-announce/2005-02/msg00000.php