CVE-2018-8013

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.

Published: 2018-05-24 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2018-8013 is rated High Risk (66.5/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 1.23%). Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2018-8013

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-13 1.67% 1.23% -0.43%
2 2026-03-22 1.33% 1.67% +0.34%
3 2026-03-04 1.33%

Full EPSS history (50 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2018-8013

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.8 3.0 CRITICAL
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 6.4 [email protected]

Weakness enumeration for CVE-2018-8013

GitHub Security Advisory for CVE-2018-8013

GHSA-25gw-4pcc-45cf · Severity: critical · Ecosystem: maven — Deserialization of Untrusted Data in Apache Batik

OS Trackers for CVE-2018-8013

vendor priority summary link
debian not yet assigned CVE-2018-8013 not yet assigned priority: Debian including 1 source packages (batik), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2018-8013
gentoo normal CVE-2018-8013: 1 GLSA(s) (202401-11), 1 atom(s) (dev-java/batik); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2018-8013
redhat medium https://access.redhat.com/security/cve/CVE-2018-8013
suse low https://www.suse.com/security/cve/CVE-2018-8013/
ubuntu medium CVE-2018-8013 medium priority: Ubuntu including 1 source packages (batik), 20 status rows across 20 suites (artful, bionic, cosmic, disco, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 16, released 2, ignored 1, needed 1. https://ubuntu.com/security/CVE-2018-8013

Affected software / configurations for CVE-2018-8013

Vendor Product Version Raw CPE
apache batik >= 1.0, < 1.10 cpe:2.3:a:apache:batik:*:*:*:*:*:*:*:*
debian debian_linux 7.0 cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
debian debian_linux 8.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
canonical ubuntu_linux 14.04 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
oracle business_intelligence 11.1.1.7.0 cpe:2.3:a:oracle:business_intelligence:11.1.1.7.0:*:*:*:enterprise:*:*:*
oracle business_intelligence 11.1.1.9.0 cpe:2.3:a:oracle:business_intelligence:11.1.1.9.0:*:*:*:enterprise:*:*:*
oracle business_intelligence 12.2.1.3.0 cpe:2.3:a:oracle:business_intelligence:12.2.1.3.0:*:*:*:enterprise:*:*:*
oracle business_intelligence 12.2.1.4.0 cpe:2.3:a:oracle:business_intelligence:12.2.1.4.0:*:*:*:enterprise:*:*:*
oracle communications_diameter_signaling_router < 8.3 cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:*
oracle communications_metasolv_solution 6.3.0 cpe:2.3:a:oracle:communications_metasolv_solution:6.3.0:*:*:*:*:*:*:*
oracle communications_webrtc_session_controller < 7.2 cpe:2.3:a:oracle:communications_webrtc_session_controller:*:*:*:*:*:*:*:*
oracle data_integrator 12.2.1.3.0 cpe:2.3:a:oracle:data_integrator:12.2.1.3.0:*:*:*:*:*:*:*
oracle enterprise_repository 11.1.1.7.0 cpe:2.3:a:oracle:enterprise_repository:11.1.1.7.0:*:*:*:*:*:*:*
oracle enterprise_repository 12.1.3.0.0 cpe:2.3:a:oracle:enterprise_repository:12.1.3.0.0:*:*:*:*:*:*:*
oracle financial_services_analytical_applications_infrastructure >= 7.3.3.0.0, <= 7.3.3.0.2 cpe:2.3:a:oracle:financial_services_analytical_applications_infrastructure:*:*:*:*:*:*:*:*
oracle financial_services_analytical_applications_infrastructure >= 8.0.0.0.0, <= 8.0.7.1.0 cpe:2.3:a:oracle:financial_services_analytical_applications_infrastructure:*:*:*:*:*:*:*:*
oracle fusion_middleware_mapviewer 12.2.1.2 cpe:2.3:a:oracle:fusion_middleware_mapviewer:12.2.1.2:*:*:*:*:*:*:*
oracle fusion_middleware_mapviewer 12.2.1.3 cpe:2.3:a:oracle:fusion_middleware_mapviewer:12.2.1.3:*:*:*:*:*:*:*
oracle instantis_enterprisetrack 17.1 cpe:2.3:a:oracle:instantis_enterprisetrack:17.1:*:*:*:*:*:*:*
oracle instantis_enterprisetrack 17.2 cpe:2.3:a:oracle:instantis_enterprisetrack:17.2:*:*:*:*:*:*:*
oracle instantis_enterprisetrack 17.3 cpe:2.3:a:oracle:instantis_enterprisetrack:17.3:*:*:*:*:*:*:*
oracle insurance_calculation_engine 10.1.1 cpe:2.3:a:oracle:insurance_calculation_engine:10.1.1:*:*:*:*:*:*:*
oracle insurance_calculation_engine 10.2.1 cpe:2.3:a:oracle:insurance_calculation_engine:10.2.1:*:*:*:*:*:*:*
oracle insurance_policy_administration_j2ee 10.0 cpe:2.3:a:oracle:insurance_policy_administration_j2ee:10.0:*:*:*:*:*:*:*
oracle insurance_policy_administration_j2ee 10.2 cpe:2.3:a:oracle:insurance_policy_administration_j2ee:10.2:*:*:*:*:*:*:*
oracle jd_edwards_enterpriseone_tools 9.2 cpe:2.3:a:oracle:jd_edwards_enterpriseone_tools:9.2:*:*:*:*:*:*:*
oracle retail_back_office 13.3 cpe:2.3:a:oracle:retail_back_office:13.3:*:*:*:*:*:*:*
oracle retail_back_office 13.4 cpe:2.3:a:oracle:retail_back_office:13.4:*:*:*:*:*:*:*
oracle retail_back_office 14 cpe:2.3:a:oracle:retail_back_office:14:*:*:*:*:*:*:*
oracle retail_back_office 14.1 cpe:2.3:a:oracle:retail_back_office:14.1:*:*:*:*:*:*:*
oracle retail_central_office 14.1 cpe:2.3:a:oracle:retail_central_office:14.1:*:*:*:*:*:*:*
oracle retail_integration_bus 17.0 cpe:2.3:a:oracle:retail_integration_bus:17.0:*:*:*:*:*:*:*
oracle retail_order_broker 5.1 cpe:2.3:a:oracle:retail_order_broker:5.1:*:*:*:*:*:*:*
oracle retail_order_broker 5.2 cpe:2.3:a:oracle:retail_order_broker:5.2:*:*:*:*:*:*:*
oracle retail_order_broker 15.0 cpe:2.3:a:oracle:retail_order_broker:15.0:*:*:*:*:*:*:*
oracle retail_order_broker 16.0 cpe:2.3:a:oracle:retail_order_broker:16.0:*:*:*:*:*:*:*
oracle retail_point-of-service 13.4 cpe:2.3:a:oracle:retail_point-of-service:13.4:*:*:*:*:*:*:*
oracle retail_point-of-service 14.0 cpe:2.3:a:oracle:retail_point-of-service:14.0:*:*:*:*:*:*:*
oracle retail_point-of-service 14.1 cpe:2.3:a:oracle:retail_point-of-service:14.1:*:*:*:*:*:*:*
oracle retail_returns_management 14.1 cpe:2.3:a:oracle:retail_returns_management:14.1:*:*:*:*:*:*:*

References for CVE-2018-8013

URL Tags
http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html Patch Third Party Advisory
http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html Patch Third Party Advisory
http://www.securityfocus.com/bid/104252 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1040995 Third Party Advisory VDB Entry
https://lists.apache.org/thread.html/r9e90b4d1cf6ea87a79bb506541140dfbf4801f4463a7cee08126ee44%40%3Ccommits.xmlgraphics.apache.org%3E
https://lists.apache.org/thread.html/rc0a31867796043fbe59113fb654fe8b13309fe04f8935acb8d0fab19%40%3Ccommits.xmlgraphics.apache.org%3E
https://lists.debian.org/debian-lts-announce/2018/05/msg00016.html Mailing List Third Party Advisory
https://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/201805.mbox/%3c000701d3f28f%24d01860a0%24704921e0%24%40gmail.com%3e
https://security.gentoo.org/glsa/202401-11
https://usn.ubuntu.com/3661-1/ Third Party Advisory
https://www.debian.org/security/2018/dsa-4215 Third 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 Patch Third Party Advisory
https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html Patch Third Party Advisory
https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
https://xmlgraphics.apache.org/security.html Third Party Advisory
cvelogic Threat Intelligence