Buffer overflow in extproc in Oracle 10g allows remote attackers to execute arbitrary code via environment variables in the library name, which are expanded after the length check is performed.
https://euvd.enisa.europa.eu/vulnerability/EUVD-2004-1360
http://www.us-cert.gov/cas/techalerts/TA04-245A.html
http://www.securityfocus.com/bid/10871
http://www.oracle.com/technology/deploy/security/pdf/2004alert68.pdf
http://www.ngssoftware.com/advisories/oracle23122004.txt
http://sunsolve.sun.com/search/document.do?assetkey=1-26-101782-1