A use-after-free vulnerability exists in the annotation handling of Foxit PDF Reader before 2025.2.1, 14.0.1, and 13.2.1 on Windows and MacOS. When opening a PDF containing specially crafted JavaScript, a pointer to memory that has already been freed may be accessed or dereferenced, potentially allowing a remote attacker to execute arbitrary code.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Pdf_editor | Foxit | * | 13.2.1.23955 (including) |
| Pdf_editor | Foxit | 14.0.0.33046 (including) | 14.0.1.33197 (including) |
| Pdf_editor | Foxit | 2023.1.0.15510 (including) | 2023.3.0.23028 (including) |
| Pdf_editor | Foxit | 2024.1.0.23997 (including) | 2024.4.1.27687 (including) |
| Pdf_editor | Foxit | 2025.1.0.27937 (including) | 2025.2.1.33197 (including) |
| Pdf_reader | Foxit | * | 2025.2.1.33197 (including) |