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…
- 9.8CriticalCVSS base score
- 18.6%Exploitation in 30 daysEPSS · top 2.7% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By apache
- 3 months later
· 3 months later
Published
- 6 years later
· 6 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 |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Critical9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 18.6% · top 2.7% of all CVEs (9 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
Apache Software Foundation · Apache Batik
- affected 1.0 - 1.9.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.xmlgraphics:batikGHSA-25gw-4pcc-45cf (opens in a new tab)
References
17
- 104252 (opens in a new tab)vdb-entryx_transferred
- [debian-lts-announce] 20180525 [SECURITY] [DLA 1385-1] batik security update (opens in a new tab)mailing-listx_transferred
- DSA-4215 (opens in a new tab)vendor-advisoryx_transferred
- USN-3661-1 (opens in a new tab)vendor-advisoryx_transferred
- [xmlgraphics-batik-dev] 20180523 [CVE-2018-8013] Apache Batik information disclosure vulnerability (opens in a new tab)mailing-listx_transferred
- 1040995 (opens in a new tab)vdb-entryx_transferred
- [xmlgraphics-commits] 20200615 svn commit: r1878851 - /xmlgraphics/site/trunk/content/security.mdtext (opens in a new tab)mailing-listx_transferred
- [xmlgraphics-commits] 20200615 svn commit: r1878850 - /xmlgraphics/site/trunk/content/security.mdtext (opens in a new tab)mailing-listx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html (opens in a new tab)x_transferred
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html (opens in a new tab)x_transferred
- https://www.oracle.com/security-alerts/cpujul2020.html (opens in a new tab)x_transferred
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html (opens in a new tab)x_transferred
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html (opens in a new tab)x_transferred
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html (opens in a new tab)x_transferred
- https://xmlgraphics.apache.org/security.html (opens in a new tab)x_transferred
- https://www.oracle.com/security-alerts/cpuoct2020.html (opens in a new tab)x_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-1909 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-25gw-4pcc-45cf (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-2018-8013)Record last updated .