CVE-2022-41704

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

Published Oct 25, 2022 CVSS 3.1 · 7.5 High EPSS 3.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3169-1 batik security update
Debian DSA Debian DSA DSA-5264-1 batik security update
Github GHSA Github GHSA GHSA-r29w-r9ph-vm76 Apache XML Graphics Batik vulnerable to code execution via SVG.
Ubuntu USN Ubuntu USN USN-6117-1 Apache Batik vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Feb 25, 2026, 4:56 PM
Reserved
Sep 28, 2022, 12:00 AM
Status
Modified
Published
Oct 25, 2022, 5:15 PM
Modified
Jun 17, 2026, 5:03 AM
Severity
Moderate
Public date
Oct 25, 2022, 12:00 AM