Lune

CCS2019Top-tier venue

Practical Decryption exFiltration: Breaking PDF Encryption

Jens Müller, Fabian Ising, Vladislav Mladenov, Christian Mainka, Sebastian Schinzel, Jörg Schwenk

Abstract

The Portable Document Format, better known as PDF, is one of the most widely used document formats worldwide, and in order to ensure information confidentiality, this file format supports document encryption. In this paper, we analyze PDF encryption and show two novel techniques for breaking the confidentiality of encrypted documents. First, we abuse the PDF feature of partially encrypted documents to wrap the encrypted part of the document within attacker-controlled content and therefore, exfiltrate the plaintext once the document is opened by a legitimate user. Second, we abuse a flaw in the PDF encryption specification to arbitrarily manipulate encrypted content. The only requirement is that a single block of known plaintext is needed, and we show that this is fulfilled by design. Our attacks allow the recovery of the entire plaintext of encrypted documents by using exfiltration channels which are based on standard compliant PDF properties. We evaluated our attacks on 27 widely used PDF viewers and found all of them to be vulnerable. We responsibly disclosed the vulnerabilities and supported the vendors in fixing the issues.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Breaking the Specification: PDF Certification cites 1 Trillion Dollar Refund: How To Spoof PDF Signatures
  • 1 Trillion Dollar Refund: How To Spoof PDF Signatures cites Extract Me If You Can: Abusing PDF Parsers in Malware Detectors
  • 1 Trillion Dollar Refund: How To Spoof PDF Signatures cites Who Left Open the Cookie Jar? A Comprehensive Evaluation of Third-Party Cookie Policies
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Breaking the Specification: PDF CertificationSimon Rohlmann, Vladislav Mladenov, Christian Mainka, Jörg SchwenkS&P 2021 · 16 citations

Builds on5

  1. Efail: Breaking S/MIME and OpenPGP Email Encryption using Exfiltration ChannelsDamian Poddebniak, Christian Dresen, Jens Müller, Fabian Ising et al.USENIX Security 2018 · 64 citations
  2. Dancing on the Lip of the Volcano: Chosen Ciphertext Attacks on Apple iMessageChristina Garman, Matthew Green, Gabriel Kaptchuk, Ian Miers et al.USENIX Security 2016 · 62 citations
  3. Extract Me If You Can: Abusing PDF Parsers in Malware DetectorsCurtis Carmony, Xunchao Hu, Heng Yin, Abhishek Vasisht Bhaskar et al.NDSS 2016 · 61 citations
  4. Who Left Open the Cookie Jar? A Comprehensive Evaluation of Third-Party Cookie PoliciesGertjan Franken, Tom van Goethem, Wouter JoosenUSENIX Security 2018 · 39 citations
  5. 1 Trillion Dollar Refund: How To Spoof PDF SignaturesVladislav Mladenov, Christian Mainka, Karsten Meyer zu Selhausen, Martin Grothe et al.CCS 2019 · 23 citations

Related papers

  1. Processing Dangerous Paths - On Security and Privacy of the Portable Document FormatJens Müller, Dominik Noss, Christian Mainka, Vladislav Mladenov et al.NDSS 2021
  2. Shadow Attacks: Hiding and Replacing Content in Signed PDFsChristian Mainka, Vladislav Mladenov, Simon RohlmannNDSS 2021
  3. From Documentation to Zero-day Vulnerabilities: LLM-Driven Fuzzing of JavaScript Engines in PDF ReadersSuyue Guo, Stijn Pletinckx, Tianle Yu, Yigitcan Kaya et al.CCS 2026
  4. Reading Between the Lines: An Extensive Evaluation of the Security and Privacy Implications of EPUB Reading SystemsGertjan Franken, Tom van Goethem, Wouter JoosenS&P 2021 · 3 citations
  5. Styled to Steal: The Overlooked Attack Surface in Email ClientsLeon Trampert, Daniel Weber, Christian Rossow, Michael SchwarzCCS 2025
Dusk over the sea between two cliffs drawn in fine vertical lines