SEOUL—Hackers accessed computer databases of the company that runs South Korea's largest social network and may have obtained private details of 35 million people, the company said Thursday.

SK Communications Co. operates a personal website system called Cyworld that is hugely popular in South Korea. Cyworld has 33 million users, a vast majority of adults in a country with a total population of 49 million.

SK...