eavesdrop (立ち聞きする): She accidentally overheard the conversation while eavesdropping. (彼女は立ち聞きしながら、偶然会話を聞いてしまいました)

She accidentally overheard the conversation while eavesdropping.