AES-256 PDF Encryption Flaw: Should You Re-Encrypt Your PDFs?
- encryption
- security
- protect pdf
- vulnerability
On 1 December 2026, Foxit patched CVE-2026-130470, a flaw in the AES-256 file encryption of its PDF Reader and PDF Editor: keys were derived from predictable data instead of a secure random source. Update the app first, then re-encrypt any sensitive PDF you protected with an affected version, because an update does not change files already saved.
What is CVE-2026-130470?
CVE-2026-130470 is a "Use of Insufficiently Random Values" weakness, catalogued as CWE-330, in the AES-256 file-encryption code of Foxit PDF Reader and Foxit PDF Editor. Foxit's bulletin says the encryption keys "are derived from predictable data rather than generated using a cryptographically secure random source." The vendor classes the impact as information disclosure and rates it Important, with a CVSS 3.0 score of 7.7.
AES-256 itself is not broken. The cipher is only as strong as its key, and a key built from guessable inputs gives an attacker far fewer possibilities to try than a truly random one. That is the whole point of CWE-330: the algorithm can be sound while the way its secret values are produced is not.
The flaw was reported by Rick de Jager of the V12 security team and fixed in the same release as three other issues, including CVE-2026-130474, which concerns how signed documents updated incrementally are verified.
Which versions are affected, and which fix it?
Foxit published two Windows bulletins and one macOS bulletin on 1 December 2026. The table below lists the products named in them for this CVE.
| Product | Platform | Affected | Fixed in |
|---|---|---|---|
| PDF Reader | Windows | 2026.2.1.39815 and earlier | 2026.2.2 |
| PDF Editor (2026 line) | Windows | 2026.2.1.39815 and all earlier 2026.x | 2026.2.2 |
| PDF Editor (2023, 2024, 2025 lines) | Windows | All listed 2023.x, 2024.x and 2025.x builds | 2026.2.2 |
| PDF Editor 14 | Windows | 14.0.8.33807 and all earlier 14.x | 14.0.9 |
| PDF Editor 13 | Windows | 13.2.7.24160 and earlier | 13.2.8 |
| PDF Editor for Mac | macOS | Releases before the fixed builds | 2026.2.2, 14.0.9 or 13.2.8 |
| PDF Reader for Mac | macOS | Releases before the fixed build | 2026.2.2 |
If your installed version is in the "Affected" column, both the app and the files it encrypted need attention.
How do I update and check my version?
Foxit's own instructions are short. Updating takes a minute and should come before anything else, so that new files are encrypted with the corrected code.
- Open Foxit PDF Reader or Foxit PDF Editor.
- Go to Help, then "About Foxit PDF Reader" or "About Foxit PDF Editor".
- Note the version number and compare it with the table above.
- Click "Check for Update" and install the new build, or download it from Foxit's download page.
- In an organisation, confirm that every managed machine reports the fixed version, not just your own.
Does updating protect PDFs I already encrypted?
No, not by itself. A password-protected PDF stores its encryption parameters inside the file when it is saved, so a patch changes how future files are encrypted but cannot rewrite copies already sitting in folders, email threads or backups. Foxit's bulletin does not say how practical it is to recover the key of an existing file, so the cautious reading is to treat sensitive files protected with an affected version as weaker than you assumed.
The CVSS vector in the bulletin is AV:L, meaning the attacker works with local access, with no privileges and no user interaction required. In plain terms, the risk is highest for a file that has left your control: a copy on a lost laptop, an attachment in someone else's mailbox, or a document on a shared drive.
Which encrypted PDFs should I re-encrypt first?
Start with files that hold data you would have to report or apologise for if it leaked, and with files that have travelled outside your organisation. Encryption that was weak when the file was sent cannot be fixed on the recipient's copy, so for documents already shared, the realistic step is to tell the recipient, ask them to delete the old copy, and send a new one.
A reasonable order of priority:
- Identity documents, payslips, tax forms and medical records.
- Contracts, HR files and board papers sent to outside parties.
- Archives on shared drives or cloud storage where many people have access.
- Routine internal files with nothing sensitive, which can wait or simply be deleted.
How do I re-encrypt a password-protected PDF?
You need the current password; re-encrypting is a two-step job of removing the old protection and applying new protection with a fresh key. Both steps can be done in the browser so the file never leaves your device.
- Open Unlock PDF, add the protected file and enter the password you already know. The tool saves an unprotected copy; it does not crack unknown passwords.
- Open Protect PDF, add the unlocked copy and set a new password. ilovspdfs encrypts it with AES-256 in a Web Worker in your browser, without uploading it.
- Choose a new password rather than reusing the old one, since the old one may have been sent alongside the weak file.
- Delete the unprotected intermediate copy, and replace the old encrypted file wherever it is stored.
- Send the password through a different channel from the file, such as a phone call or a separate messaging app.
The free browser tools on ilovspdfs take files up to 100 MB, need no account and add no watermark, so a batch of tax or HR files can be handled one by one at no cost.
Does a PDF password hide everything in the file?
Not always. The PDF format lets a creator leave the document metadata unencrypted, so a protected file can still reveal a title, author name or the software that produced it. If those fields contain names, client references or internal paths, clear them before you protect the file.
Running the unlocked copy through Clean Metadata between steps 1 and 2 above removes those fields. It is a quick extra step for files going to people outside your organisation.
Key facts
- Foxit published the fix for CVE-2026-130470 on 1 December 2026 for both Windows and macOS.
- The flaw is classed as CWE-330, "Use of Insufficiently Random Values", in Foxit's AES-256 file encryption.
- Foxit rates it Important with a CVSS 3.0 score of 7.7 and a local attack vector (AV:L).
- Fixed versions are PDF Reader 2026.2.2 and PDF Editor 2026.2.2, 14.0.9 or 13.2.8, depending on the product line.
- The vulnerability was credited to Rick de Jager of the V12 security team.
- Updating the app changes how new files are encrypted; files saved before the update keep their original encryption until they are re-encrypted.
Frequently asked questions
Is AES-256 encryption for PDFs still safe?
Yes. CVE-2026-130470 is about how one vendor generated its keys, not about the AES algorithm. A PDF encrypted with AES-256 and a key from a secure random source is not affected by this flaw.
Are PDFs I only opened in an affected version at risk?
The bulletin describes a weakness in the file-encryption implementation, which is used when a file is protected. Opening or reading a PDF that someone else encrypted with different software is not what the advisory describes. The files to review are those you protected yourself with an affected Foxit version.
Can I re-encrypt a PDF if I forgot its password?
No. Removing protection requires the password you set, and the unlock tool on ilovspdfs only works with a password you already know. If the password is lost, the original unencrypted source document is the only route.
Should I change the password when I re-encrypt?
Yes. A new password costs nothing and protects you if the old password was shared in the same email as the weak file. Use a long passphrase and send it separately from the document.
Does this affect PDFs I sent to other people?
Their copies keep the encryption they were sent with, and you cannot change a file on someone else's computer. Send a re-encrypted replacement, ask them to delete the earlier copy, and treat any highly sensitive data in it as potentially exposed.