{"id":"CVE-2022-41704","aliases":["CVE-2022-41704","GHSA-r29w-r9ph-vm76"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Batik prior to 1.16 allows RCE when loading untrusted SVG input","summary":"A vulnerability in Batik of Apache XML Graphics allows an attacker to run untrusted Java code from an SVG. This issue affects Apache XML Graphics prior to 1.16. It is recommended to update to version 1.16.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A vulnerability in Batik of Apache XML Graphics allows an attacker to run untrusted Java code from an SVG. This issue affects Apache XML Graphics prior to 1.16. It is recommended to update to version 1.16.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad en Batik de Apache XML Graphics permite a un atacante ejecutar código Java no confiable desde un SVG. Este problema afecta a Apache XML Graphics versiones anteriores a 1.16. Es recomendado actualizar a versión 1.16","source":"nvd"}],"published":"2022-10-25T00:00:00.000Z","modified":"2026-06-17T05:03:40.140Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"type":"custom","introduced":"Batik","lastAffected":"1.15","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache XML Graphics","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.16"}],"ecosystem":"Maven","package":"org.apache.xmlgraphics:batik","purl":"pkg:maven/org.apache.xmlgraphics/batik","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.0","fixed":"1.16"}],"vendor":"apache","product":"batik","cpe":"cpe:2.3:a:apache:batik:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"},{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread/hplhx0o74jb7blj39fm4kw3otcnjd6xf","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2022/10/25/2","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/10/msg00038.html","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.debian.org/security/2022/dsa-5264","tags":["third-party-advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.gentoo.org/glsa/202401-11","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41704","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/xmlgraphics-batik/commit/905f368b50c2567cf2c4869a0ab596a7b1b5125c","tags":["web"],"sources":["ghsa"]},{"url":"https://issues.apache.org/jira/browse/BATIK-1338","tags":["web"],"sources":["ghsa"]},{"url":"https://xmlgraphics.apache.org/security.html","tags":["web"],"sources":["ghsa"]},{"url":"http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk","tags":["web"],"sources":["ghsa"]}],"credits":["This issue was independently reported by 4ra1n of Chaitin Tech and pwnull"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-02-25T16:56:13.395Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-41704","url":"https://www.cve.org/CVERecord?id=CVE-2022-41704","licence":"CVE Terms of Use","modified":"2026-02-25T16:56:27.451Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r29w-r9ph-vm76","url":"https://github.com/advisories/GHSA-r29w-r9ph-vm76","licence":"CC-BY-4.0","modified":"2024-02-16T08:05:00.323Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-41704","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41704","licence":"Public domain","modified":"2026-06-17T05:03:40.140Z"}],"updatedAt":"2026-11-25T22:58:16.003Z","epss":{"score":0.0312,"percentile":0.8818,"date":"2026-12-01T12:00:22.000Z"}}