CVE-2022-41704
HIGH 7.5CVSS 3.1Apache XML Graphics Batik vulnerable to code execution via SVG.
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.
- Published
- 25 Oct 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-918
- Also known as
- GHSA-r29w-r9ph-vm76
- Sources
- NVDJSONOSV GHSA-r29w-r9ph-vm76JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | batikcpe:2.3:a:apache:batik:*:*:*:*:*:*:*:* |
>= 1.0, < 1.16 | 1.16 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| OSV | Maven | org.apache.xmlgraphics:batik | < 1.16 | 1.16 |
References
- http://www.openwall.com/lists/oss-security/2022/10/25/2 · Mailing List, Third Party Advisory, WEB
- https://lists.apache.org/thread/hplhx0o74jb7blj39fm4kw3otcnjd6xf · Vendor Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/10/msg00038.html · Mailing List, Third Party Advisory, WEB
- https://security.gentoo.org/glsa/202401-11 · WEB
- https://www.debian.org/security/2022/dsa-5264 · Third Party 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
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 25 Oct 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Oct 2022)