Back
CVE-2024-4367
A type check was missing when handling fonts in PDF.js, which would allow arbitrary JavaScript execution in the PDF.js context. This…
Medium5.6EPSS 70.7%
- Published
- Updated
- Reserved
- Assigned by
- mozilla
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 70.7% · top 0.6% of all CVEs (5 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: total
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.6.
Weakness
- Arbitrary JavaScript execution in PDF.js
- CWE-754 Improper Check for Unusual or Exceptional Conditions (opens in a new tab)All about CWE-754 and its CVEs
Affected products
- affected unspecified – < 126
- affected unspecified – < 115.11
- affected unspecified – < 115.11
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmpdfjs-distGHSA-wgrm-67xf-hhpq (opens in a new tab)
References (12)
- https://bugzilla.mozilla.org/show_bug.cgi?id=1893645 (opens in a new tab)x_transferred
- https://www.mozilla.org/security/advisories/mfsa2024-21/ (opens in a new tab)x_transferred
- https://www.mozilla.org/security/advisories/mfsa2024-22/ (opens in a new tab)x_transferred
- https://www.mozilla.org/security/advisories/mfsa2024-23/ (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2024/05/msg00010.html (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2024/05/msg00012.html (opens in a new tab)x_transferred
- http://seclists.org/fulldisclosure/2024/Aug/30 (opens in a new tab)
- https://github.com/mozilla/pdf.js/releases/tag/v4.2.67 (opens in a new tab)
- https://codeanlabs.com/blog/research/cve-2024-4367-arbitrary-js-execution-in-pdf-js/ (opens in a new tab)
- https://github.com/gogs/gogs/issues/7928 (opens in a new tab)
- https://www.exploit-db.com/exploits/52273 (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-827383.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-wgrm-67xf-hhpq (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-4367)Record last updated .