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.
{
"cwe_ids": [
"CWE-77"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2021-12-15T07:15:00Z",
"github_reviewed_at": "2022-01-25T21:02:25Z"
}