patchminder
Proof of concept · Exploit-DB CVE-2024-4367

Vulnerabilityin Mozilla Firefox.

Published 14 May 2024 · Updated 12 May 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (Exploit-DB).

Attack code is public
Severity
Medium 5.6
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 76.1% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

A type check was missing when handling fonts in PDF.js, which would allow arbitrary JavaScript execution in the PDF.js context. This vulnerability affects Firefox < 126, Firefox ESR < 115.11, and Thunderbird < 115.11.

What to do now
  • Upgrade Firefox to 126 or later.
  • Upgrade Firefox ESR to 115.11 or later.
  • Upgrade Thunderbird to 115.11 or later.
  • Upgrade pdfjs-dist (npm) to 4.2.67 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Firefox
before 126
126
CVE record
Firefox ESR
before 115.11
115.11
CVE record
Thunderbird
before 115.11
115.11
CVE record
pdfjs-dist (npm)
before 4.2.67
4.2.67
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 30 Apr 2024
    CVE ID reserved by mozilla.
  2. 14 May 2024
    Published in the CVE List.
  3. 20 May 2024
    First public proof of concept on GitHub.
  4. 12 May 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (Exploit-DB). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
1 entry
GitHub proof of concepts
33 repositories
Exploit-DBEDB-ID 52273remote exploit for multiple, published 22 Apr 2025
GitHubno warning signs foundLOURC0D3/CVE-2024-4367-PoC203 stars · created 20 May 2024CVE-2024-4367 & CVE-2024-34342 Proof of Concept
GitHubno warning signs founds4vvysec/CVE-2024-4367-POC57 stars · created 20 May 2024CVE-2024-4367 arbitrary js execution in pdf js
GitHubno warning signs foundZombie-Kaiser/cve-2024-4367-PoC-fixed12 stars · created 13 Jun 2024PDF.js是由Mozilla维护的基于JavaScript的PDF查看器。此漏洞允许攻击者在打开恶意 PDF 文件后立即执行任意 JavaScript 代码。这会影响所有 Firefox 用户 (<126)
GitHubno warning signs foundspaceraccoon/detect-cve-2024-436711 stars · created 22 May 2024YARA detection rule for CVE-2024-4367 arbitrary javascript execution in PDF.js
GitHubno warning signs foundsnyk-labs/pdfjs-vuln-demo9 stars · created 17 Jun 2024This project is intended to serve as a proof of concept to demonstrate exploiting the vulnerability in the PDF.js (pdfjs-dist) library reported in CVE-2024-4367
GitHubno warning signs foundUnHackerEnCapital/PDFernetRemotelo6 stars · created 19 Jun 2024PoC · Prueba de Concepto de CVE-2024-4367 en conjunto al CVE-2023-38831 en un solo Script
GitHubno warning signs foundMasamuneee/CVE-2024-4367-Analysis5 stars · created 4 Sep 2024Analysis and PoC for CVE-2024-4367: arbitrary JavaScript execution (XSS) in PDF.js
GitHubno warning signs foundclarkio/pdfjs-vuln-demo4 stars · created 22 May 2024This project is intended to serve as a proof of concept to demonstrate exploiting the vulnerability in the PDF.js (pdfjs-dist) library reported in CVE-2024-4367
GitHubno warning signs foundexfil0/WEAPONIZING-CVE-2024-43673 stars · created 5 Jan 2025CVE-2024-4367 is a critical vulnerability (CVSS 9.8) in PDF.js, allowing arbitrary JavaScript code execution due to insufficient type checks on the FontMatrix object within PDF files.
GitHubno warning signs foundAnomalousVectors/cve-2024-4367-poc2 stars · created 28 Jun 2025POC for PDF JS' CVE-2024-4367 vuln

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Firefox vulnerabilities

Same weakness: Improper check for unusual conditions

All CWE-754 vulnerabilities

References
Cite this page

Patchminder. CVE-2024-4367: Vulnerability in Mozilla Firefox. https://patchminder.com/cve/cve-2024-4367/ (accessed 5 December 2026).