Buffer overflow in the SDO_CODE_SIZE procedure of the MD2 package (MDSYS.MD2.SDO_CODE_SIZE) in Oracle 10g before 10.1.0.2 Patch 2 allows local users to execute arbitrary code via a long LAYER parameter.
https://exchange.xforce.ibmcloud.com/vulnerabilities/20078
http://www.oracle.com/technology/deploy/security/pdf/2004alert68.pdf
http://www.appsecinc.com/resources/alerts/oracle/2004-0001/
http://lists.grok.org.uk/pipermail/full-disclosure/2004-September/025984.html