The University of Maryland says it was the victim of a "sophisticated computer security attack" in a database that contains personal information about more than 300,000 faculty, staff, students, and others as far back as 1998.
(Read more: How investors should play the cybersecurity war)
In a statement posted Wednesday on the school's website, President Wallace Loh said the database has information from the College Park and Shady Grove campuses. The records include names, Social Security numbers, dates of birth and university identification numbers.
No other information was compromised, such as financial, academic, health, or contact information, the statement said.
(Read more: VA data breach 'pratically unavoidable,' memo says)
The breach occurred Wednesday and involved records of those who have been issued a university ID since 1998, he said.
(Read more: Cybercrime hits US companies harder: Report)
The university is working to determine how the breach occurred. Loh said state and federal law enforcement officials are investigating.
The university is offering one year of free credit monitoring to anyone affected by the breach.
(Read more: Post-Target breach ripples may cost $200 million)
—By CNBC.com with AP.