CVE-2025-55313CWE-94code-injection

CVE-2025-55313

High · published December 11, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
6.6
In the wild
Unconfirmed
What it is

⚡ A crafted PDF could unleash chaos! A seemingly harmless file, when opened, might just execute arbitrary code on your computer! Think of it like a restaurant serving a dish that looks delicious, but the chef forgot to check the ingredients—one bad item could spoil the entire meal! In this case, a malicious PDF can corrupt memory and serve up something nasty instead of what you expect. If a user opens this tainted PDF, an attacker could gain full control of their system. That's right, they might be able to install malware, steal sensitive data, or wreak havoc—this is definitely not a dinner party you want to attend!

Put simply

Think of it like a restaurant serving a dish that looks delicious, but the chef forgot to check the ingredients—one bad item could spoil the entire meal! In this case, a malicious PDF can corrupt memory and serve up something nasty instead of what you expect. This vulnerability arises from inadequate handling of memory allocation failures when a user sets an extremely large value for the charLimit property in a PDF form field via JavaScript. This oversight can lead to memory corruption and arbitrary code execution.

What to do

If a user opens this tainted PDF, an attacker could gain full control of their system. That's right, they might be able to install malware, steal sensitive data, or wreak havoc—this is definitely not a dinner party you want to attend! Immediate action? Upgrade to Foxit PDF and Editor version 13.2 or 2025.2 to patch this vulnerability. Additionally, educate your users about the risks of opening unknown PDF files, and consider implementing security measures that limit the execution of potentially harmful scripts. You've got this! By following these steps, you’ll strengthen your defenses and keep your systems safe. 🛡️

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00175 · 6.6th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2025-12-11T21:16Z
Affected products (9)
ProductVersionsFixed in
foxit/pdf_editor≥ 2023.1.0.15510, ≤ 2023.3.0.23028—
foxit/pdf_editor≥ 2024.1.0.23997, ≤ 2024.4.1.27687—
foxit/pdf_editorall versions—
foxit/pdf_reader≤ 2025.1.0.27937—
foxit/pdf_editor≤ 13.1.7.63027—
foxit/pdf_editor≥ 2023.1.0.55583, ≤ 2023.3.0.63083—
foxit/pdf_editor≥ 2024.1.0.63682, ≤ 2024.4.1.66479—
foxit/pdf_editorall versions—
foxit/pdf_reader≤ 2025.1.0.66692—
References (1)
EPSS history
Timeline
  • 11 DEC 00:00Z
    An issue was discovered in Foxit PDF and Editor for Windows and macOS before 13.2 and 2025 before 2025.2
    cvelistv5