(CNN) -- King Abdullah has ordered that "all necessary measures" be taken to protect Saudi Arabia against terror threats, the state-run SPA news agency reported Thursday.
"Anticipating (that) the terrorist organizations or others might carry out actions that might disturb the security of the homeland, the Custodian of the Two Holy Mosques has ordered taking all necessary measures to protect the gains of the homeland and its territories in addition to the security and stability of the Saudi people," SPA said.
The news agency referenced the crisis in Iraq, where militants with the Islamic State in Iraq and Syria (ISIS) are seeking to create an Islamic caliphate that encompasses portions of Iraq and Syria.
According to a Saudi official not authorized to talk to the media, security forces are on highest alert.
"Saudi Arabia shares a long border with Iraq and the government is aware that ISIS is very close to Iraq's border with Jordan, and is also aware ISIS has been very public about its intention to attempt to attack Saudi Arabia," the official said.
The official said, however, that Iraq is not the government's only concern. Authorities are also concerned about intelligence showing ISIS militants starting to work with fighters from al Qaeda in the Arabian Peninsula (AQAP), the official said.
In the past week, members of AQAP tried to sneak into Saudi Arabia from Yemen, and were caught, said the official, who did not provide details.
"While Saudi security forces are at the ready and very strong, the threat emanating from Yemen is still very real," said the official.