CVE-2024-25938 in Foxit Pdf Reader and 3 more products
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 t...
Affects 4 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Foxit | Pdf Reader | 2024.1.0.23997 |
| Foxit | Pdf Editor | 2024.1.0.23997 ≤ 11.2.8.53842 ≥ 12.0.0.0601, ≤ 12.1.2.55366 ≥ 12.0.0.12394, ≤ 12.1.4.15400 ≥ 13.0.0.21632, ≤ 13.0.1.21693 ≥ 13.0.0.61829, ≤ 13.0.1.61866+1 more≥ 2023.1.0.15510, ≤ 2023.3.0.23028 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Apple Macos, Microsoft Windows
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-25938 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-190820-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2024-04-30 |
| Last modified | 2025-11-04 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Analysis AI-written, not human-reviewed
A use-after-free vulnerability in Foxit Reader 2024.1.0.23997 can lead to arbitrary code execution when a user opens a malicious PDF document containing specially crafted JavaScript code.
The vulnerability is triggered by a specially crafted JavaScript code inside a malicious PDF document that causes the reuse of a previously freed object, leading to memory corruption.
Questions
What is CVE-2024-25938?
A use-after-free vulnerability in Foxit Reader 2024.1.0.23997 can lead to arbitrary code execution when a user opens a malicious PDF document containing specially crafted JavaScript code.
What is the CVSS score for CVE-2024-25938?
CVE-2024-25938 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 1.1%.
Is CVE-2024-25938 actively exploited?
No confirmed active exploitation of CVE-2024-25938 as of 2026-05-30.
How do I remediate CVE-2024-25938?
Priority: IMMEDIATE.
What systems are affected by CVE-2024-25938?
CVE-2024-25938 affects Foxit Pdf Reader, Pdf Editor.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Foxit","product":"Pdf Reader","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-11-04.