{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-4367","id":"CVE-2024-4367","title":"PDF.js vulnerable to arbitrary JavaScript execution upon opening a malicious PDF","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.","descriptionLong":"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":"2024-05-14T17:21:23.486Z","updated":"2026-10-28T02:30:57.856901353Z","reserved":"2024-04-30T19:08:43.037Z","status":"Modified","rejected":false,"assigner":"mozilla","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["Mozilla Firefox","Mozilla Firefox ESR","Mozilla Thunderbird"],"affectedProducts":[{"vendor":"Mozilla","product":"Firefox","defaultStatus":null,"versions":[{"lessThan":"126","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]},{"vendor":"Mozilla","product":"Firefox ESR","defaultStatus":null,"versions":[{"lessThan":"115.11","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]},{"vendor":"Mozilla","product":"Thunderbird","defaultStatus":null,"versions":[{"lessThan":"115.11","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"pdfjs-dist","purl":"pkg:npm/pdfjs-dist","ranges":["<4.2.67"],"fixed":["4.2.67"],"advisory":"GHSA-wgrm-67xf-hhpq"}],"cwes":["CWE-754"],"aliases":["GHSA-wgrm-67xf-hhpq"],"references":[{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1893645","tags":["x_transferred","Issue Tracking","report","web"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2024-21/","tags":["x_transferred","Vendor Advisory","advisory"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2024-22/","tags":["x_transferred","Vendor Advisory","advisory"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2024-23/","tags":["x_transferred","Vendor Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00010.html","tags":["x_transferred","Mailing List","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00012.html","tags":["x_transferred","Mailing List","web"]},{"url":"http://seclists.org/fulldisclosure/2024/Aug/30","tags":["Mailing List","web"]},{"url":"https://github.com/mozilla/pdf.js/releases/tag/v4.2.67","tags":["web"]},{"url":"https://codeanlabs.com/blog/research/cve-2024-4367-arbitrary-js-execution-in-pdf-js/","tags":["article"]},{"url":"https://github.com/gogs/gogs/issues/7928","tags":["report","web"]},{"url":"https://www.exploit-db.com/exploits/52273","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-827383.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4367.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4367","tags":["advisory"]},{"url":"https://github.com/mozilla/pdf.js/security/advisories/GHSA-wgrm-67xf-hhpq","tags":["web"]},{"url":"https://github.com/mozilla/pdf.js/pull/18015","tags":["web"]},{"url":"https://github.com/mozilla/pdf.js/commit/85e64b5c16c9aaef738f421733c12911a441cec6","tags":["web"]},{"url":"https://codeanlabs.com/blog/research/cve-2024-4367-arbitrary-js-execution-in-pdf-js","tags":["web"]},{"url":"https://github.com/mozilla/pdf.js","tags":["package"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2024-21","tags":["web"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2024-22","tags":["web"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2024-23","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.7066,"epssPercentile":0.99405,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-4367","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4367","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-4367","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-wgrm-67xf-hhpq","ok":true,"note":"GHSA-wgrm-67xf-hhpq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-4367","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["firefox"],"critical":["EPSS 71% with CVSS 8.8"],"attention":null}