Skip to content
OpenAdvisories
High · 7.5 CVE-2022-41704 EUVD-2022-7156GHSA-r29w-r9ph-vm76

Apache Batik prior to 1.16 allows RCE when loading untrusted SVG input

Published Oct 25, 2022 · Updated Feb 25, 2026 · Assigned by apache

Description

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache XML Graphics Batik – ≤ 1.15 —

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.

ReleasePackageFixed inAdvisory
Debian 14 batik 1.16+dfsg-1 —
Debian 13 batik 1.16+dfsg-1 —
Debian 12 batik 1.16+dfsg-1 —
Debian 11 batik 1.12-4+deb11u1 DSA-5264-1
Debian 10 batik 1.10-2+deb10u2 DLA-3169-1
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
SLES 15 SP5 xmlgraphics-batik 1.17-150200.4.7.1 SUSE-SU-2024:0808-1
SLES 12 SP5 xmlgraphics-batik 1.17-2.7.1 SUSE-SU-2024:0777-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.5 xmlgraphics-batik 1.17-150200.4.7.1 SUSE-SU-2024:0808-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 batik +7 1.8-0.12.svn1230816.amzn2.0.1 ALAS2-2023-1966

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.xmlgraphics:batik < 1.16 1.16 GHSA-r29w-r9ph-vm76

Advisories 11

References