CVE-2024-4367
HIGH 8.8CVSS 3.1PDF.js vulnerable to arbitrary JavaScript execution upon opening a malicious PDF
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.
- Published
- 14 May 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security@mozilla.org
- NVD status
- Modified
- Weakness
- CWE-754
- Also known as
- GHSA-wgrm-67xf-hhpq
- Sources
- NVDJSONOSV GHSA-wgrm-67xf-hhpqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:* |
< 115.11.0 | 115.11.0 |
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:*:*:*:*:-:*:*:* |
< 126.0 | 126.0 |
| NVD | mozilla | thunderbirdcpe:2.3:a:mozilla:thunderbird:*:*:*:*:*:*:*:* |
< 115.11.0 | 115.11.0 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:*:*:*:*:*:*:*:* |
< 7.10.6 | 7.10.6 |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:-:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision10:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision11:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision12:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision13:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision14:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision15:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision16:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision17:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision18:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision19:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision20:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision21:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision22:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision23:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision24:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision25:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision26:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision27:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision28:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision29:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision3:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision30:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision31:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision32:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision33:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision34:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision35:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision36:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision37:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision38:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision39:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision4:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision40:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision41:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision42:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision43:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision44:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision5:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision6:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision7:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision8:*:*:*:*:*:* |
= 7.10.6 | |
| NVD | open-xchange | open-xchange_appsuite_frontendcpe:2.3:a:open-xchange:open-xchange_appsuite_frontend:7.10.6:revision9:*:*:*:*:*:* |
= 7.10.6 | |
| OSV | npm | pdfjs-dist | < 4.2.67 | 4.2.67 |
References
- https://bugzilla.mozilla.org/show_bug.cgi?id=1893645 · Issue Tracking, WEB
- https://lists.debian.org/debian-lts-announce/2024/05/msg00010.html · Mailing List, WEB
- https://lists.debian.org/debian-lts-announce/2024/05/msg00012.html · Mailing List, WEB
- https://www.mozilla.org/security/advisories/mfsa2024-21/ · Vendor Advisory, WEB
- https://www.mozilla.org/security/advisories/mfsa2024-22/ · Vendor Advisory, WEB
- https://www.mozilla.org/security/advisories/mfsa2024-23/ · Vendor Advisory, WEB
- http://seclists.org/fulldisclosure/2024/Aug/30 · Mailing List, WEB
- https://codeanlabs.com/blog/research/cve-2024-4367-arbitrary-js-execution-in-pdf-js/ · WEB
- https://github.com/gogs/gogs/issues/7928 · WEB
- https://github.com/mozilla/pdf.js/releases/tag/v4.2.67 · WEB
- https://www.exploit-db.com/exploits/52273 · WEB
- https://cert-portal.siemens.com/productcert/html/ssa-827383.html · WEB
- https://github.com/mozilla/pdf.js/security/advisories/GHSA-wgrm-67xf-hhpq · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-4367 · ADVISORY
- https://github.com/mozilla/pdf.js/pull/18015 · WEB
- https://github.com/mozilla/pdf.js/commit/85e64b5c16c9aaef738f421733c12911a441cec6 · WEB
- https://github.com/mozilla/pdf.js · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 14 May 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 May 2024)