WaratekVRT Sign in

CVE-2022-40146 Apache Batik

Affected softwareApache Batik
Severity7.5 High CVSS 3.1
Fixed in1.15
WeaknessServer-side request forgery (CWE-918)
Published22 Sep 2022
Updated17 Jun 2026

Description

Server-Side Request Forgery (SSRF) vulnerability in Batik of Apache XML Graphics allows an attacker to access files using a Jar url. This issue affects Apache XML Graphics Batik 1.14.

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 2 indexed Published artifacts you can open, in GitHub PoC; first seen 2022-11-01.
  • EPSS 7.4% chance in 30 days

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC cckuailong/CVE-2022-40146_Exploit_Jar 31 2022-11-01
GitHub PoC Vulnerable svg-to-png service 2024-07-30

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by The affected package being open source on Maven, so the fix can be read
Finding This CVE affects an open-source Java library published on Maven Central (Maven packages: org.apache.xmlgraphics:batik), so it is squarely in ARMR's territory and the source needed to understand the defect is public. That makes it a candidate for an ARMR patch rule. No rule exists and none is scheduled: the diff between the affected and fixed versions has not been read, and a closer look may find no hook point ARMR can act on.

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2024 ↗ CPU 2024-Q3 Oracle Communications / Security (Apache Batik) (46.6.4, 46.6.5)
Oracle Critical Patch Update July 2023 ↗ CPU 2023-Q3 Oracle Supply Chain / Installation (Apache Batik) (6.2.1.0-6.2.1.8)
Oracle Critical Patch Update April 2023 ↗ CPU 2023-Q2 Oracle Financial Services Applications / Infrastructure (Apache Batik) (2.7, 2.7.1, 2.8, 2.9, 2.9.1, 3.0, 3.1, 3.2, 4.0)
Oracle Critical Patch Update January 2023 ↗ CPU 2023-Q1 Oracle Communications Applications / Utilities (Apache Batik) (6.3.1)
Oracle Fusion Middleware / Install (Apache Batik) (12.2.1.4.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications Security (Apache Batik) 46.6.4, 46.6.5 46.6.4 · 46.6.5
Oracle Communications Applications Utilities (Apache Batik) 6.3.1 6.3.1
Oracle Financial Services Applications Infrastructure (Apache Batik) 2.7, 2.7.1, 2.8, 2.9, 2.9.1, 3.0, 3.1, 3.2, 4.0 2.7 · 2.7.1 · 2.8 · 2.9 · 2.9.1 · 3.0 · 3.1 · 3.2 · 4.0
Oracle Fusion Middleware Install (Apache Batik) 12.2.1.4.0 12.2.1.4.0
Oracle Supply Chain Installation (Apache Batik) 6.2.1.0-6.2.1.8

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.xmlgraphics:batik 1.0 1.15 unbounded

Products and versions

3 products, 3 version entries
SourceVendorProductSchemeAffected versions
nvd apache batik generic 1.14
nvd debian debian linux generic 10.0
osv org.apache.xmlgraphics batik generic ≥ 1.0 and < 1.15

References

URLTags
https://github.com/apache/xmlgraphics-batik PACKAGE
https://issues.apache.org/jira/browse/BATIK-1335 WEB
https://lists.apache.org/thread/hxtddqjty2sbs12y97c8g7xfh17jzxsx WEB
https://lists.debian.org/debian-lts-announce/2023/10/msg00021.html WEB
https://lists.debian.org/debian-lts-announce/2025/07/msg00006.html WEB
https://security.gentoo.org/glsa/202401-11 WEB

Timeline

Published2022-09-22By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.