Description
XML external entity (XXE) vulnerability in the SVG to (1) PNG and (2) JPG conversion classes in Apache Batik 1.x before 1.8 allows remote attackers to read arbitrary files or cause a denial of service via a crafted SVG file.
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.7+dfsg-5 | — |
| Debian 13 | batik | 1.7+dfsg-5 | — |
| Debian 12 | batik | 1.7+dfsg-5 | — |
| Debian 7 | batik | 1.7+dfsg-3+deb7u1 | DSA-3205-1 |
| Debian 6.0 | batik | 1.7-6+deb6u1 | DLA-182-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | batik | 1.7.ubuntu-8ubuntu2.14.04.1 | USN-2548-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.xmlgraphics:batik | >= 1.0, < 1.8 | 1.8 | GHSA-wfw6-mmmp-87xm |
Advisories 4
- DLA-182-1 batik - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3205-1 batik - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-2548-1 batik vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- WID-SEC-2023-0027 IBM Tivoli Network Manager: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 23, 2023
References
- USN-2548-1 vendor-advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21963275
- MDVSA-2015:203 vendor-advisory
- DSA-3205 vendor-advisory
- 1032781 vdb-entry
- http://advisories.mageia.org/MGASA-2015-0138.html
- 20150322 [CVE-2015-0250] Apache Batik Information Disclosure Vulnerability (XXE Injection) mailing-list
- RHSA-2016:0042 vendor-advisory
- http://xmlgraphics.apache.org/security.html
- RHSA-2016:0041 vendor-advisory
- http://packetstormsecurity.com/files/130964/Apache-Batik-XXE-Injection.html