Description
Server-Side Request Forgery (SSRF) vulnerability in Batik of Apache XML Graphics allows an attacker to access files using a Jar url. This issue affects Apache XML Graphics Batik 1.14.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache XML Graphics | Batik 1.14 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | batik | 1.15+dfsg-1 | — |
| Debian 13 | batik | 1.15+dfsg-1 | — |
| Debian 12 | batik | 1.15+dfsg-1 | — |
| Debian 11 | batik | 1.12-4+deb11u3 | DLA-4243-1 |
| Debian 10 | batik | 1.10-2+deb10u3 | DLA-3619-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | batik | No fix yet | — |
| Ubuntu 26.04 LTS | batik | No fix yet | — |
| Ubuntu 25.10 | batik | No fix yet | — |
| Ubuntu 24.04 LTS | batik | No fix yet | — |
| Ubuntu 22.04 LTS | batik | 1.14-1ubuntu0.2 | USN-6117-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | batik | 1.12-1ubuntu0.1 | USN-6117-1 |
| Ubuntu 18.04 LTS | batik | 1.10-2~18.04.1 | USN-6117-1 |
| Ubuntu Pro 16.04 LTS | batik | 1.8-3ubuntu1+esm1 | USN-6117-1 |
| Ubuntu Pro 14.04 LTS | batik | 1.7.ubuntu-8ubuntu2.14.04.3+esm1 | USN-6117-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | xmlgraphics-batik | 1.17-2.7.1 | SUSE-SU-2024:0777-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | batik +7 | 1.8-0.12.svn1230816.amzn2.0.1 | ALAS2-2023-1966 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
cckuailong/CVE-2022-40146_Exploit_Jar ★ 31 · Nov 1, 2022
-
soulfoodisgood/CVE-2022-40146 ★ 0 · Jul 30, 2024
Vulnerable svg-to-png service
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.xmlgraphics:batik | >= 1.0, < 1.15 | 1.15 | GHSA-h4qg-p7r2-cpg3 |
Advisories 13
- WID-SEC-2023-1142 Red Hat Integration Camel for Spring Boot: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- USN-6117-1 batik vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- DLA-4243-1 batik - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3619-1 batik - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2024:0777-1 Security update for xmlgraphics-batik SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-2347 IBM Tivoli Netcool/OMNIbus: Schwachstelle ermöglicht Offenlegung von Informationen BSI CERT-Bund (WID) · Oct 20, 2025
- WID-SEC-2023-0138 Oracle Communications Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 15, 2025
- WID-SEC-2024-0671 Atlassian Jira Software: Mehrere Schwachstellen ermöglichen Codeausführung und DoS BSI CERT-Bund (WID) · Nov 24, 2024
- WID-SEC-2023-2993 Atlassian Bamboo, Atlassian Bitbucket, Atlassian Confluence and Atlassian Jira Software: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 12, 2023
- WID-SEC-2023-0132 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 1, 2023
- WID-SEC-2023-1017 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 18, 2023
- WID-SEC-2023-0881 IBM Maximo Asset Management: Mehrere Schwachstellen ermöglichen Offenlegung von Informationen BSI CERT-Bund (WID) · Apr 5, 2023
- ALAS2-2023-1966 Important: batik security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Mar 7, 2023