Skip to main content
No exploitation reportedFix available

CVE-2021-43113

No exploitation reported by the sources we read.

  • Published2021-12-15
  • Fixed in5.5.13.3
  • WeaknessCWE-77

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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

dates in UTC
  1. 2021-12-1507:15CVE publishedNVD

Versions per branch

OSV · NVD
itextpdf
BranchAffectedFixed in
5.5< 5.5.13.35.5.13.3
Debian debian linux
BranchAffectedFixed in
10.0= 10.0no fix published
11.0= 11.0no fix published
Itextpdf itext
BranchAffectedFixed in
7.x≥ 7.0.0, < 7.1.177.1.17
7.1< 7.1.177.1.17

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • libitext5-javaUbuntu:25.10all versions · no fixed version listed
  • libitext5-javaDebian:14all versions · fixed in 5.5.13.3-1
  • libitext5-javaDebian:13all versions · fixed in 5.5.13.3-1
  • libitext5-javaDebian:12all versions · fixed in 5.5.13.3-1
  • libitext5-javaDebian:11all versions · fixed in 5.5.13.2-1+deb11u1
  • libitext5-javaDebian:10all versions · fixed in 5.5.13-1+deb10u1

Full record on NVD

Fix

  1. Update itextpdf to 5.5.13.3

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

  • EUVD-2021-2524same flawENISA EUVD · LicenseRef-ENISA-legal-notice
  • GHSA-gv87-q66h-4277same flawGitHub Advisory Database · CC-BY-4.0
  • DLA-3273-1advisory covering several CVEsDebian · LicenseRef-unstated
  • DSA-5323-1advisory covering several CVEsDebian · LicenseRef-unstated

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2021-12-15
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-gv87-q66h-4277

Frequently asked questions

What is CVE-2021-43113?

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.

Is CVE-2021-43113 actively exploited?

Active exploitation of CVE-2021-43113 has not been confirmed. Its EPSS score was 5.4% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-43113?

CVE-2021-43113 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running itextpdf? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record