Oriel — AI & technology worth noticing, every day.

The case of the 9 bit AES key

Web page · https://v12.sh/blog/the-case-of-the-9bit-aes-key

First seen by Oriel on .

AI summary

This security analysis finds that several PDF implementations generate AES-256 file keys from predictable, non-cryptographic randomness, enabling passwordless decryption despite nominally 256-bit keys.

  • MuPDF versions before 1.28.5 seed drand48 with the current epoch seconds, but only nine timestamp bits affect generated key bytes, leaving 512 possible streams.
  • MuPDF key candidates can be brute-forced in about 11 milliseconds, while the plaintext /ID provides an additional validation check.
  • Foxit PDF Reader 2026.1.3.36551 hashes a timestamp, zero-filled uninitialized bytes, and "there"; known plaintext in /Perms enables rapid candidate verification.
  • OpenPDF 3.0.5 and iText 9.7.1 derive randomness from millisecond time and JVM free memory, allowing salts in /U and /O to constrain guesses.
  • The vendors were notified, MuPDF fixed its issue, and decryptors for MuPDF and Foxit were published, but existing PDFs remain affected.

#pdf security #aes-256 #randomness #cryptography

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Hacker News: 149, latest observation ; +135 over observed period since
  • Lobsters: 40, latest observation ; +39 over observed period since

Comments

Comment count reported by the source.

  • Hacker News: 78, latest observation ; +76 over observed period since
  • Lobsters: 1, latest observation ; +1 over observed period since

Aliases

SourceExternal IDURL
Hacker News50280722https://v12.sh/blog/the-case-of-the-9bit-aes-key Read discussion
Lobstersdqexzghttps://v12.sh/blog/the-case-of-the-9bit-aes-key Read discussion