{"cve":"CVE-2021-43113","nvd":{"published":"2021-12-15T07:15:07.453","modified":"2026-06-17T04:10:31.607","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-77"],"references":["https://github.com/itext/itext7/releases/tag/7.1.17","https://github.com/itext/itextpdf/releases/tag/5.5.13.3","https://lists.debian.org/debian-lts-announce/2023/01/msg00013.html","https://pastebin.com/BXnkY9YY","https://www.debian.org/security/2023/dsa-5323"],"products":["debian:debian_linux","itextpdf:itext"],"source":"nvd","synced_at":"2026-10-19T21:25:41.256909649+00:00"},"epss":{"cve":"CVE-2021-43113","score":0.05425,"percentile":0.92707,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-gv87-q66h-4277","url":"https://osv.dev/vulnerability/GHSA-gv87-q66h-4277","summary":"Command injection in itext7-core","modified":"2023-11-08T04:07:08.802574Z","packages":[{"ecosystem":"Maven","name":"com.itextpdf:itext7-core","purl":"pkg:maven/com.itextpdf/itext7-core","ranges":["<7.1.17"],"fixed":["7.1.17"]},{"ecosystem":"Maven","name":"com.itextpdf:itextpdf","purl":"pkg:maven/com.itextpdf/itextpdf","ranges":["<5.5.13.3"],"fixed":["5.5.13.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}