Description
In Apache Batik 1.x before 1.10, when deserializing subclass of `AbstractDocument`, the class takes a string from the inputStream as the class name which then use it to call the no-arg constructor of the class. Fix was to check the class type before calling newInstance in deserialization.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Batik | 1.0 - 1.9.1 | — |
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.10-1 | — |
| Debian 13 | batik | 1.10-1 | — |
| Debian 12 | batik | 1.10-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+deb7u3 | DLA-1385-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | batik | 1.7.ubuntu-8ubuntu2.14.04.3 | USN-3661-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 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.xmlgraphics:batik | >= 1.0, < 1.10 | 1.10 | GHSA-25gw-4pcc-45cf |
Advisories 5
- USN-3661-1 batik vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-4215-1 batik - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1385-1 batik - security update Debian Security (DSA / DLA) · Mar 9, 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
- 104252 vdb-entry
- [debian-lts-announce] 20180525 [SECURITY] [DLA 1385-1] batik security update mailing-list
- DSA-4215 vendor-advisory
- USN-3661-1 vendor-advisory
- [xmlgraphics-batik-dev] 20180523 [CVE-2018-8013] Apache Batik information disclosure vulnerability mailing-list
- 1040995 vdb-entry
- [xmlgraphics-commits] 20200615 svn commit: r1878851 - /xmlgraphics/site/trunk/content/security.mdtext mailing-list
- [xmlgraphics-commits] 20200615 svn commit: r1878850 - /xmlgraphics/site/trunk/content/security.mdtext mailing-list
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- https://xmlgraphics.apache.org/security.html
- https://www.oracle.com/security-alerts/cpuoct2020.html
- GLSA-202401-11 vendor-advisory