The pan-European STOXX 600 <.STOXX> index was up 0.1 percent at its close. Both Germany's DAX <.GDAXI> and the UK's FTSE <.FTSE> were up 0.3 percent and hit fresh record highs earlier in the session.
Oil prices jumped more than 2 percent after top exporter Saudi Arabia and Russia said supply cuts needed to last into 2018, a step towards keeping an OPEC-led deal to support prices in place longer than originally agreed. [O/R]
That helped commodity-related stocks with the basic resources <.SXPP> and oil indexes <.SXEP> climbing 1.7 percent and 0.9 percent respectively.
Some investors said after three straight weeks of gains for European equities, the mood was dampened by Friday's unprecedented "ransomware" attack that hit 200,000 victims in at least 150 countries.
"The risk sentiment is dull due to cyber uncertainties," said London Capital Group analyst Ipek Ozkardeskaya.
SECURITY SHARES BOOSTED
The attack, however, boosted shares in software security firms. A cybersecurity exchange-traded fund ISE <ISPY.L> jumped more than 3 percent, while London-listed shares in cloud network security firm Sophos (>> Sophos Ltd) popped more than 7 percent higher to hit a record level.
In Helsinki, digital security firm F-Secure (>> F-Secure Oyj) rose 3.8 percent to a 16-year high, while information security consulting Nixu (>> Nixu Oyj) gained 2.4 percent.
"Security is a growing business already and these kinds of news will accelerate the need for improvement of cybersecurity among companies," said Kim Gorschelnik, head of research at Finnish asset manager FIM.
Outside of tech stocks, Italian motorway company Atlantia (>> Atlantia SpA) rose 2.5 percent after it launched a 16 billion euro bid for Spanish rival Abertis (>> Abertis Infraestructuras S.A.), whose share were little changed.
Banca Akros analyst Francesco Sala lifted its recommendation on Atlantia to accumulate from neutral, saying he expected the offer could lift the group's earnings per share by 30 percent.
Shares in RWE (>> RWE AG) rose nearly 4 percent after the German utility posted core profit slightly above expectations, pointing to cost cuts and improved utilisation at its power plants division.
A poor earning update, however, hit shares in TUI <TUIT.L>, which fell 4.8 percent. Europe's largest tour operator said summer trading was in line with expectations with demand for Spain, Greece and the Caribbean helping to offset subdued bookings for Turkey and North Africa.
Earnings in Europe have been surprisingly strong so far. According to Thomson Reuters I/B/E/S data, more than 70 percent of MSCI companies have reported results so far with 66 percent beating expectations and 8 percent meeting them, pointing to growth in first-quarter earnings of 20.2 percent.
(Reporting by Danilo Masoni and Kit Rees, editing by Pritha Sarkar)
By Danilo Masoni and Kit Rees