Back
CVE-2022-41704Apache Batik prior to 1.16 allows RCE when loading untrusted SVG input
- 7.5HighCVSS base score
- 3.1%Exploitation in 30 daysEPSS · top 12% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By apache
- 27 days later
· 27 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 3.1% · top 12% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
Apache Software Foundation · Apache XML Graphics
- affected Batik – ≤ 1.15
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.xmlgraphics:batikGHSA-r29w-r9ph-vm76 (opens in a new tab)
References
References5
- https://lists.apache.org/thread/hplhx0o74jb7blj39fm4kw3otcnjd6xf (opens in a new tab)x_transferred
- [oss-security] 20221025 [CVE-2022-41704] Apache Batik information disclosure vulnerability (opens in a new tab)mailing-listx_transferred
- [debian-lts-announce] 20221029 [SECURITY] [DLA 3169-1] batik security update (opens in a new tab)mailing-listx_transferred
- DSA-5264 (opens in a new tab)vendor-advisoryx_transferred
- GLSA-202401-11 (opens in a new tab)vendor-advisoryx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-7156 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-r29w-r9ph-vm76 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-41704)Record last updated .