CVE-2024-4367: Arbitrary JavaScript execution in Mozilla PDF.js
- Vendors
- Debian ProjectMozillaOpen-Xchange
CVE-2024-4367 is an arbitrary JavaScript execution vulnerability in Mozilla PDF.js caused by a missing type check during PDF font handling. A specially crafted PDF can cause attacker-controlled JavaScript to execute in the PDF.js context when rendered. Affected Mozilla products include Firefox before 126, Firefox ESR before 115.11, and Thunderbird before 115.11. Applications embedding vulnerable PDF.js components are also exposed, including affected Gogs, Odoo, and Siemens Teamcenter deployments.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the JavaScript execution context of the PDF viewer. In web applications embedding the viewer, this can enable cross-site scripting, disclosure of data accessible to the viewer's origin, modification of displayed content, and actions using the victim's authenticated session. In affected Gogs deployments, potential consequences include session compromise and access to repository information available to the victim. Native operating-system code execution or a sandbox escape is not established by this vulnerability alone.
Mitigation
If you can’t patch tonight, do this now.
Until updates are deployed, avoid opening or previewing untrusted PDFs with affected viewers. Disable or restrict PDF preview functionality where possible, and limit repository upload permissions in affected Gogs deployments. Restrict access to affected application interfaces. For embedded web viewers, a strict Content Security Policy and origin isolation may reduce exposure or impact where supported, but do not replace patching.
Remediation
Patch, then assume compromise.
Upgrade Firefox to 126 or later, Firefox ESR to 115.11 or later, and Thunderbird to 115.11 or later, preferably using currently supported releases or vendor-patched distribution packages. Update applications that bundle vulnerable PDF.js rather than relying solely on browser updates. Upgrade Gogs to 0.13.3 or later, which replaces its obsolete PDF.js component with version 5.2.133. For Siemens Teamcenter, apply V2312.0009 or later within the V2312 branch, or V2406.0006 or later within the V2406 branch. Fixed Odoo versions are not specified.
Exploits
29 exploits validated by Mallory's analysis. Hidden: 5 rejected by Mallory's analysis as not a working exploit; 6 not yet analyzed, such as Exploit-DB entries. Showing the 25 most capable, earliest first.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-4367 exploited in the wild?
- As of Nov 14, 2026, Mallory has no reports of CVE-2024-4367 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-4367?
- Yes. Mallory tracks 29 public exploits or proofs of concept for CVE-2024-4367, the earliest disclosed May 20, 2024.
- Is there a patch for CVE-2024-4367?
- Upgrade Firefox to 126 or later, Firefox ESR to 115.11 or later, and Thunderbird to 115.11 or later, preferably using currently supported releases or vendor-patched distribution packages. Update applications that bundle vulnerable PDF.js rather than relying solely on browser updates.
- What products are affected by CVE-2024-4367?
- Mozilla Firefox, Mozilla Firefox Esr, Mozilla Thunderbird, Debian Project Debian Linux, and Open-Xchange Appsuite Frontend.
- How severe is CVE-2024-4367?
- CVE-2024-4367 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 70.7% (99th percentile) as of Nov 14, 2026.
Recent activity
54 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.