Home / MITHALDU / PDF::WebKit / CVE-2026-16770
CVE-2026-16770: is it exploited, and which versions of MITHALDU PDF::WebKit are affected and fixed?
CVE-2026-16770 is an argument injection vulnerability in MITHALDU PDF::WebKit. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: PDF::WebKit through 1.2 (CVE record by CPANSec). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:08 UTC.
What is CVE-2026-16770?
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.
From the CVE record by CPANSec, last updated August 13, 2026, 13:08 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| MITHALDU | PDF::WebKit PDF-WebKit | through 1.2 |
As the CVE record by CPANSec states it, last updated August 13, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-16770?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-16770 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, August 13, 2026)
- EPSS
- 0.43% probability of exploitation activity in the next 30 days, percentile 39.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-88 Improper Neutralization of Argument Delimiters in a Command
Is there a workaround? (from the CVE record)
No fixed release is available. Apply the patch, which restricts the options taken from meta tags to an allow list of presentational switches with checked values, extensible through the new allowed_meta_options configuration attribute, and merges them before the options passed to new rather than after. Otherwise, applications that render untrusted HTML should remove meta elements whose name attribute begins with the configured meta_tag_prefix (default "pdf-webkit-") before passing the document to new. Note that the wkhtmltopdf project is no longer being developed, and users of this package should migrate to alternative solutions.
Where are the vendor advisories and references?
- https://github.com/kingpong/perl-PDF-WebKit/issues/9 issue-tracking
- https://security.metacpan.org/patches/P/PDF-WebKit/1.2/CVE-2026-16770-r1.patch patch
- https://wkhtmltopdf.org/status.html
- http://www.openwall.com/lists/oss-security/2026/08/13/2
When was it published, and where is the official record?
- Reserved
- July 23, 2026
- Published
- August 12, 2026, 23:12 UTC
- CVE record updated
- August 13, 2026, 13:08 UTC by CPANSec
- NVD
- Deferred, last modified October 23, 2026, 19:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:08 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect PDF::WebKit?
- Aug 12, 2026CVE-2026-17431 MITHALDU PDF::WebKit: OS command injection
Questions about CVE-2026-16770
Is CVE-2026-16770 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.43% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of MITHALDU PDF::WebKit are affected by CVE-2026-16770?
PDF::WebKit through 1.2, per the CVE record by CPANSec. The tables above give every range the sources list.
Which version fixes CVE-2026-16770?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-16770?
Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-16770?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.