WaratekVRT Sign in

CVE-2024-4367

Affected software3 products, listed below
Severity8.8 High CVSS 3.1 2 scores
WeaknessCWE-754
Published14 May 2024
Updated17 Jun 2026

Description

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.

Exploitation status

Working exploit published

A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: total.
  • Indexed PoC 25 indexed Published artifacts you can open, in Exploit-DB, GitHub PoC; first seen 2024-05-20.
  • EPSS 71% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99% of all scored CVEs.

2 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC CVE-2024-4367 & CVE-2024-34342 Proof of Concept 203 2024-05-20
Exploit-DB Firefox ESR 115.11 - PDF.js Arbitrary JavaScript execution 2025-04-22
GitHub PoC CVE-2024-4367 arbitrary js execution in pdf js 57 2024-05-20
GitHub PoC PDF.js是由Mozilla维护的基于JavaScript的PDF查看器。此漏洞允许攻击者在打开恶意 PDF 文件后立即执行任意 JavaScript 代码。这会影响所有 Firefox 用户 (<126),因为 Firefox 使用 PDF.js 来显示 PDF 文件,但也严重影响了许多基于 Web 和 Electron 的应用程序,这些应用程序(间接)使用 PDF.js 进行预览功能。 12 2024-06-13
GitHub PoC YARA detection rule for CVE-2024-4367 arbitrary javascript execution in PDF.js 11 2024-05-22
GitHub PoC This 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 10 2024-06-17
GitHub PoC PoC - Prueba de Concepto de CVE-2024-4367 en conjunto al CVE-2023-38831 en un solo Script 6 2024-06-19
GitHub PoC Analysis and PoC for CVE-2024-4367: arbitrary JavaScript execution (XSS) in PDF.js 5 2024-09-04
GitHub PoC This 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 4 2024-05-22
GitHub PoC CVE-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. 3 2025-01-05

Waratek protection

Outside Waratek scope

A Java vulnerability, but not one Waratek protects. It affects only Java on a user's desktop (applets, Web Start, JavaFX, the installer), sits in a product the Waratek agent can't be installed into, or is in a package we don't expect in business applications. The decision below says which.

  • Protection none
  • Action not pursued none
  • Review automated Upstream data
  • Record active
Decided by Oracle's own risk-matrix note saying the CVE is reached only through untrusted code in the Java sandbox (applets, Web Start) or only through a client installation of Java, so a server running its own trusted code is not exposed
Finding The Oracle Critical Patch Update October 2026 advisory says this vulnerability is reached only through untrusted code running in the Java sandbox, such as an applet or a Web Start application: "This vulnerability applies to Java deployments, typically in clients running sandboxed Java Web Start applications or sandboxed Java applets, that load and run untrusted code (e.g., code that comes from the internet) and rely on the Java sandbox for security. This vulnerability does not apply to Java deployments, typically in servers, that load and run only trusted code (e.g., code installed by an administrator)." A server JVM that runs only its own trusted code is not exposed, so there is nothing for the agent to protect.

CVSS

8.8 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H NVD Primary published
CVSS 3.1 5.6 MEDIUM CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L CISA-ADP Secondary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update October 2026 ↗ CPU 2026-Q4 Oracle Java SE / JavaFX (WebKitGTK) (Oracle Java SE: 8u503; Oracle JavaFX: 21.0.12, 25.0.4, 27)
Oracle's note: This vulnerability applies to Java deployments, typically in clients running sandboxed Java Web Start applications or sandboxed Java applets, that load and run untrusted code (e.g., code that comes from the internet) and rely on the Java sandbox for security. This vulnerability does not apply to Java deployments, typically in servers, that load and run only trusted code (e.g., code installed by an administrator).

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Java SE JavaFX (WebKitGTK) Oracle Java SE: 8u503; Oracle JavaFX: 21.0.12, 25.0.4, 27 8.0.503.0 · 21.0.12.0 · 25.0.4.0 · 27.0.0.0

Products and versions

4 products, 48 version entries
SourceVendorProductSchemeAffected versions
nvd debian debian linux generic 10.0
nvd mozilla firefox generic < 115.11.0 · < 126.0
nvd mozilla thunderbird generic < 115.11.0
nvd open-xchange open-xchange appsuite frontend generic 7.10.6 · < 7.10.6 · 7.10.6:revision3 · 7.10.6:revision4 · 7.10.6:revision5 · 7.10.6:revision6 · 7.10.6:revision7 · 7.10.6:revision8 · 7.10.6:revision9 · 7.10.6:revision10 · 7.10.6:revision11 · 7.10.6:revision12 · 7.10.6:revision13 · 7.10.6:revision14 · 7.10.6:revision15 · 7.10.6:revision16 · 7.10.6:revision17 · 7.10.6:revision18 · 7.10.6:revision19 · 7.10.6:revision20 · 7.10.6:revision21 · 7.10.6:revision22 · 7.10.6:revision23 · 7.10.6:revision24 · 7.10.6:revision25 · 7.10.6:revision26 · 7.10.6:revision27 · 7.10.6:revision28 · 7.10.6:revision29 · 7.10.6:revision30 · 7.10.6:revision31 · 7.10.6:revision32 · 7.10.6:revision33 · 7.10.6:revision34 · 7.10.6:revision35 · 7.10.6:revision36 · 7.10.6:revision37 · 7.10.6:revision38 · 7.10.6:revision39 · 7.10.6:revision40 · 7.10.6:revision41 · 7.10.6:revision42 · 7.10.6:revision43 · 7.10.6:revision44

References

URLTags
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
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
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

Timeline

Published2024-05-14By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.