PDF CVE-2024-4367 PDF.js FontMatrix RCE PoC
10
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from kittysploit import *
from lib.pdf.mixins import PdfCveMixin
from lib.pdf.generators.viewer_cve import write_pdfjs_fontmatrix
class Module(Auxiliary, PdfCveMixin):
__info__ = {
"name": 'PDF CVE-2024-4367 PDF.js FontMatrix RCE PoC',
"description": 'Generate PDF PoC for CVE-2024-4367: arbitrary JavaScript via unsanitized Type1 FontMatrix in PDF.js (fetch callback for validation).',
"author": ["KittySploit Team"],
"cve": ['CVE-2024-4367'],
"references": ['https://codeanlabs.com/2024/05/cve-2024-4367-arbitrary-js-execution-in-pdf-js/'],
"tags": ['pdf', 'cve-2024-4367', 'pdfjs', 'firefox', 'javascript'],
}
PDF_GENERATORS = (
write_pdfjs_fontmatrix,
)
CVE_IDS = ['CVE-2024-4367']
MODULE_TITLE = 'PDF CVE-2024-4367 PDF.js FontMatrix RCE PoC'
def run(self):
return self.run_pdf_cve()Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
10 Jul 2026 11:31Current
8High risk
Vulners AI Score8
CVSS 3.15.6 - 8.8
EPSS0.7066
SSVC