NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
CRITICAL severity

Command injection in itext7-coreGHSA-gv87-q66h-4277

CRITICAL

GHSA-gv87-q66h-4277 is a critical-severity (CVSS 9.8) CWE-77 vulnerability in com.itextpdf:itext7-core. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for com.itextpdf:itext7-core — see the affected versions and patch details below.

Also known asCVE-2021-43113
Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
1 known
Exploitation data as of Nov 25, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • A successful exploit gives an attacker total control of the affected component, not partial access.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-gv87-q66h-4277.

EPSS Exploitation Probability

via FIRST.org ↗
5.4%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs93th percentile — riskier than 93% of all scored CVEsHighest risk
2.89%3.93%4.97%6.01%3.5%5.4%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

2 pkgs affected
☕com.itextpdf:itext7-core☕com.itextpdf:itextpdf

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

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

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
☕Mavencom.itextpdf:itext7-coreall versions7.1.17com.itextpdf:itext7-core:7.1.17
☕Mavencom.itextpdf:itextpdfall versions5.5.13.3com.itextpdf:itextpdf:5.5.13.3

Affected Products

2 products · 3 configurations
OS
debian linuxdebian
2 versions
10.011.0
Application
itextitextpdf
≥ 7.0.0 && < 7.1.17
range
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.itextpdf:itext7-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update com.itextpdf:itext7-core to 7.1.17 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-gv87-q66h-4277 is resolved across your whole dependency graph.

  3. Workarounds

    Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is GHSA-gv87-q66h-4277 in your dependencies?

Find it across Maven, including transitive dependencies.

Command injection in itext7-core (Critical 9.8)