Tehran: Iran admitted that its controversial uranium enrichment centrifuges had been affected by a malicious computer virus, as reported by Western diplomats last week.
Hours earlier, car bombs killed a top Iranian nuclear scientist in Tehran and wounded another.
Both events may colour a resumption of talks on nuclear issues next week with the five permanent members of the UN Security Council and Germany.
President Mahmoud Ahmadinejad told a news conference Iran would attend the talks on December 5, but restated its position that its uranium enrichment programme, which it says is purely for power generation, was not negotiable.
Major Western powers as well as Israel and Russia have become increasingly concerned that Iran`s programme may soon give it the capacity to build and launch a nuclear bomb, despite four rounds of UN sanctions.
Israel and the United States have not ruled out pre-emptive military strikes. But the emergence of Stuxnet, which some experts believe was aimed specifically at Iran`s nuclear installations, shows Tehran`s foes may no longer be restricted to conventional diplomatic and military options.
Ahmadinejad did not specify whether he was referring to the Stuxnet virus identified by Western security experts, but said, "They succeeded in creating problems for a limited number of our centrifuges with the software they had installed in electronic parts. But the problem has been resolved."
International talks on Iran`s nuclear programme have made little or no progress and been stalled for more than a year.