CVE-2024-4367 json
PDF.js vulnerable to arbitrary JavaScript execution upon opening a malicious PDF
published 2024-05-07 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-1831 , GHSA-wgrm-67xf-hhpq
- cvss
- 5.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 70.7%
- EPSS 70.7% chance of exploitation in 30 days, percentile 99.3%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- npm pdfjs-dist 4.2.67
- Mozilla Firefox 126
- Mozilla Firefox ESR 115.11
- Mozilla Thunderbird 115.11
- mozilla firefox_esr 115.11
- Siemens Teamcenter V2312 V2312.0009
- Siemens Teamcenter V2406 V2406.0006
- wpewebkit Debian 14 2.52.5-1
- webkit2gtk Debian 13 2.52.5-1~deb13u1
- webkit2gtk Debian 14 2.52.5-1
- firefox-esr Debian 12 115.11.0esr-1~deb12u1
- firefox-esr Debian 14, Debian 13 115.11.0esr-1
- thunderbird Debian 12 1:115.11.0-1~deb12u1
- thunderbird Debian 14, Debian 13 1:115.11.0-1
debian advisories DEBIAN-CVE-2024-4367
- firefox Ubuntu 20.04 LTS 126.0+build2-0ubuntu0.20.04.1
- thunderbird Ubuntu 20.04 LTS 1:115.11.0+build2-0ubuntu0.20.04.1
- thunderbird Ubuntu 22.04 LTS 1:115.11.0+build2-0ubuntu0.22.04.1
ubuntu advisories UBUNTU-CVE-2024-4367
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- webkit2gtk3 RHEL 8 2.52.5-1.el8_10
- webkit2gtk3-jsc RHEL 8 2.52.5-1.el8_10
- webkit2gtk3 RHEL 9 2.52.5-1.el9_8
- webkit2gtk3-jsc RHEL 9 2.52.5-1.el9_8
- thunderbird RHEL 8 115.11.0-1.el8_10
- firefox RHEL 8 115.11.0-1.el8_10
- thunderbird RHEL 9 115.11.0-1.el9_4
- firefox RHEL 7 115.11.0-1.el7_9
red hat advisories RHSA-2026:59325RHSA-2026:59326RHSA-2026:58564RHSA-2026:58550RHSA-2026:57348RHSA-2026:54634
- webkit2gtk3 SLES 16.0, SLES for SAP applications 16.0 2.52.5-160000.1.1
- webkit2gtk4 SLES 16.0, SLES for SAP applications 16.0 2.52.5-160000.1.1
- webkit2gtk3 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 2.52.5-150400.4.146.1
- webkit2gtk4 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 2.52.5-150400.4.146.1
- webkit2gtk3-soup2 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 2.52.5-150400.4.146.1
- webkit2gtk3 SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Desktop Applications 15 SP7 2.52.5-150600.12.71.1
- webkit2gtk4 SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Development Tools 15 SP7 +1 more 2.52.5-150600.12.71.1
- webkit2gtk3-soup2 SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Basesystem 15 SP7 2.52.5-150600.12.71.1
suse advisories SUSE-SU-2026:3555-1SUSE-SU-2026:23111-1SUSE-SU-2026:23133-1SUSE-SU-2026:3396-1SUSE-SU-2026:3338-1SUSE-SU-2024:1858-1
- webkit2gtk3 openSUSE Leap 16.0 2.52.5-160000.1.1
- webkit2gtk4 openSUSE Leap 16.0 2.52.5-160000.1.1
- webkit2gtk3-soup2 openSUSE Leap 16.0 2.52.5-160000.1.1
- firefox-esr openSUSE Tumbleweed 128.5.1-1.1
- MozillaFirefox openSUSE Tumbleweed 126.0-1.1
- MozillaThunderbird openSUSE Tumbleweed 115.11.0-1.1
opensuse advisories openSUSE-SU-2026:21508-1openSUSE-SU-2024:14572-1openSUSE-SU-2024:13980-1openSUSE-SU-2024:13981-1
- webkit2gtk3 AlmaLinux 9 2.52.5-1.el9_8
- webkit2gtk3-jsc AlmaLinux 9 2.52.5-1.el9_8
- webkit2gtk3 AlmaLinux 8 2.52.5-1.el8_10
- webkit2gtk3-jsc AlmaLinux 8 2.52.5-1.el8_10
- firefox AlmaLinux 8 115.11.0-1.el8_10.alma.1
- thunderbird AlmaLinux 8 115.11.0-1.el8_10.alma.1
- firefox AlmaLinux 9 115.11.0-1.el9_4.alma.1
- firefox-x11 AlmaLinux 9 115.11.0-1.el9_4.alma.1
almalinux advisories ALSA-2026:42062ALSA-2026:42088ALSA-2024:3783ALSA-2024:3784ALSA-2024:2883ALSA-2024:2888
- webkit2gtk3 Rocky Linux 9 2.52.5-1.el9_8
- webkit2gtk3 Rocky Linux 8 2.52.5-1.el8_10
- thunderbird Rocky Linux 9 115.11.0-1.el9_4
- firefox Rocky Linux 8 115.11.0-1.el8_10
- thunderbird Rocky Linux 8 115.11.0-1.el8_10
rocky linux advisories RLSA-2026:42062RLSA-2026:42088RLSA-2024:2888RLSA-2024:3783RLSA-2024:3784
- github.com/mozilla/pdf.js@85e64b5 commit
- github.com/mozilla/pdf.js#18015 pull request
- github.com/mozilla/pdf.js/releases/tag/v4.2.67 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-4367 updated cvss 7.5
Mozilla: Arbitrary JavaScript execution in PDF.js
-
Red Hat Enterprise Linux 6 firefox, pywebkitgtk, thunderbirdaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 webkitgtk3, libwebkit2gtkaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux AppStream (v. 8) firefox 115.11.0-1.el8_10, webkit2gtk3 2.52.5-1.el8_10, thunderbird 115.11.0-1.el8_10, webkit2gtk3-jsc 2.52.5-1.el8_10fixed: vendor fix RHSA-2024:3783
-
Red Hat Enterprise Linux AppStream (v. 9) firefox 115.11.0-1.el9_4, webkit2gtk3 2.52.5-1.el9_8, firefox-x11 115.11.0-1.el9_4, thunderbird 115.11.0-1.el9_4, webkit2gtk3-jsc 2.52.5-1.el9_8fixed: vendor fix RHSA-2024:2883
-
Red Hat Enterprise Linux AppStream AUS (v. 8.2) firefox 115.11.0-1.el8_2, thunderbird 115.11.0-1.el8_2fixed: vendor fix RHSA-2024:2882
-
Red Hat Enterprise Linux AppStream AUS (v.8.4) firefox 115.11.0-1.el8_4, webkit2gtk3 2.52.5-1.el8_4, thunderbird 115.11.0-1.el8_4, webkit2gtk3-jsc 2.52.5-1.el8_4fixed: vendor fix RHSA-2024:2886
-
Red Hat Enterprise Linux AppStream AUS (v.8.6) webkit2gtk3 2.52.5-1.el8_6, webkit2gtk3-jsc 2.52.5-1.el8_6fixed: vendor fix RHSA-2026:59325
-
Red Hat Enterprise Linux AppStream E4S (v.8.4) firefox 115.11.0-1.el8_4, thunderbird 115.11.0-1.el8_4fixed: vendor fix RHSA-2024:2886
show 18 moreshow fewer
-
Red Hat Enterprise Linux AppStream E4S (v.8.8) webkit2gtk3 2.52.5-1.el8_8, webkit2gtk3-jsc 2.52.5-1.el8_8fixed: vendor fix RHSA-2026:59326
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) webkit2gtk3 2.52.5-1.el9_2, webkit2gtk3-jsc 2.52.5-1.el9_2fixed: vendor fix RHSA-2026:58550
-
Red Hat Enterprise Linux AppStream E4S (v.9.4) webkit2gtk3 2.52.5-1.el9_4, webkit2gtk3-jsc 2.52.5-1.el9_4fixed: vendor fix RHSA-2026:54634
-
Red Hat Enterprise Linux AppStream EUS (v.8.6) firefox 115.11.0-1.el8_6, thunderbird 115.11.0-1.el8_6fixed: vendor fix RHSA-2024:2887
-
Red Hat Enterprise Linux AppStream EUS (v.8.8) firefox 115.11.0-1.el8_8, thunderbird 115.11.0-1.el8_8fixed: vendor fix RHSA-2024:2885
-
Red Hat Enterprise Linux AppStream EUS (v.9.0) firefox 115.11.0-1.el9_0, thunderbird 115.11.0-1.el9_0fixed: vendor fix RHSA-2024:2884
-
Red Hat Enterprise Linux AppStream EUS (v.9.2) firefox 115.11.0-1.el9_2, firefox-x11 115.11.0-1.el9_2, thunderbird 115.11.0-1.el9_2fixed: vendor fix RHSA-2024:2906
-
Red Hat Enterprise Linux AppStream EUS (v.9.6) webkit2gtk3 2.52.5-1.el9_6, webkit2gtk3-jsc 2.52.5-1.el9_6fixed: vendor fix RHSA-2026:54572
-
Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) webkit2gtk3 2.52.5-1.el8_4, webkit2gtk3-jsc 2.52.5-1.el8_4fixed: vendor fix RHSA-2026:57348
-
Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6) webkit2gtk3 2.52.5-1.el8_6, webkit2gtk3-jsc 2.52.5-1.el8_6fixed: vendor fix RHSA-2026:59325
-
Red Hat Enterprise Linux AppStream TUS (v.8.4) firefox 115.11.0-1.el8_4, thunderbird 115.11.0-1.el8_4fixed: vendor fix RHSA-2024:2886
-
Red Hat Enterprise Linux AppStream TUS (v.8.8) webkit2gtk3 2.52.5-1.el8_8, webkit2gtk3-jsc 2.52.5-1.el8_8fixed: vendor fix RHSA-2026:59326
-
Red Hat Enterprise Linux Client (v. 7) firefox 115.11.0-1.el7_9, thunderbird 115.11.0-1.el7_9 Red Hat Enterprise Linux Client Optional (v. 7) firefox 115.11.0-1.el7_9fixed: vendor fix RHSA-2024:2881
-
Red Hat Enterprise Linux Server (v. 7 ELS) webkitgtk4 2.52.5-1.el7_9, webkitgtk4-jsc 2.52.5-1.el7_9fixed: vendor fix RHSA-2026:58564
-
Red Hat Enterprise Linux Server (v. 7) firefox 115.11.0-1.el7_9fixed: vendor fix RHSA-2024:2881
-
Red Hat Enterprise Linux Server Optional (v. 7 ELS) webkitgtk4-doc 2.52.5-1.el7_9, webkitgtk4-devel 2.52.5-1.el7_9, webkitgtk4-debuginfo 2.52.5-1.el7_9, webkitgtk4-jsc-devel 2.52.5-1.el7_9fixed: vendor fix RHSA-2026:58564
-
Red Hat Enterprise Linux Server Optional (v. 7) firefox 115.11.0-1.el7_9, thunderbird 115.11.0-1.el7_9 Red Hat Enterprise Linux Workstation (v. 7) firefox 115.11.0-1.el7_9, thunderbird 115.11.0-1.el7_9 Red Hat Enterprise Linux Workstation Optional (v. 7) firefox 115.11.0-1.el7_9fixed: vendor fix RHSA-2024:2881
-
Red Hat Enterprise Linux 6 webkitgtknot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-26-134-04 updated cvss 5.6
Siemens Teamcenter
-
Siemens Teamcenter V2312 < 2312.0009affected: fixed in V2312.0009 support.sw.siemens.com
-
Siemens Teamcenter V2406 < 2406.0006affected: fixed in V2406.0006 support.sw.siemens.com
-
Siemens Teamcenter V2512not affected: component not present
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Timeline
- Published
- First public exploit (EDB-52273)
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 20 mo ago
Exploit prediction
70.66% chance of exploitation in the next 30 days, higher than 99.3% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-52273 Firefox ESR 115.11 - PDF.js Arbitrary JavaScript execution remote, 2025-04-22
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | pdfjs-dist | <4.2.67 |
4.2.67 |
Affected products
- Mozilla Firefox
- Mozilla Firefox ESR
- Mozilla Thunderbird
- mozilla firefox_esr
- Siemens Teamcenter V2312
- Siemens Teamcenter V2406
- Siemens Teamcenter V2512
Classification
- Weakness
-
- CWE-754 Improper Check for Unusual or Exceptional Conditions
References
-
github.com
/mozilla/pdf.js/pull/18015
web
-
github.com
/mozilla/pdf.js/commit/85e64b5c16c9aaef738f421733c12911a441cec6
web
-
mozilla.org
/security/advisories/mfsa2024-21/
vendor-advisory
-
mozilla.org
/security/advisories/mfsa2024-22/
vendor-advisory
-
mozilla.org
/security/advisories/mfsa2024-23/
vendor-advisory
-
bugzilla.mozilla.org
/show_bug.cgi?id=1893645
web, issue-tracking
-
lists.debian.org
/debian-lts-announce/2024/05/msg00010.html
web, mailing-list
-
lists.debian.org
/debian-lts-announce/2024/05/msg00012.html
web, mailing-list
-
seclists.org
/fulldisclosure/2024/Aug/30
web, mailing-list
-
github.com
/mozilla/pdf.js/releases/tag/v4.2.67
web
- codeanlabs.com /blog/research/cve-2024-4367-arbitrary-js-execution-in-pdf-js/
-
github.com
/gogs/gogs/issues/7928
web
-
exploit-db.com
/exploits/52273
web
-
cert-portal.siemens.com
/productcert/html/ssa-827383.html
web
-
github.com
/mozilla/pdf.js/security/advisories/GHSA-wgrm-67xf-hhpq
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-4367
advisory
-
codeanlabs.com
/blog/research/cve-2024-4367-arbitrary-js-execution-in-pdf-js
web
-
github.com
/mozilla/pdf.js
package
-
mozilla.org
/security/advisories/mfsa2024-21
web
-
mozilla.org
/security/advisories/mfsa2024-22
web
-
mozilla.org
/security/advisories/mfsa2024-23
web
Sources
- CVE List CVE-2024-4367
- GitHub Advisory GHSA-wgrm-67xf-hhpq
- NVD CVE-2024-4367
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.