Read the docs
TI-2021-19160 Aliases CVE-2021-43113GHSA-gv87-q66h-4277

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

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—com.itextpdf:itext7-core (Maven)before 7.1.177.1.17Patch availableGHSA-gv87-q66h-4277
—com.itextpdf:itextpdf (Maven)before 5.5.13.35.5.13.3Patch availableGHSA-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

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:itextpdf:itext:*:*:*:*:*:*:*:*7.0.0 to before 7.1.17VulnerableItextpdf
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*11.0VulnerableDebian
  • cpe:2.3:a:itextpdf:itext:*:*:*:*:*:*:*:* Versions 7.0.0 to before 7.1.17 Vulnerable ·Itextpdf
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian

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

  1. 2026-10-02 Threatist record created from CVE-2021-43113
  2. 2026-10-03 Alias added: GHSA-gv87-q66h-4277

References

Sources