The German Federal Office for Information Security said that Apple’s iOS has a serious security flaw. (Daniel Barry/GETTY IMAGES)

The German agency reported Wednesday that customers using Apple’s iOS operating system could have their devices easily infected when viewing PDF files on their phones. While viewing these files, malicious applications could access administrative rights on the phone, ultimately making it possible to gain access to user passwords, e-mails, banking data and possibly even phone calls.

The flaw is present in several versions of iOS, the report said, making iPhones, iPod Touches, and iPads vulnerable to attack.

Apple spokeswoman Trudy Muller said Thursday, “Apple takes security very seriously. We’re aware of this reported issue and developing a fix that will be available to customers in an upcoming software update.”

The agency has not heard of any attacks exploiting this flaw, but said that users should avoid opening PDF files from unknown sources, The Wall Street Journal reported.

Related stories:

Apple iPhone to land at Sprint?

Report: New iPhone coming in Q3

Apple vows to fix critical security hole in iPhones, iPads following Germany’s warning