Security weaknesses in PDF encryption

© RUB, Kramer

Encryption is supposed to protect confidential documents such as medical records or industrial correspondence. Attackers can, however, leak the content of encrypted documents.

Encrypted PDF documents are meant to enable confidential transmission of data. Researchers from Ruhr-Universität Bochum and FH Münster University of Applied Sciences have however demonstrated that attackers are able to manipulate encrypted PDF documents in such a way that they exfiltrate their own content to an attacker’s server, once opened by a legitimate user. The IT experts tested 27 popular PDF readers for Windows, mac OS and Linux, all of which were vulnerable, including commonly used applications such as Adobe Acrobat and Foxit. They published their findings on 30 September 2019 online.

Responsible disclosure of vulnerabilities

Due to the large number of affected vendors, the researchers reported the security weaknesses to the Computer Emergency Response Team (CERT) at the German Federal Office for Information Security in May 2019. The group headed by Professor Jörg Schwenk from Horst Görtz Institute for IT Security in Bochum, together with Fabian Ising and Professor Sebastian Schinzel from Institut für Gesellschaft und Digitales at FH Münster University of Applied Sciences, assisted in mitigating the vulnerabilities.

PDF encryption is deployed in many areas to securely exchange confidential information via the Internet. Various medical IT systems and devices are capable, for example, of encrypting and transferring medical records as PDF files. Network printers and scanners also provide PDF encryption to protect scanned documents. In business environments, emails are sometimes sent as encrypted PDF documents when other encryption methods are not available.

Decrypted content leaked to the attacker

For their study, the researchers assumed that the attacker gains access to an encrypted PDF document, for example by intercepting an email sent to the victim. Even without the password to decrypt the document, the attacker can manipulate the file and hide actions for later execution. He then forwards the manipulated encrypted PDF document to the victim. Once the victim enters the password and opens the document, the hidden action is performed and the decrypted content is automatically sent to the attacker.

Two classes of security vulnerabilities

Two different vulnerabilities – namely direct exfiltration and CBC gadgets – enable the researchers to perform attacks of this kind. All tested PDF applications were vulnerable to at least one of the two security weaknesses. The researchers provide an overview of the affected applications on their website, technical details on the attacks are available on the website as well.

The researchers recommend that institutions and end-users which rely on PDF encryption should check whether they use an affected version. If so, they should install software updates, if available, or contact their vendor.



The study was funded by the state of North Rhine-Westfalia as part of the research group “Human Centered System Security” and by Efre NRW as part of the “MIT Sicherheit NRW” project. Additional funding was supplied by the European Commission through the “Future Trust” project (Grant 700542-Future-Trust-H2020-DS-2015-1) and the German Research Foundation in the framework of the Casa Cluster of Excellence (EXC 2092).

Original publication

Jens Müller, Fabian Ising, Vladislav Mladenov, Christian Mainka, Sebastian Schinzel, Jörg Schwenk: Practical secryption exfiltration: breaking PDF encryption, 2019, pre-release online

Press contact

Julia Laska and Christina Scholten
Marketing and PR
Horst Görtz Institute for IT Security
Ruhr-Universität Bochum
Phone: +49 234 32 29162 or +49 234 32 29162

Jens Müller
Chair for Network and Data Security
Horst Görtz Institute for IT Security
Ruhr-Universität Bochum
Phone: +49 234 32 29177

Fabian Ising
Institut für Gesellschaft und Digitales
Department Electrical Engineering and Computer Science
FH Münster University of Applied Sciences
Phone: +49 2551 9 62677

Further contact details can be found online. For general questions, please contact

The Bochum-based researchers have been exploring the security of PDF documents for over a year. A vulnerability discovered in February enabled them to manipulate the content of signed PDF files.