Description
In Apache Batik before 1.9, files lying on the filesystem of the server which uses batik can be revealed to arbitrary users who send maliciously formed SVG files. The file types that can be shown depend on the user context in which the exploitable application is running. If the user is root a full compromise of the server - including confidential or sensitive files - would be possible. XXE can also be used to attack the availability of the server via denial of service as the references within a xml document can trivially trigger an amplification attack.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Batik | before 1.9 | — |
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.9-1 | — |
| Debian 13 | batik | 1.9-1 | — |
| Debian 12 | batik | 1.9-1 | — |
| Debian 9 | batik | 1.8-4+deb9u1 | DSA-4215-1 |
| Debian 8 | batik | 1.7+dfsg-5+deb8u1 | DSA-4215-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | batik | 1.7+dfsg-3+deb7u2 | DLA-926-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | batik | 1.7.ubuntu-8ubuntu2.14.04.2 | USN-3280-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | batik | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | xmlgraphics-batik | 1.17-2.7.1 | SUSE-SU-2024:0777-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.xmlgraphics:batik | < 1.9 | 1.9 | GHSA-qwgx-59jw-qfg9 |
Advisories 6
- USN-3280-1 batik vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-926-1 batik - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-4215-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-2026-0180 Dell Data Protection Advisor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 20, 2026
- WID-SEC-2023-0027 IBM Tivoli Network Manager: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 23, 2023
References
- RHSA-2017:2547 vendor-advisory
- RHSA-2018:0319 vendor-advisory
- 1038334 vdb-entry
- DSA-4215 vendor-advisory
- RHSA-2017:2546 vendor-advisory
- 97948 vdb-entry
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- https://xmlgraphics.apache.org/security.html
- https://www.oracle.com/security-alerts/cpuoct2020.html