Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
Mozilla Firefox unspecified – < 126 126
Mozilla Firefox ESR unspecified – < 115.11 115.11
Mozilla Thunderbird unspecified – < 115.11 115.11

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 firefox-esr 115.11.0esr-1 —
Debian 14 thunderbird 1:115.11.0-1 —
Debian 14 wpewebkit +1 2.52.5-1 —
Debian 13 firefox-esr 115.11.0esr-1 —
Debian 13 thunderbird 1:115.11.0-1 —
Debian 13 webkit2gtk 2.52.5-1~deb13u1 —
Debian 13 wpewebkit No fix yet —
Debian 12 firefox-esr 115.11.0esr-1~deb12u1 DSA-5691-1
Debian 12 thunderbird 1:115.11.0-1~deb12u1 DSA-5693-1
Debian 12 wpewebkit +1 No fix yet —
Debian 11 firefox-esr 115.11.0esr-1~deb11u1 DSA-5691-1
Debian 11 odoo 14.0.0+dfsg.2-7+deb11u2 DSA-5742-1
Debian 11 thunderbird 1:115.11.0-1~deb11u1 DSA-5693-1
Debian 10 firefox-esr 115.11.0esr-1~deb10u1 DLA-3815-1
Debian 10 thunderbird 1:115.11.0-1~deb10u1 DLA-3817-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS mozjs102 No fix yet —
Ubuntu 22.04 LTS mozjs78 +2 No fix yet —
Ubuntu 22.04 LTS thunderbird 1:115.11.0+build2-0ubuntu0.22.04.1 USN-6782-1
Ubuntu 20.04 LTS firefox 126.0+build2-0ubuntu0.20.04.1 USN-6779-1
Ubuntu 20.04 LTS mozjs52 +1 No fix yet —
Ubuntu 20.04 LTS thunderbird 1:115.11.0+build2-0ubuntu0.20.04.1 USN-6782-1
Ubuntu 18.04 LTS mozjs38 +1 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 firefox +2 115.11.0-1.el9_4 RHSA-2024:2888, RHSA-2024:2883
RHEL 9 webkit2gtk3 +3 2.52.5-1.el9_8 RHSA-2026:42062
RHEL 8 firefox +1 115.11.0-1.el8_10 RHSA-2024:3784, RHSA-2024:3783
RHEL 8 webkit2gtk3 +3 2.52.5-1.el8_10 RHSA-2026:42088
RHEL 7 firefox +1 115.11.0-1.el7_9 RHSA-2024:2913, RHSA-2024:2881
Show 17 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.6 EUS webkit2gtk3 +3 2.52.5-1.el9_6 RHSA-2026:54572
RHEL 9.4 E4S webkit2gtk3 +3 2.52.5-1.el9_4 RHSA-2026:54634
RHEL 9.2 EUS firefox +2 115.11.0-1.el9_2 RHSA-2024:2906, RHSA-2024:2903
RHEL 9.2 E4S webkit2gtk3 +3 2.52.5-1.el9_2 RHSA-2026:58550
RHEL 9.0 EUS firefox +1 115.11.0-1.el9_0 RHSA-2024:2904, RHSA-2024:2884
RHEL 8.8 TUS webkit2gtk3 +3 2.52.5-1.el8_8 RHSA-2026:59326
RHEL 8.8 EUS firefox +1 115.11.0-1.el8_8 RHSA-2024:2905, RHSA-2024:2885
RHEL 8.8 E4S webkit2gtk3 +3 2.52.5-1.el8_8 RHSA-2026:59326
RHEL 8.6 EUS Long Life webkit2gtk3 +3 2.52.5-1.el8_6 RHSA-2026:59325
RHEL 8.6 EUS firefox +1 115.11.0-1.el8_6 RHSA-2024:2912, RHSA-2024:2887
RHEL 8.6 AUS webkit2gtk3 +3 2.52.5-1.el8_6 RHSA-2026:59325
RHEL 8.4 TUS firefox +1 115.11.0-1.el8_4 RHSA-2024:2911, RHSA-2024:2886
RHEL 8.4 EUS Long Life webkit2gtk3 +3 2.52.5-1.el8_4 RHSA-2026:57348
RHEL 8.4 E4S firefox +1 115.11.0-1.el8_4 RHSA-2024:2911, RHSA-2024:2886
RHEL 8.4 AUS firefox +1 115.11.0-1.el8_4 RHSA-2024:2911, RHSA-2024:2886
RHEL 8.4 AUS webkit2gtk3 +3 2.52.5-1.el8_4 RHSA-2026:57348
RHEL 8.2 AUS firefox +1 115.11.0-1.el8_2 RHSA-2024:3338, RHSA-2024:2882
RHEL 7 ELS webkitgtk4 +4 2.52.5-1.el7_9 RHSA-2026:58564

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 firefox +2 115.11.0-1.el9_4.alma.1 ALSA-2024:2888, ALSA-2024:2883
AlmaLinux 9 webkit2gtk3 +3 2.52.5-1.el9_8 ALSA-2026:42062
AlmaLinux 8 firefox +1 115.11.0-1.el8_10.alma.1 ALSA-2024:3784, ALSA-2024:3783
AlmaLinux 8 webkit2gtk3 +3 2.52.5-1.el8_10 ALSA-2026:42088

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 thunderbird 115.11.0-1.el9_4 RLSA-2024:2888
Rocky Linux 9 webkit2gtk3 2.52.5-1.el9_8 RLSA-2026:42062
Rocky Linux 8 firefox +1 115.11.0-1.el8_10 RLSA-2024:3784, RLSA-2024:3783
Rocky Linux 8 webkit2gtk3 2.52.5-1.el8_10 RLSA-2026:42088
ReleasePackageFixed inAdvisory
SLES 15 SP7 webkit2gtk3 +2 2.52.5-150600.12.71.1 SUSE-SU-2026:3338-1
SLES 15 SP6 MozillaFirefox 115.11.0-150200.152.137.2 SUSE-SU-2024:1770-1
SLES 15 SP6 MozillaThunderbird 115.11.0-150200.8.160.1 SUSE-SU-2024:1858-1
SLES 15 SP6 webkit2gtk3 +2 2.52.5-150600.12.71.1 SUSE-SU-2026:3338-1
SLES 15 SP5 MozillaFirefox 115.11.0-150200.152.137.2 SUSE-SU-2024:1770-1
SLES 15 SP5 MozillaThunderbird 115.11.0-150200.8.160.1 SUSE-SU-2024:1858-1
SLES 15 SP5 webkit2gtk3 +2 2.52.5-150400.4.146.1 SUSE-SU-2026:3396-1
SLES 15 SP4 MozillaFirefox 115.11.0-150200.152.137.2 SUSE-SU-2024:1770-1
SLES 15 SP4 webkit2gtk3 +2 2.52.5-150400.4.146.1 SUSE-SU-2026:3396-1
SLES 15 SP3 MozillaFirefox 115.11.0-150200.152.137.2 SUSE-SU-2024:1770-1
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 15 SP2 MozillaFirefox 115.11.0-150200.152.137.2 SUSE-SU-2024:1770-1
SLES 12 SP5 MozillaFirefox 115.11.0-112.212.1 SUSE-SU-2024:1676-1
SLES 12 SP5 webkit2gtk3 2.52.5-4.63.2 SUSE-SU-2026:3555-1
SLES for SAP 16.0 webkit2gtk3 +1 2.52.5-160000.1.1 SUSE-SU-2026:23133-1, SUSE-SU-2026:23111-1
SLES for SAP 15 SP6 webkit2gtk3 +2 2.52.5-150600.12.71.1 SUSE-SU-2026:3338-1
SLES for SAP 15 SP5 webkit2gtk3 +2 2.52.5-150400.4.146.1 SUSE-SU-2026:3396-1
SLES for SAP 15 SP4 MozillaFirefox 115.11.0-150200.152.137.2 SUSE-SU-2024:1770-1
SLES for SAP 15 SP4 webkit2gtk3 +2 2.52.5-150400.4.146.1 SUSE-SU-2026:3396-1
SLES for SAP 15 SP3 MozillaFirefox 115.11.0-150200.152.137.2 SUSE-SU-2024:1770-1
SLES for SAP 15 SP2 MozillaFirefox 115.11.0-150200.152.137.2 SUSE-SU-2024:1770-1
SLES for SAP 12 SP5 MozillaFirefox 115.11.0-112.212.1 SUSE-SU-2024:1676-1
SLES 16.0 webkit2gtk3 +1 2.52.5-160000.1.1 SUSE-SU-2026:23133-1, SUSE-SU-2026:23111-1
SLE HPC 15 SP5 webkit2gtk3 +2 2.52.5-150400.4.146.1 SUSE-SU-2026:3396-1
SLE HPC 15 SP4 MozillaFirefox 115.11.0-150200.152.137.2 SUSE-SU-2024:1770-1
SLE HPC 15 SP4 webkit2gtk3 +2 2.52.5-150400.4.146.1 SUSE-SU-2026:3396-1
SLE HPC 15 SP3 MozillaFirefox 115.11.0-150200.152.137.2 SUSE-SU-2024:1770-1
SLE HPC 15 SP2 MozillaFirefox 115.11.0-150200.152.137.2 SUSE-SU-2024:1770-1
SUSE Enterprise Storage 7.1 MozillaFirefox 115.11.0-150200.152.137.2 SUSE-SU-2024:1770-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed MozillaFirefox 126.0-1.1 openSUSE-SU-2024:13980-1
openSUSE Tumbleweed MozillaThunderbird 115.11.0-1.1 openSUSE-SU-2024:13981-1
openSUSE Tumbleweed firefox-esr 128.5.1-1.1 openSUSE-SU-2024:14572-1
openSUSE Leap 16.0 webkit2gtk3 +2 2.52.5-160000.1.1 openSUSE-SU-2026:21508-1
openSUSE Leap 15.6 MozillaFirefox 115.11.0-150200.152.137.2 SUSE-SU-2024:1770-1
openSUSE Leap 15.6 MozillaThunderbird 115.11.0-150200.8.160.1 SUSE-SU-2024:1858-1
openSUSE Leap 15.5 MozillaFirefox 115.11.0-150200.152.137.2 SUSE-SU-2024:1770-1
openSUSE Leap 15.5 MozillaThunderbird 115.11.0-150200.8.160.1 SUSE-SU-2024:1858-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 thunderbird 115.11.0-1.amzn2.0.1 ALAS2-2024-2561

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 firefox +2 115.11.0-1.0.1.el9_4 ELSA-2024-2888, ELSA-2024-2883
Oracle Linux 9 webkit2gtk3 +3 2.52.5-1.el9_8 ELSA-2026-42062
Oracle Linux 8 firefox +1 115.11.0-1.0.1.el8_10 ELSA-2024-3784, ELSA-2024-3783
Oracle Linux 8 webkit2gtk3 +3 2.52.5-1.el8_10 ELSA-2026-42088
Oracle Linux 7 firefox +1 115.11.0-1.0.1.el7_9 ELSA-2024-2913, ELSA-2024-2881

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

GitHub 31 repositories · most starred shown

  • LOURC0D3/CVE-2024-4367-PoC ★ 203 · May 20, 2024

    CVE-2024-4367 & CVE-2024-34342 Proof of Concept

  • s4vvysec/CVE-2024-4367-POC ★ 57 · May 20, 2024

    CVE-2024-4367 arbitrary js execution in pdf js

  • Zombie-Kaiser/cve-2024-4367-PoC-fixed ★ 12 · Jun 13, 2024

    PDF.js是由Mozilla维护的基于JavaScript的PDF查看器。此漏洞允许攻击者在打开恶意 PDF 文件后立即执行任意 JavaScript 代码。这会影响所有 Firefox 用户 (<126),因为 Firefox 使用 PDF.js 来显示 PDF 文件,但也严重影响了许多基于 Web 和 Electron 的应用程序,这些应用程序(间接)使用 PDF.js 进行预览功能。

  • spaceraccoon/detect-cve-2024-4367 ★ 11 · May 22, 2024

    YARA detection rule for CVE-2024-4367 arbitrary javascript execution in PDF.js

  • snyk-labs/pdfjs-vuln-demo ★ 10 · Jun 17, 2024

    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

  • UnHackerEnCapital/PDFernetRemotelo ★ 6 · Jun 19, 2024

    PoC - Prueba de Concepto de CVE-2024-4367 en conjunto al CVE-2023-38831 en un solo Script

  • Masamuneee/CVE-2024-4367-Analysis ★ 5 · Sep 4, 2024

    Analysis and PoC for CVE-2024-4367: arbitrary JavaScript execution (XSS) in PDF.js

  • clarkio/pdfjs-vuln-demo ★ 4 · May 22, 2024

    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

  • exfil0/WEAPONIZING-CVE-2024-4367 ★ 3 · Jan 5, 2025

    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.

  • AnomalousVectors/cve-2024-4367-poc ★ 2 · Jun 28, 2025

    POC for PDF JS' CVE-2024-4367 vuln

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm pdfjs-dist < 4.2.67 4.2.67 GHSA-wgrm-67xf-hhpq

Advisories 50

References