{"id":"UBUNTU-CVE-2022-41704","details":"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.","modified":"2026-03-19T08:58:21.771537Z","published":"2022-10-25T17:15:00Z","related":["USN-6117-1"],"upstream":["CVE-2022-41704"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-41704"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2022/10/25/2"},{"type":"REPORT","url":"https://issues.apache.org/jira/browse/BATIK-1338"},{"type":"REPORT","url":"http://svn.apache.org/viewvc?view=revision&revision=1904320"},{"type":"REPORT","url":"https://lists.apache.org/thread/hplhx0o74jb7blj39fm4kw3otcnjd6xf"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2022/10/25/2"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6117-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-41704"}],"affected":[{"package":{"name":"batik","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/batik@1.7.ubuntu-8ubuntu2.14.04.3+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.ubuntu-8ubuntu2.14.04.3+esm1"}]}],"versions":["1.7.ubuntu-8ubuntu2","1.7.ubuntu-8ubuntu2.14.04.1","1.7.ubuntu-8ubuntu2.14.04.2","1.7.ubuntu-8ubuntu2.14.04.3"],"ecosystem_specific":{"binaries":[{"binary_name":"libbatik-java","binary_version":"1.7.ubuntu-8ubuntu2.14.04.3+esm1"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41704.json"}},{"package":{"name":"batik","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/batik@1.8-3ubuntu1+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8-3ubuntu1+esm1"}]}],"versions":["1.7.ubuntu-8ubuntu3","1.8-3","1.8-3ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libbatik-java","binary_version":"1.8-3ubuntu1+esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41704.json"}},{"package":{"name":"batik","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/batik@1.10-2~18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10-2~18.04.1"}]}],"versions":["1.9-3","1.10-2~18.04"],"ecosystem_specific":{"binaries":[{"binary_name":"libbatik-java","binary_version":"1.10-2~18.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41704.json"}},{"package":{"name":"batik","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/batik@1.12-1ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12-1ubuntu0.1"}]}],"versions":["1.10-2","1.12-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libbatik-java","binary_version":"1.12-1ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41704.json"}},{"package":{"name":"batik","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/batik@1.14-1ubuntu0.2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.14-1ubuntu0.2"}]}],"versions":["1.12-4","1.14-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libbatik-java","binary_version":"1.14-1ubuntu0.2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41704.json"}},{"package":{"name":"batik","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/batik@1.17+dfsg-1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.16+dfsg-1","1.17+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libbatik-java","binary_version":"1.17+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41704.json"}},{"package":{"name":"batik","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/batik@1.18+dfsg-2?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.18+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libbatik-java","binary_version":"1.18+dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41704.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}