{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-8013","id":"CVE-2018-8013","title":"Deserialization of Untrusted Data in Apache Batik","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.","descriptionLong":"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-24T16:00:00.000Z","updated":"2026-10-24T10:30:27.346717150Z","reserved":"2018-03-09T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":["Apache Software Foundation Apache Batik"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Batik","defaultStatus":null,"versions":[{"version":"1.0 - 1.9.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.xmlgraphics:batik","purl":"pkg:maven/org.apache.xmlgraphics/batik","ranges":[">=1.0 <1.10"],"fixed":["1.10"],"advisory":"GHSA-25gw-4pcc-45cf"}],"cwes":["CWE-502"],"aliases":["GHSA-25gw-4pcc-45cf"],"references":[{"url":"http://www.securityfocus.com/bid/104252","tags":["vdb-entry","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/05/msg00016.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://www.debian.org/security/2018/dsa-4215","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://usn.ubuntu.com/3661-1/","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/201805.mbox/%3c000701d3f28f%24d01860a0%24704921e0%24%40gmail.com%3e","tags":["mailing-list","x_transferred","web"]},{"url":"http://www.securitytracker.com/id/1040995","tags":["vdb-entry","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://lists.apache.org/thread.html/r9e90b4d1cf6ea87a79bb506541140dfbf4801f4463a7cee08126ee44%40%3Ccommits.xmlgraphics.apache.org%3E","tags":["mailing-list","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/rc0a31867796043fbe59113fb654fe8b13309fe04f8935acb8d0fab19%40%3Ccommits.xmlgraphics.apache.org%3E","tags":["mailing-list","x_transferred","web"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.oracle.com/security-alerts/cpujul2020.html","tags":["x_transferred","web"]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html","tags":["x_transferred","advisory","web"]},{"url":"https://xmlgraphics.apache.org/security.html","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2020.html","tags":["x_transferred","web"]},{"url":"https://security.gentoo.org/glsa/202401-11","tags":["vendor-advisory","x_transferred","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-8013","tags":["advisory"]},{"url":"https://github.com/apache/xmlgraphics-batik/commit/f91125b26a6ca2b7a1195f1842360bed03629839","tags":["web"]},{"url":"https://usn.ubuntu.com/3661-1","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2018-8013","tags":["web"]},{"url":"https://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/201805.mbox/%3c000701d3f28f$d01860a0$704921e0$@gmail.com%3e","tags":["web"]},{"url":"https://lists.apache.org/thread.html/rc0a31867796043fbe59113fb654fe8b13309fe04f8935acb8d0fab19@%3Ccommits.xmlgraphics.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/r9e90b4d1cf6ea87a79bb506541140dfbf4801f4463a7cee08126ee44@%3Ccommits.xmlgraphics.apache.org%3E","tags":["web"]},{"url":"https://issues.apache.org/jira/browse/BATIK-1222","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.18591,"epssPercentile":0.97316,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-8013","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-8013","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-8013","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-25gw-4pcc-45cf","ok":true,"note":"GHSA-25gw-4pcc-45cf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-8013","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":["EPSS 19% with CVSS 9.8"],"attention":null}