WASHINGTON—Two letters that arrived at a Pentagon distribution center have tested positive for the poison ricin and a “suspicious envelope” had been sent to the White House, defense officials and the Secret Service said Tuesday.

The letters sent to the Pentagon were addressed to Defense Secretary Jim Mattis and Adm. John Richardson, the chief of naval operations, an official said.

It...