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

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-10-25 · Modified: 2026-02-25
- Aliases: UBUNTU-CVE-2022-41704, DEBIAN-CVE-2022-41704, GHSA-r29w-r9ph-vm76
- Record: https://cvemate.com/vulnerability/CVE-2022-41704 · JSON: https://cvemate.com/vulnerability/CVE-2022-41704/json

## Description

```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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 3.12%, percentile 88.247%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache xml graphics: ≥ Batik, ≤ 1.15
- apache batik: ≥ 1.0, \< 1.16
- debian batik (Debian): \< 1.16+dfsg-1
- ubuntu batik (Ubuntu): \< 1.7.ubuntu-8ubuntu2.14.04.3+esm1 \| \< 1.8-3ubuntu1+esm1 \| \< 1.10-2~18.04.1 \| \< 1.12-1ubuntu0.1 \| \< 1.14-1ubuntu0.2 \| All versions (No fix recorded)
- debian debian\_linux: 10.0 \| 11.0
- org.apache.xmlgraphics batik (Maven): \< 1.16

## References

- <https://lists.apache.org/thread/hplhx0o74jb7blj39fm4kw3otcnjd6xf>
- <http://www.openwall.com/lists/oss-security/2022/10/25/2>
- <https://lists.debian.org/debian-lts-announce/2022/10/msg00038.html>
- <https://www.debian.org/security/2022/dsa-5264>
- <https://security.gentoo.org/glsa/202401-11>
- <https://ubuntu.com/security/CVE-2022-41704>
- <https://www.openwall.com/lists/oss-security/2022/10/25/2>
- <https://issues.apache.org/jira/browse/BATIK-1338>
- <http://svn.apache.org/viewvc?view=revision&revision=1904320>
- <https://ubuntu.com/security/notices/USN-6117-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-41704>
- <https://security-tracker.debian.org/tracker/CVE-2022-41704>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-41704>
- <https://github.com/apache/xmlgraphics-batik/commit/905f368b50c2567cf2c4869a0ab596a7b1b5125c>
- <https://xmlgraphics.apache.org/security.html>
- <http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk>

---

Data as of 2026-12-05T06:10:24.728Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
