CVE-2022-41704: A vulnerability in Batik of Apache XML Graphics allows an attacker to run untrusted Java code from an SVG
CVE-2022-41704 is a high-severity flaw (CVSS 7.5) affecting batik, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 3.1% (top 12%) |
| CISA exploited list | No |
| Weakness | CWE-918 |
| Published | 2022-10-25 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-41704?
batik: upgrade to 1.16; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-41704 being exploited?
CVE-2022-41704 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-41704 affect?
CVE-2022-41704 affects batik, debian linux. Severity is high (CVSS 7.5). 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.
How urgent is CVE-2022-41704?
Priority 58/100. High severity; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Java vulnerabilities · Debian vulnerabilities
Related CVEs
- CVE-2020-11987 HIGH 8.2 UPGRADE MITIGATE Apache Batik 1.13 is vulnerable to server-side request forgery, caused by improper input validation by the Nod
- CVE-2022-42890 HIGH 7.5 UPGRADE MITIGATE A vulnerability in Batik of Apache XML Graphics allows an attacker to run Java code from untrusted SVG via Jav
- CVE-2022-40146 HIGH 7.5 DOWNGRADE MITIGATE Server-Side Request Forgery (SSRF) vulnerability in Batik of Apache XML Graphics allows an attacker to access
- CVE-2022-38648 MEDIUM 5.3 DOWNGRADE MITIGATE Server-Side Request Forgery (SSRF) vulnerability in Batik of Apache XML Graphics allows an attacker to fetch e
- CVE-2022-38398 MEDIUM 5.3 DOWNGRADE MITIGATE Server-Side Request Forgery (SSRF) vulnerability in Batik of Apache XML Graphics allows an attacker to load a