CVE Vulnerabilities

CVE-2024-25938

Use After Free

Published: Apr 30, 2024 | Modified: Aug 22, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

A use-after-free vulnerability exists in the way Foxit Reader 2024.1.0.23997 handles a Barcode widget. A specially crafted JavaScript code inside a malicious PDF document can trigger reuse of a previously freed object, which can lead to memory corruption and result in arbitrary code execution. An attacker needs to trick the user into opening the malicious file to trigger this vulnerability. Exploitation is also possible if a user visits a specially crafted, malicious site if the browser plugin extension is enabled.

Weakness

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.

Affected Software

Name Vendor Start Version End Version
Pdf_editor Foxit * 11.2.8.53842 (including)
Pdf_editor Foxit 12.0.0.12394 (including) 12.1.4.15400 (including)
Pdf_editor Foxit 13.0.0.21632 (including) 13.0.1.21693 (including)
Pdf_editor Foxit 2023.1.0.15510 (including) 2023.3.0.23028 (including)
Pdf_editor Foxit 2024.1.0.23997 (including) 2024.1.0.23997 (including)
Pdf_reader Foxit 2024.1.0.23997 (including) 2024.1.0.23997 (including)

Potential Mitigations

References