There was an infamous case of some obscure Macintosh educational software that had a feature where it would read back text that you typed in. It even included a swear filter to prevent it from saying bad words.
However, there was also a race condition/out of bounds memory read issue that caused it to stop reading the text you typed in, and instead start reading words directly from the swear list.
https://www.youtube.com/watch?v=sZQmL-PKr8Y