batik: information disclosure when deserializing
Published May 24, 2018
9.8
CRITICALCVSS 3.0
EPSS 18.93%
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
-
- Version 1.0 - 1.9.1StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Apache Software Foundation | Apache Batik | n/a |
|
Configuration 2
- 7.0
- 8.0
- 9.0
Configuration 3
- 14.04
Configuration 4
- 11.1.1.7.0
- 11.1.1.9.0
- 12.2.1.3.0
- 12.2.1.4.0
- < 8.3
- 6.3.0
- < 7.2
- 12.2.1.3.0
- 11.1.1.7.0
- 12.1.3.0.0
- ≥ 7.3.3.0.0 · ≤ 7.3.3.0.2
- ≥ 8.0.0.0.0 · ≤ 8.0.7.1.0
- 12.2.1.2
- 12.2.1.3
- 17.1
- 17.2
- 17.3
- 10.1.1
- 10.2.1
- 10.0
- 10.2
- 9.2
- 13.3
- 13.4
- 14
- 14.1
- 14.1
- 17.0
- 5.1
- 5.2
- 15.0
- 16.0
- 13.4
- 14.0
- 14.1
- 14.1
No data.
Red Hat Enterprise Linux 6
batik
Will not fix
Red Hat Enterprise Linux 7
batik
Will not fix
Red Hat Enterprise Linux 8
batik
Not affected
Red Hat JBoss Fuse 6
switchyard
Will not fix
Red Hat Software Collections
rh-java-common-batik
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | batik | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | batik | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | batik | Not affected | n/a |
| Red Hat JBoss Fuse 6 | switchyard | Will not fix | n/a |
| Red Hat Software Collections | rh-java-common-batik | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (34 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 18.93% (0.18925) | 97.22th | v5 (v2026.06.15) |
| Sep 22, 2026 | 19.29% (0.19290) | 97.22th | v5 (v2026.06.15) |
| Sep 21, 2026 | 17.63% (0.17632) | 97.08th | v5 (v2026.06.15) |
| Sep 6, 2026 | 19.29% (0.19290) | 97.16th | v5 (v2026.06.15) |
| Sep 5, 2026 | 17.63% (0.17632) | 97.01th | v5 (v2026.06.15) |
| Aug 30, 2026 | 19.29% (0.19290) | 97.14th | v5 (v2026.06.15) |
| Aug 28, 2026 | 17.63% (0.17632) | 96.99th | v5 (v2026.06.15) |
| Aug 24, 2026 | 19.29% (0.19290) | 97.13th | v5 (v2026.06.15) |
| Aug 23, 2026 | 17.63% (0.17632) | 96.98th | v5 (v2026.06.15) |
| Jun 15, 2026 | 19.52% (0.19523) | 97.02th | v5 (v2026.06.15) |
| Nov 21, 2025 | 1.33% (0.01328) | 79.33th | v4 (v2025.03.14) |
| Nov 18, 2025 | 23.69% (0.23685) | 95.64th | v4 (v2025.03.14) |
| Mar 30, 2025 | 1.29% (0.01289) | 77.82th | v4 (v2025.03.14) |
| Mar 29, 2025 | 5.63% (0.05628) | 83.49th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.32% (0.01325) | 78.56th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.33% (0.00332) | 72.01th | v3 (v2023.03.01) |
| Jul 19, 2024 | 0.44% (0.00442) | 75.13th | v3 (v2023.03.01) |
| Jun 8, 2024 | 0.55% (0.00553) | 77.55th | v3 (v2023.03.01) |
| May 3, 2024 | 0.59% (0.00587) | 78.08th | v3 (v2023.03.01) |
| Mar 8, 2024 | 0.60% (0.00597) | 77.90th | v3 (v2023.03.01) |
| Jan 24, 2024 | 0.80% (0.00797) | 79.78th | v3 (v2023.03.01) |
| Nov 24, 2023 | 0.64% (0.00644) | 76.96th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.60% (0.00599) | 75.98th | v3 (v2023.03.01) |
| Oct 15, 2023 | 0.63% (0.00627) | 76.59th | v3 (v2023.03.01) |
| May 18, 2023 | 0.51% (0.00513) | 73.28th | v3 (v2023.03.01) |
| May 8, 2023 | 0.50% (0.00499) | 72.76th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.41% (0.00406) | 69.66th | v3 (v2023.03.01) |
| Mar 6, 2023 | 5.24% (0.05242) | 89.75th | v2 (v2022.01.01) |
| Apr 1, 2022 | 5.24% (0.05242) | 88.72th | v2 (v2022.01.01) |
| Feb 4, 2022 | 5.24% (0.05242) | 75.28th | v2 (v2022.01.01) |
| Feb 3, 2022 | 9.79% (0.09785) | 87.25th | v1 |
| Jan 6, 2022 | 9.79% (0.09785) | 87.10th | v1 |
| Sep 1, 2021 | 9.79% (0.09785) | 94.90th | v1 |
| Apr 14, 2021 | 9.79% (0.09785) | 0.00th | v1 |
References (29)
- http://seclists.org/oss-sec/2018/q2/135
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html PatchThird Party Advisory
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html PatchThird Party Advisory
- http://www.securityfocus.com/bid/104252 vdb-entryThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1040995 vdb-entryThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2018-8013 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1581725 Issue Tracking
- https://github.com/advisories/GHSA-25gw-4pcc-45cf Advisory
- https://github.com/apache/xmlgraphics-batik/commit/f91125b26a6ca2b7a1195f1842360bed03629839
- https://issues.apache.org/jira/browse/BATIK-1222
- https://lists.apache.org/thread.html/r9e90b4d1cf6ea87a79bb506541140dfbf4801f4463a7cee08126ee44%40%3Ccommits.xmlgraphics.apache.org%3E mailing-list
- https://lists.apache.org/thread.html/r9e90b4d1cf6ea87a79bb506541140dfbf4801f4463a7cee08126ee44@%3Ccommits.xmlgraphics.apache.org%3E
- https://lists.apache.org/thread.html/rc0a31867796043fbe59113fb654fe8b13309fe04f8935acb8d0fab19%40%3Ccommits.xmlgraphics.apache.org%3E mailing-list
- https://lists.apache.org/thread.html/rc0a31867796043fbe59113fb654fe8b13309fe04f8935acb8d0fab19@%3Ccommits.xmlgraphics.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2018/05/msg00016.html mailing-listMailing ListThird Party Advisory
- https://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/201805.mbox/%3c000701d3f28f$d01860a0$704921e0$@gmail.com%3e
- https://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/201805.mbox/%3c000701d3f28f%24d01860a0%24704921e0%24%40gmail.com%3e mailing-list
- https://nvd.nist.gov/vuln/detail/CVE-2018-8013
- https://security.gentoo.org/glsa/202401-11 vendor-advisory
- https://ubuntu.com/security/CVE-2018-8013
- https://usn.ubuntu.com/3661-1 vendor-advisoryThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-8013
- https://www.debian.org/security/2018/dsa-4215 vendor-advisoryThird Party Advisory
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html PatchThird Party Advisory
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html PatchThird Party Advisory
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- https://xmlgraphics.apache.org/security.html Third Party Advisory
Change history (0)
No recorded changes yet.