Every CVE Search/ Get API key

CVE-2021-43113

Command injection in itext7-core

9.8 CriticalFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

5.42%Up 4.8 points since Dec 15, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

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.

Record
CVE-2021-43113
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-77
Updated
2026-11-02
CVE List 9.8

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.

Record
CVE-2021-43113
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-77
Updated
2026-11-02
EUVDEUVD-2021-2524 9.8

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.

Record
EUVD-2021-2524
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-gv87-q66h-4277 9.8

Command injection in itext7-core

iTextPDF in iText before 7.1.17 allows command injection via a CompareTool filename that is mishandled on the gs (aka Ghostscript) command line in GhostscriptHelper.java.

Record
GHSA-gv87-q66h-4277
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-77
Updated
2026-11-02
OSV 9.8

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.

Record
CVE-2021-43113
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-43113 9.8

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.

Record
DEBIAN-CVE-2021-43113
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-gv87-q66h-4277 9.8

Command injection in itext7-core

iTextPDF in iText before 7.1.17 allows command injection via a CompareTool filename that is mishandled on the gs (aka Ghostscript) command line in GhostscriptHelper.java.

Record
GHSA-gv87-q66h-4277
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-77
Updated
2026-11-02
OSVUBUNTU-CVE-2021-43113 9.8

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.

Record
UBUNTU-CVE-2021-43113
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2024:11980-1 No score

itextpdf-5.5.13.3-1.1 on GA media

These are all security issues fixed in the itextpdf-5.5.13.3-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11980-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
com.itextpdf:itext7-core
Maven
before 7.1.17
7.1.17
com.itextpdf:itextpdf
Maven
before 5.5.13.3
5.5.13.3
libitext5-java
Debian:12
before 5.5.13.3-1
5.5.13.3-1
libitext5-java
Debian:13
before 5.5.13.3-1
5.5.13.3-1
libitext5-java
Debian:14
before 5.5.13.3-1
5.5.13.3-1
libitext5-java
Debian:10
before 5.5.13-1+deb10u1, plus listed versions
5.5.13-1
5.5.13-1+deb10u1
libitext5-java
Debian:11
before 5.5.13.2-1+deb11u1, plus listed versions
5.5.13.2-1
5.5.13.2-1+deb11u1
com.itextpdf:itext7-core
Maven
before 7.1.17, plus listed versions
7.0.27.0.37.0.47.0.57.0.6
Show 19 moreShow less
7.0.77.0.87.1.07.1.17.1.107.1.117.1.127.1.137.1.147.1.157.1.167.1.27.1.37.1.47.1.57.1.67.1.77.1.87.1.9
7.1.17
com.itextpdf:itextpdf
Maven
before 5.5.13.3, plus listed versions
5.0.65.1.05.1.15.1.25.1.3
Show 28 moreShow less
5.2.05.2.15.3.05.3.15.3.25.3.45.4.05.4.15.4.25.4.35.4.45.4.55.5.05.5.15.5.105.5.115.5.125.5.135.5.13.15.5.13.25.5.25.5.35.5.45.5.55.5.65.5.75.5.85.5.9
5.5.13.3
libitext5-java
Ubuntu:24.04:LTS
All versions, plus listed versions
5.5.13.3-25.5.13.3-35.5.13.3-4
None known
libitext5-java
Ubuntu:25.10
All versions, plus listed versions
5.5.13.3-4
None known
libitext5-java
Ubuntu:26.10
All versions, plus listed versions
5.5.13.4-2
None known
libitext5-java
Ubuntu:26.04:LTS
All versions, plus listed versions
5.5.13.3-45.5.13.4-15.5.13.4-2
None known

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-43113 is a critical vulnerability (CVSS 9.8) in Itextpdf Itext, published December 15, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.42%, the 92nd percentile. Fixed in com.itextpdf:itext7-core 7.1.17.

References

Show 7 moreShow less
MoveEnter Open