Mac OS X 10.5, a.k.a. Leopard, received an update that patched 16 vulnerabilities in Java SE 6 and another 11 in Java SE 5. The update for the newer Mac OS X 10.6, a.k.a. Snow Leopard, also patched the 16 bugs in Java SE 6.
You can download the patches for Java for Mac OS X 10.5 Update 9 here and Java for Mac OS X 10.6 Update 4 here.