iTextPDF in iText 7 and up to (excluding 4.4.13.3) 7.1.17 allows command injection via a…
Priority MEDIUM 57CWE-77Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-77.
Summary
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.05425 92nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed com.itextpdf:itext7-core (Maven): 7.1.17com.itextpdf:itextpdf (Maven): 5.5.13.3
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | com.itextpdf:itext7-core (Maven) | before 7.1.17 | 7.1.17 | Patch available | GHSA-gv87-q66h-4277 |
| — | com.itextpdf:itextpdf (Maven) | before 5.5.13.3 | 5.5.13.3 | Patch available | GHSA-gv87-q66h-4277 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- com.itextpdf:itext7-core (Maven) Vendor— Affected before 7.1.17 Fixed in 7.1.17 Patch available GHSA-gv87-q66h-4277
- com.itextpdf:itextpdf (Maven) Vendor— Affected before 5.5.13.3 Fixed in 5.5.13.3 Patch available GHSA-gv87-q66h-4277
Remediation
- Fix · GHSA-gv87-q66h-4277 com.itextpdf:itext7-core (Maven) Fixed in 7.1.17 Advisory →
- Fix · GHSA-gv87-q66h-4277 com.itextpdf:itextpdf (Maven) Fixed in 5.5.13.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-43113
- 2026-10-03 Alias added: GHSA-gv87-q66h-4277
References
Exploit 1
Advisory 4
Sources
- CVE-2021-43113 · CVE Program
- CVE-2021-43113 · NVD
- FIRST EPSS
- GHSA-gv87-q66h-4277 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences