Boeing Co. has responded to the Lion Air jetliner crash that killed 189 people in Indonesia last week, issuing a safety warning about potentially suspect flight-control software that can confuse pilots and lead to a steep descent of the affected aircraft model.

U.S. aviation regulators were poised to follow with their own directive, according to people familiar with the matter.

The...