Skip to main content
VulnerabilityPublished

CVE-2026-16633: PDF.js · Arbitrary JavaScript execution upon opening a malicious PDF

Affects pdfjs-distSource GCVE Database

0
Compare

Not known to be exploited · CVSS 8.6 High : upgrade to 6.2.108 soon.

Data as of 7 Aug 2026, 06:26 UTC

CVSS 4.0 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 6.2.108
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 6 Nov 2026.

What to do

Upgrade pdfjs-dist to 6.2.108.

Affected software

ProductAffectedFixed in
npmpdfjs-distAffected
  • >=5.6.83 <6.2.108
Fixed in
  • 6.2.108

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available for this vulnerability. Users should upgrade to a fixed version of pdfjs-dist (version 6.2.108 or later). Alternatively, setting enableScripting to false or implementing a Content Security Policy (CSP) that disallows script-src can mitigate the risk.

Description

A vulnerability in pdfjs-dist allows arbitrary JavaScript execution when opening a malicious PDF if scripting is enabled (enableScripting=true) and no Content Security Policy (CSP) restricts script sources. This can lead to attacker-controlled script running in the context of the hosting domain. The issue affects versions from 5.6.83 up to but not including 6.2.108. A patch is available, and mitigation includes disabling scripting or applying a CSP.

References

Community reviews

Loading reviews…