Nuts can go rancid because of their high oil contents, but they don't rot as such unless in contact with dampness. You can fairly successfully store nuts for a very long time (esp. if in their shell) in cool dry conditions. Think about squirrels burying their nuts for winter usage over a few months! Even if the shells themselves go a little mouldy, the kernel is generally ok unless the rot/mould is very far advanced.
Out of the shell and in airtight containers ... well, I've had nuts stored for many many months at a time. Pine nuts are a good example of how to store bunyas, I reckon, and I've got a jar that's been doing me for about six months with no problems. (Normally, of course, they don't last that long - I love pine nuts!!).
Bunyas also freeze _very_ successfully - that's how I bought my Cherikoff lot.

