{"id":"CVE-2021-43113","aliases":["DEBIAN-CVE-2021-43113","DLA-3273-1","DSA-5323-1","EUVD-2021-2524","GHSA-gv87-q66h-4277","UBUNTU-CVE-2021-43113","openSUSE-SU-2024:11980-1"],"status":"published","title":"Command injection in itext7-core","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.05425,"percentile":0.92808,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77"],"published":"2021-12-15T00:00:00Z","modified":"2026-10-24T10:50:08Z","fixes":[{"ecosystem":"Maven","package":"com.itextpdf:itext7-core","fixed_in":["7.1.17"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"com.itextpdf:itextpdf","fixed_in":["5.5.13.3"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"libitext5-java","fixed_in":["5.5.13.3-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libitext5-java","fixed_in":["5.5.13.3-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libitext5-java","fixed_in":["5.5.13.3-1"],"sources":["osv"]},{"ecosystem":"Debian:10","package":"libitext5-java","fixed_in":["5.5.13-1+deb10u1"],"sources":["osv"]},{"ecosystem":"Debian:11","package":"libitext5-java","fixed_in":["5.5.13.2-1+deb11u1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"com.itextpdf:itext7-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.1.17"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"com.itextpdf:itextpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.13.3"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libitext5-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.13.3-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libitext5-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.13.3-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libitext5-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.13.3-1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"libitext5-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.13-1+deb10u1"}]}],"versions":["5.5.13-1"]},{"source":"osv","ecosystem":"Debian:11","package":"libitext5-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.13.2-1+deb11u1"}]}],"versions":["5.5.13.2-1"]},{"source":"osv","ecosystem":"Maven","package":"com.itextpdf:itext7-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.1.17"}]}],"versions":["7.0.2","7.0.3","7.0.4","7.0.5","7.0.6","7.0.7","7.0.8","7.1.0","7.1.1","7.1.10","7.1.11","7.1.12","7.1.13","7.1.14","7.1.15","7.1.16","7.1.2","7.1.3","7.1.4","7.1.5","7.1.6","7.1.7","7.1.8","7.1.9"]},{"source":"osv","ecosystem":"Maven","package":"com.itextpdf:itextpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.13.3"}]}],"versions":["5.0.6","5.1.0","5.1.1","5.1.2","5.1.3","5.2.0","5.2.1","5.3.0","5.3.1","5.3.2","5.3.4","5.4.0","5.4.1","5.4.2","5.4.3","5.4.4","5.4.5","5.5.0","5.5.1","5.5.10","5.5.11","5.5.12","5.5.13","5.5.13.1","5.5.13.2","5.5.2","5.5.3","5.5.4","5.5.5","5.5.6","5.5.7","5.5.8","5.5.9"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libitext5-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.5.13.3-2","5.5.13.3-3","5.5.13.3-4"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libitext5-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.5.13.3-4"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libitext5-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.5.13.4-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libitext5-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.5.13.3-4","5.5.13.4-1","5.5.13.4-2"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"itextpdf","product":"itext"}],"references":[{"url":"https://github.com/itext/itext7/releases/tag/7.1.17","tags":["x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://pastebin.com/BXnkY9YY","tags":["x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00013.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://www.debian.org/security/2023/dsa-5323","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/itext/itextpdf/releases/tag/5.5.13.3","tags":["x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43113","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-gv87-q66h-4277"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-43113","tags":["advisory"]},{"url":"https://github.com/itext/itext7","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2021-43113","tags":["report"]},{"url":"https://github.com/itext/itextpdf/commit/ce8bbacd631e13717a91f02e9cbd9814b9dc2cca","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-43113","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2021-43113","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-43113","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.","status":"published","published":"2021-12-15T00:00:00Z","modified":"2026-02-25T17:20:11.587Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:32:57.033395Z"}],"euvd":[{"id":"EUVD-2021-2524","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.","status":"published","published":"2021-12-15T00:00:00Z","modified":"2026-02-25T17:20:11Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T19:48:28.530473Z"}],"ghsa":[{"id":"GHSA-gv87-q66h-4277","title":"Command injection in itext7-core","description":"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.","status":"published","published":"2021-12-16T00:02:15Z","modified":"2023-03-27T21:57:56Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:36:48.905887Z"}],"nvd":[{"id":"CVE-2021-43113","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.","status":"published","published":"2021-12-15T07:15:07.453Z","modified":"2026-06-17T04:10:31.607Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:07:02.189991Z"}],"osv":[{"id":"CVE-2021-43113","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.","status":"published","published":"2021-12-15T07:15:07.453Z","modified":"2026-10-24T10:50:08.80465742Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:21.557945Z"},{"id":"DEBIAN-CVE-2021-43113","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.","status":"published","published":"2021-12-15T07:15:07.453Z","modified":"2026-10-23T18:04:16.137079036Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:35.799676Z"},{"id":"GHSA-gv87-q66h-4277","title":"Command injection in itext7-core","description":"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.","status":"published","published":"2021-12-16T00:02:15Z","modified":"2023-11-08T04:07:08.802574Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:48.191583Z"},{"id":"UBUNTU-CVE-2021-43113","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.","status":"published","published":"2021-12-15T07:15:00Z","modified":"2026-10-17T12:57:14.166018642Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:29.220315Z"},{"id":"DLA-3273-1","title":"libitext5-java - security update","status":"published","published":"2023-01-18T00:00:00Z","modified":"2026-03-09T01:21:02.3446Z","updated_at":"2026-11-02T15:46:11.734021Z"},{"id":"DSA-5323-1","title":"libitext5-java - security update","status":"published","published":"2023-01-19T00:00:00Z","modified":"2026-03-09T02:08:58.789188Z","updated_at":"2026-11-02T15:46:17.543497Z"},{"id":"openSUSE-SU-2024:11980-1","title":"itextpdf-5.5.13.3-1.1 on GA media","description":"These are all security issues fixed in the itextpdf-5.5.13.3-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:10:27.880809Z","updated_at":"2026-11-02T16:58:35.485255Z"}]}}
