Vulnerabilities / CVE-2018-8013

critical

CVE-2018-8013

batik: information disclosure when deserializing

Published Modified CWE 502
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (medium), Ubuntu (medium).

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 packages and fixed versions

SourcePackageFixed in
maven::GitHub Security Advisory Mavenorg.apache.xmlgraphics:batik1.10
debian 11batik1.10-1
debian 12batik1.10-1
debian 13batik1.10-1
debian 14batik1.10-1
debian 7batik1.7+dfsg-3+deb7u3
debian 8batik1.7+dfsg-5+deb8u1
debian 9batik1.8-4+deb9u1
echobatik1.10-1
Red Hatbatik, batik-demo, batik-javadoc and 13 moreno fix listed
ubuntu 14.04batik1.7.ubuntu-8ubuntu2.14.04.3
Show all 26 entries from 11 sources
SourcePackageFixed in
maven::GitHub Security Advisory Mavenorg.apache.xmlgraphics:batik1.10
debian 11batik1.10-1
debian 12batik1.10-1
debian 13batik1.10-1
debian 14batik1.10-1
debian 7batik1.7+dfsg-3+deb7u3
debian 8batik1.7+dfsg-5+deb8u1
debian 9batik1.8-4+deb9u1
echobatik1.10-1
Red Hatbatikno fix listed
Red Hatbatik-demono fix listed
Red Hatbatik-javadocno fix listed
Red Hatbatik-rasterizerno fix listed
Red Hatbatik-slideshowno fix listed
Red Hatbatik-squiggleno fix listed
Red Hatbatik-svgppno fix listed
Red Hatbatik-ttf2svgno fix listed
Red Hatrh-java-common-batikno fix listed
Red Hatrh-java-common-batik-demono fix listed
Red Hatrh-java-common-batik-javadocno fix listed
Red Hatrh-java-common-batik-rasterizerno fix listed
Red Hatrh-java-common-batik-slideshowno fix listed
Red Hatrh-java-common-batik-squiggleno fix listed
Red Hatrh-java-common-batik-svgppno fix listed
Red Hatrh-java-common-batik-ttf2svgno fix listed
ubuntu 14.04batik1.7.ubuntu-8ubuntu2.14.04.3

References

All 26 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.