CVE-2024-4367: CVE-2024-4367: A type check was missing when handling fonts in PDF.js, which would allow arbitrary JavaSc…
mozilla · firefox · NVD published 2024-05-14 · posted 2024-05-20 · last modified 2026-06-17
What it is
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.
| Weakness | CWE-754 |
|---|---|
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (source: [email protected]) |
| ATT&CK tactics | n/a |
Exploitation evidence
First exploit evidence seen: 2024-05-20 (earliest date across the sources below).
Exploited in the wild
No source on this site lists in-the-wild exploitation yet (CISA KEV, VulnCheck KEV).
Public exploit code
Exploit-DB
- EDB-52273: Firefox ESR 115.11 - PDF.js Arbitrary JavaScript execution (2025-04-22)
GitHub proof-of-concept repositories
28 public repositories from 28 accounts, first seen 2024-05-20. Most starred: LOURC0D3/CVE-2024-4367-PoC (202 stars), view repository.
Verify before running: public PoCs can be malicious. Read the code and only run it in an isolated lab. A PoC means exploit code is public, not that this CVE is exploited in the wild.
Sources: Exploit-DB (OffSec) · nomi-sec/PoC-in-GitHub.
No ATT&CK techniques could be mapped or inferred for this CVE yet.
How to fix it
Fixed versions
- mozilla firefox: upgrade to 115.11.0 or later
- mozilla firefox: upgrade to 126.0 or later
- mozilla thunderbird: upgrade to 115.11.0 or later
- open-xchange open-xchange appsuite frontend: upgrade to 7.10.6 or later
Derived from the NVD CPE configuration (versionEndExcluding / versionEndIncluding). Always confirm with the vendor advisory.
Vendor advisories and patches
- https://www.mozilla.org/security/advisories/mfsa2024-21/ (Vendor Advisory)
- https://www.mozilla.org/security/advisories/mfsa2024-22/ (Vendor Advisory)
- https://www.mozilla.org/security/advisories/mfsa2024-23/ (Vendor Advisory)
Detection Generic guidance
Response checklist Generic guidance
- Inventory: find every instance of the affected product and version (include internet-facing and forgotten ones).
- Patch or mitigate per the vendor advisory; if you cannot patch, remove internet exposure or apply the vendor workaround.
- Assume compromise if the system was exposed before patching: hunt for the indicators in the advisory and review logs back to the disclosure date.
- Rotate credentials and secrets stored on or used by the affected system if compromise cannot be ruled out.
Sources
- NVD: CVE-2024-4367
- CVE.org record
- FIRST EPSS (2026-10-24)
- https://bugzilla.mozilla.org/show_bug.cgi?id=1893645 (Issue Tracking)
- https://lists.debian.org/debian-lts-announce/2024/05/msg00010.html (Mailing List)
- https://lists.debian.org/debian-lts-announce/2024/05/msg00012.html (Mailing List)
- http://seclists.org/fulldisclosure/2024/Aug/30 (Mailing List)
- https://codeanlabs.com/blog/research/cve-2024-4367-arbitrary-js-execution-in-pdf-js/
- https://github.com/gogs/gogs/issues/7928
- https://github.com/mozilla/pdf.js/releases/tag/v4.2.67
- https://www.exploit-db.com/exploits/52273
- https://cert-portal.siemens.com/productcert/html/ssa-827383.html