# CVE-2022-41704: Apache Batik prior to 1.16 allows RCE when loading untrusted SVG input

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.12%, higher than 88% of CVEs (2026-12-01)
- Published: 2022-10-25T00:00:00.000Z
- Modified: 2026-06-17T05:03:40.140Z
- Also known as: GHSA-r29w-r9ph-vm76
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## Description

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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache XML Graphics: from Batik up to 1.15
- org.apache.xmlgraphics:batik (Maven): before 1.16
- apache batik: from 1.0 before 1.16
- debian debian_linux: 10.0; 11.0

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://lists.apache.org/thread/hplhx0o74jb7blj39fm4kw3otcnjd6xf> (vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/10/25/2> (mailing-list, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2022/10/msg00038.html> (mailing-list, third-party-advisory, web)
- <https://www.debian.org/security/2022/dsa-5264> (third-party-advisory, vendor-advisory, web)
- <https://security.gentoo.org/glsa/202401-11> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-41704> (advisory)
- <https://github.com/apache/xmlgraphics-batik/commit/905f368b50c2567cf2c4869a0ab596a7b1b5125c> (web)
- <https://issues.apache.org/jira/browse/BATIK-1338> (web)
- <https://xmlgraphics.apache.org/security.html> (web)
- <http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk> (web)

## Sources

- CVE List: [CVE-2022-41704](https://www.cve.org/CVERecord?id=CVE-2022-41704), CVE Terms of Use, modified 2026-02-25
- GitHub Advisory Database: [GHSA-r29w-r9ph-vm76](https://github.com/advisories/GHSA-r29w-r9ph-vm76), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2022-41704](https://nvd.nist.gov/vuln/detail/CVE-2022-41704), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-41704 · Whole record: https://cve.day/CVE-2022-41704.json · Rebuilt by cve.day 2026-11-25T22:58:16.003Z
