The assailant "died on the spot" after the soldier opened fire, police spokesman Harald Soeros said, adding that the attack took place just before midnight local time.
A North Korean soldier involved in an extremely rare and dramatic defection to the South was shot six times by his own side as he drove to the heavily guarded border and ran across under a hail of bullets.
A Saudi soldier was killed and five others were wounded fighting suspected militants in the Kingdom's Qatif province, the interior ministry said, days after a child and a Pakistani builder were killed in al-Awamiya.
An Indian paramilitary trooper, who posted videos on social media claiming soldiers on border duties were being served poor quality food, has been sacked for making false allegations.
Israeli police arrested two people on Thursday after death threats emerged online against a judge over the manslaughter conviction of a soldier who shot dead a wounded Palestinian assailant.
Saudi Arabia on Saturday revealed the identity of a man it accuses of killing a soldier last week, saying he confessed to being a follower of the Islamic State jihadist group.
India was working to secure the release of a soldier held in Pakistan but it will take "some days", the defence minister said on Sunday, following a dramatic spike in tensions between the neighbours.
Donald Trump rejected criticism from the father of a soldier killed in Iraq who said the Republican presidential nominee had "sacrificed nothing and no one" and questioned whether the mother was allowed to speak during the Democratic convention.