{"id":"CVE-2018-8013","aliases":["GHSA-25gw-4pcc-45cf"],"url":"https://o3.security/vulnerability/CVE-2018-8013","summary":"Deserialization of Untrusted Data in Apache Batik","details":"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:29:00.380Z","modified":"2026-07-08T05:50:19.951476443Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.apache.xmlgraphics:batik","fixedVersion":"1.10"}],"fix":null,"references":[{"type":"WEB","url":"https://lists.apache.org/thread.html/r9e90b4d1cf6ea87a79bb506541140dfbf4801f4463a7cee08126ee44%40%3Ccommits.xmlgraphics.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/rc0a31867796043fbe59113fb654fe8b13309fe04f8935acb8d0fab19%40%3Ccommits.xmlgraphics.apache.org%3E"},{"type":"WEB","url":"https://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/201805.mbox/%3c000701d3f28f%24d01860a0%24704921e0%24%40gmail.com%3e"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2020.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuoct2020.html"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/104252"},{"type":"ADVISORY","url":"http://www.securitytracker.com/id/1040995"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2018/05/msg00016.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202401-11"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3661-1/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2018/dsa-4215"},{"type":"ADVISORY","url":"https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html"},{"type":"ADVISORY","url":"https://xmlgraphics.apache.org/security.html"},{"type":"FIX","url":"http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html"},{"type":"FIX","url":"http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html"},{"type":"FIX","url":"https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html"},{"type":"FIX","url":"https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T05:50:19.951476443Z"}}