Back
CVE-2021-43113iTextPDF in iText 7 and up to (excluding 4.4.13.3) 7.1.17 allows command injection via a CompareTool filename that is mishandled on the gs…
- 9.8CriticalCVSS base score
- 5.4%Exploitation in 30 daysEPSS · top 7.1% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
iTextPDF in iText 7 and up to (excluding 4.4.13.3) 7.1.17 allows command injection via a CompareTool filename that is mishandled on the gs (aka Ghostscript) command line in GhostscriptHelper.java.
Timeline
ID reserved
By mitre
- 44 days later
· 44 days later
Published
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 5.4% · top 7.1% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavencom.itextpdf:itext7-coreGHSA-gv87-q66h-4277 (opens in a new tab)
- Mavencom.itextpdf:itextpdfGHSA-gv87-q66h-4277 (opens in a new tab)
References
References5
- https://github.com/itext/itext7/releases/tag/7.1.17 (opens in a new tab)x_transferred
- https://pastebin.com/BXnkY9YY (opens in a new tab)x_transferred
- [debian-lts-announce] 20230118 [SECURITY] [DLA 3273-1] libitext5-java security update (opens in a new tab)mailing-listx_transferred
- DSA-5323 (opens in a new tab)vendor-advisoryx_transferred
- https://github.com/itext/itextpdf/releases/tag/5.5.13.3 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-2524 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-gv87-q66h-4277 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-43113)Record last updated .