Skip to main content

PDF::WebKit CVE-2026-16770

| EUVDEUVD-2026-57695 CRITICAL
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88)
2026-08-12 CPANSec GHSA-6f7m-6567-58mj
9.8
CVSS 3.1 · Vendor: CPANSec
Share

Severity by source

Vendor (CPANSec) PRIMARY
9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
9.1 CRITICAL

Reachable remotely when an app renders untrusted HTML (AV:N/AC:L/PR:N/UI:N); impact is local file read and file write (C:H/I:H) with no clear availability effect (A:N), lowering it below NVD's 9.8.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (CPANSec).

CVSS VectorVendor: CPANSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Generated
Aug 13, 2026 - 13:23 vuln.today
CVSS changed
Aug 13, 2026 - 13:22 NVD
9.8 (CRITICAL)
CVE Published
Aug 12, 2026 - 23:12 cve.org
UNKNOWN (no severity yet)
CVE Published
Aug 12, 2026 - 23:12 cve.org
CRITICAL 9.8

DescriptionCVE.org

PDF::WebKit versions through 1.2 for Perl allow argument injection into wkhtmltopdf via meta tags in the source document.

For an HTML string or file source, the constructor collects every <meta name="pdf-webkit-KEY" content="VALUE"> element in the document head through _pdf_webkit_meta_tags and turns each one into a wkhtmltopdf command line option. KEY is normalized to an option name matching --[a-z0-9-]+ but is not checked against an allow list, VALUE is passed through unchanged as the argument that follows it, and a VALUE of "yes" emits the option as a bare flag. BUILD merges the meta derived options last, so they also override the module defaults and the options passed to new. Switches such as --enable-local-file-access and --cookie-jar are reachable this way. The renderer is executed with an argument list rather than a shell command, so this is argument injection and not shell injection.

Any caller that renders untrusted HTML lets the document choose the renderer's options and override those set by the application, including options that read local files into the resulting PDF or write to a chosen path. A URL source is not scanned, and the scan is skipped when XML::LibXML, a recommended dependency, is not installed.

AnalysisAI

Argument injection in PDF::WebKit through version 1.2 (Perl module, CPE mithaldu:pdf::webkit) lets an attacker who controls the source HTML dictate the wkhtmltopdf command-line options used for rendering. Because meta tags of the form <meta name="pdf-webkit-KEY" content="VALUE"> are converted into renderer switches without an allow-list and are merged last, a malicious document can enable options like --enable-local-file-access or --cookie-jar to read local files into the output PDF or write to attacker-chosen paths. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
technique details hidden
Delivery
technique details hidden
Exploit
technique details hidden
Execution
technique details hidden
Impact
technique details hidden

Vulnerability AssessmentAI

Exploitation Exploitation requires that the target application renders attacker-controlled HTML content (an HTML string or file source, NOT a URL source) through PDF::WebKit, and that the meta-tag scan runs - which it does when the recommended dependency XML::LibXML is installed. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment NVD rates this CVSS 9.8 (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H), but that headline number should be read against the actual precondition: the flaw is only reachable when an application renders attacker-controlled HTML through PDF::WebKit - a design decision of the consuming app, not a default of the library, so exposure is conditional rather than universal. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario Full exploit scenario with step-by-step reproduction available after sign-in.
Remediation Upgrade PDF::WebKit beyond 1.2 to the fixed release and apply the vendor patch published at https://security.metacpan.org/patches/P/PDF-WebKit/1.2/CVE-2026-16770-r1.patch (Patch available per vendor advisory; an exact fixed version tag beyond 1.2 is not stated in the provided data, so confirm the released version on CPAN before deploying). … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours, identify all systems and applications running PDF::WebKit and document their current versions and data inputs; establish an inventory of which systems process untrusted or user-supplied HTML. …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

More in Pdf

View all
CVE-2017-15257 HIGH
7.8 Oct 11

IrfanView version 4.44 (32bit) with PDF plugin version 4.43 allows attackers to execute arbitrary code or cause a denial

CVE-2017-15253 HIGH
7.8 Oct 11

IrfanView version 4.44 (32bit) with PDF plugin version 4.43 allows attackers to execute arbitrary code or cause a denial

CVE-2017-15252 HIGH
7.8 Oct 11

IrfanView version 4.44 (32bit) with PDF plugin version 4.43 allows attackers to execute arbitrary code or cause a denial

CVE-2017-15251 HIGH
7.8 Oct 11

IrfanView version 4.44 (32bit) with PDF plugin version 4.43 allows attackers to execute arbitrary code or cause a denial

CVE-2017-15249 HIGH
7.8 Oct 11

IrfanView version 4.44 (32bit) with PDF plugin version 4.43 allows attackers to execute arbitrary code or cause a denial

CVE-2017-15248 HIGH
7.8 Oct 11

IrfanView version 4.44 (32bit) with PDF plugin version 4.43 allows attackers to execute arbitrary code or cause a denial

CVE-2017-15246 HIGH
7.8 Oct 11

IrfanView version 4.44 (32bit) with PDF plugin version 4.43 allows attackers to execute arbitrary code or cause a denial

CVE-2017-15242 HIGH
7.8 Oct 11

IrfanView version 4.44 (32bit) with PDF plugin version 4.43 allows attackers to execute arbitrary code or cause a denial

CVE-2017-15262 HIGH
7.8 Oct 11

IrfanView version 4.44 (32bit) with PDF plugin version 4.43 allows attackers to execute arbitrary code or cause a denial

CVE-2017-15260 HIGH
7.8 Oct 11

IrfanView version 4.44 (32bit) with PDF plugin version 4.43 allows attackers to cause a denial of service or possibly ha

CVE-2017-15259 HIGH
7.8 Oct 11

IrfanView version 4.44 (32bit) with PDF plugin version 4.43 allows attackers to cause a denial of service or possibly ha

CVE-2017-15258 HIGH
7.8 Oct 11

IrfanView version 4.44 (32bit) with PDF plugin version 4.43 allows attackers to cause a denial of service or possibly ha

Share

CVE-2026-16770 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy