# CVE-2022-42890: Apache Batik prior to 1.16 allows RCE via scripting

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); 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: 2024-08-03
- Aliases: UBUNTU-CVE-2022-42890, DEBIAN-CVE-2022-42890, GHSA-rwqr-m72q-v6cm
- Record: https://cvemate.com/vulnerability/CVE-2022-42890 · JSON: https://cvemate.com/vulnerability/CVE-2022-42890/json

## Description

```text
A vulnerability in Batik of Apache XML Graphics allows an attacker to run Java code from untrusted SVG via JavaScript. This issue affects Apache XML Graphics prior to 1.16. Users are recommended to upgrade to version 1.16.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 3.378%, percentile 89.152%, 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
- org.apache.xmlgraphics batik-bridge (Maven): \< 1.16

## References

- <https://lists.apache.org/thread/pkvhy0nsj1h1mlon008wtzhosbtxjwly>
- <http://www.openwall.com/lists/oss-security/2022/10/25/3>
- <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-42890>
- <https://www.openwall.com/lists/oss-security/2022/10/25/3>
- <https://issues.apache.org/jira/browse/BATIK-1345>
- <http://svn.apache.org/viewvc?view=revision&revision=1904549>
- <https://ubuntu.com/security/notices/USN-6117-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-42890>
- <https://security-tracker.debian.org/tracker/CVE-2022-42890>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-42890>
- <https://github.com/apache/xmlgraphics-batik/commit/401aa8595f52d085d40ff5b6b4ac0dd372423082>
- <https://github.com/apache/xmlgraphics-batik/commit/52f7a1ad6e3110ec295a35ffc94410eef085707a>
- <https://github.com/apache/xmlgraphics-batik/commit/eada57c716a2757579d53017f8b2aeadaad20edd>
- <https://xmlgraphics.apache.org/security.html>
- <http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk>

---

Data as of 2026-12-05T04:10:55.236Z. 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
