Vulnerability · Published Dec 15, 2021 · Assigned by mitre
CVE-2021-43113
Critical 9.8
In plain English
A critical-severity command injection in the libitext5-java package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 5.4% (higher than 93% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)5.4%top 7.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libitext5-java | 5.5.13.3-1 | DEBIAN-CVE-2021-43113 |
| Debian:13 | libitext5-java | 5.5.13.3-1 | DEBIAN-CVE-2021-43113 |
| Debian:14 | libitext5-java | 5.5.13.3-1 | DEBIAN-CVE-2021-43113 |
| Maven | com.itextpdf:itext7-core | 7.1.17 | GHSA-gv87-q66h-4277 |
| Maven | com.itextpdf:itextpdf | 5.5.13.3 | GHSA-gv87-q66h-4277 |
| Ubuntu:24.04:LTS | libitext5-java | no fix listed | UBUNTU-CVE-2021-43113 |
| Ubuntu:25.10 | libitext5-java | no fix listed | UBUNTU-CVE-2021-43113 |
| Ubuntu:26.04:LTS | libitext5-java | no fix listed | UBUNTU-CVE-2021-43113 |
| Ubuntu:26.10 | libitext5-java | no fix listed | UBUNTU-CVE-2021-43113 |
Affected products (as reported)
Weakness: CWE-77 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H