There has been a bug report of an exec format error when executing "cat TODO | while read line; do ls; done".
I was able to reproduce this issue on 93u+m 2020-07-14 and it appears to be an issue at least since 93u+ 2012-08-01.
$ cat TODO
1
2
$ cat TODO | while read line; do ls; done
ls: ls: cannot execute [Exec format error]
ls: ls: cannot execute [Exec format error]
There has been a bug report of an exec format error when executing "cat TODO | while read line; do ls; done".
Ref:
I was able to reproduce this issue on 93u+m 2020-07-14 and it appears to be an issue at least since 93u+ 2012-08-01.
Tagging @chrisbertin and @mirabilos - reporters of the issue.