Home / MITHALDU / PDF::WebKit / CVE-2026-17431
CVE-2026-17431: is it exploited, and which versions of MITHALDU PDF::WebKit are affected and fixed?
CVE-2026-17431 is an OS command 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:39 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: Medium (6.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:08 UTC.
What is CVE-2026-17431?
PDF::WebKit versions through 1.2 for Perl allow OS command injection via a 2-arg open() of the output path in to_pdf and of stylesheet paths in _style_tag_for. to_pdf reads the generated PDF back from its path argument, and _style_tag_for reads each entry of the stylesheets list, by assigning the path to a local @ARGV and reading it with the diamond operator, which opens each @ARGV element with Perl's 2-arg open(). A value that begins or ends with a pipe ("| cmd", "cmd |") is run as a command rather than opened as a file, and one that begins with a redirect ("> path", ">> path") opens that path for write or append. to_file forwards its path argument to to_pdf and reaches the same read. Any caller that forwards untrusted input as the output path or as a stylesheets entry can run a command under the process UID; with the "cmd |" form the command's output is returned in place of the PDF, and with the "> path" form the named file is truncated. Stylesheets may only be added to an HTML source, so a URL or file source exposes the output path alone.
From the CVE record by CPANSec, last updated August 13, 2026, 13:09 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-17431?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N | 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-17431 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, August 13, 2026)
- EPSS
- 0.58% probability of exploitation activity in the next 30 days, percentile 49.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
- CWE-73 External Control of File Name or Path
Is there a workaround? (from the CVE record)
No fixed release is available. Apply the patch, which reads both paths with a 3-arg open so the value is never interpreted as a command or redirect. Otherwise, do not pass untrusted input as the output path to to_pdf or to_file, or as an entry in the stylesheets list. 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/8 issue-tracking
- https://security.metacpan.org/patches/P/PDF-WebKit/1.2/CVE-2026-17431-r1.patch patch
- https://wkhtmltopdf.org/status.html
- http://www.openwall.com/lists/oss-security/2026/08/13/3
When was it published, and where is the official record?
- Reserved
- July 25, 2026
- Published
- August 12, 2026, 23:12 UTC
- CVE record updated
- August 13, 2026, 13:09 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:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect PDF::WebKit?
- Aug 12, 2026CVE-2026-16770 MITHALDU PDF::WebKit: argument injection
Questions about CVE-2026-17431
Is CVE-2026-17431 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.58% 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-17431?
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-17431?
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-17431?
Medium (6.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-17431?
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.