Recent findings indicate that multiple PDF software implementations, including MuPDF and Foxit, generate AES-256 encryption keys from insecure random sources, compromising their security. MuPDF's method uses only 9 bits of randomness, while Foxit's relies on uninitialized bytes, making keys easy to recover. Although some vulnerabilities have been addressed, previously published documents may still be at risk of passwordless decryption.
Key facts
- MuPDF generates AES-256 keys from only 9 bits of random state.
- Foxit PDF Reader derives its file key from time-based randomness.
- AES-256 encryption protects PDF content but does not encrypt documents directly.
- Vulnerabilities in random number generation can lead to passwordless decryption.
- Issues have been reported to vendors, with some fixes implemented.
A short AI summary in our own words. The reporting belongs to Hacker News — Front Page; we don't reproduce it.