The breaches could attract millions of dollars in fines.
But CBA boss Ian Narev has warned people against jumping to conclusions.
"I understand there is very little goodwill for banks in general, and for CBA in particular, so when something like this happens people jump to conclusions," Narev told The Australian in an article published today ..
In a statement to the ASX today the bank said it took the allegations by AUSTRAC very seriously and would file a defence.
A spokesman for ASB bank said it did not operate the same model of intelligent deposit machines as the CBA nor did it use the same operating system.
The maximum amount of funds able to be deposited by an unverified person into an ASB ATM was less than $10,000.
He said the bank was committed to fighting financial crime and working with regulators in this regard.
"ASB has processes and tools in place to ensure compliance to New Zealand's AML regime, including the reporting of suspicious transactions to the New Zealand Police Financial Intelligence Unit."
Anti-money laundering law came into force for banks in New Zealand in 2013.