Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-8013
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:20 UTC · Revision 1

Source evidence

CVE-2018-8013

core-osv · Original source

Published 24 May 2018, 16:29 UTC

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.

osv:CVE-2018-8013
Complete source record
{
  "id": "ce5199928979c4d0a8c65e4e9541cd5b876d1970997bb47bc20b39c229241f0d",
  "url": "https://osv.dev/vulnerability/CVE-2018-8013",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-8013",
    "summary": "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.",
    "evidence": "osv:CVE-2018-8013",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2018-8013",
      "aliases": [
        "CVE-2018-8013",
        "GHSA-25gw-4pcc-45cf"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/xmlgraphics-batik",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1b708df57205a70c2c9fb8235ff5eab837609968"
                },
                {
                  "fixed": "55a7e24c4f4713efa012263e2262d40238d0c633"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:batik:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.0"
                      },
                      {
                        "fixed": "1.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-8013.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:27.346717150Z",
      "provider": "osv",
      "references": [
        "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://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/201805.mbox/%3c000701d3f28f%24d01860a0%24704921e0%24%40gmail.com%3e",
        "https://www.oracle.com/security-alerts/cpujul2020.html",
        "https://www.oracle.com/security-alerts/cpuoct2020.html",
        "https://lists.debian.org/debian-lts-announce/2018/05/msg00016.html",
        "https://security.gentoo.org/glsa/202401-11",
        "https://usn.ubuntu.com/3661-1/",
        "https://www.debian.org/security/2018/dsa-4215",
        "https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html",
        "https://xmlgraphics.apache.org/security.html",
        "https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html",
        "https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_diameter_signaling_router",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "8.3"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_webrtc_session_controller:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_webrtc_session_controller",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "7.2"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:financial_services_analytical_applications_infrastructure:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:financial_services_analytical_applications_infrastructure",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.3.3.0.0"
                  },
                  {
                    "last_affected": "7.3.3.0.2"
                  },
                  {
                    "introduced": "8.0.0.0.0"
                  },
                  {
                    "last_affected": "8.0.7.1.0"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "14.04"
                  },
                  {
                    "last_affected": "14.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  },
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:business_intelligence:11.1.1.7.0:*:*:*:enterprise:*:*:*",
              "cpe:2.3:a:oracle:business_intelligence:11.1.1.9.0:*:*:*:enterprise:*:*:*",
              "cpe:2.3:a:oracle:business_intelligence:12.2.1.3.0:*:*:*:enterprise:*:*:*",
              "cpe:2.3:a:oracle:business_intelligence:12.2.1.4.0:*:*:*:enterprise:*:*:*"
            ],
            "vendor_product": "oracle:business_intelligence",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "11.1.1.7.0"
                  },
                  {
                    "last_affected": "11.1.1.7.0"
                  },
                  {
                    "introduced": "11.1.1.9.0"
                  },
                  {
                    "last_affected": "11.1.1.9.0"
                  },
                  {
                    "introduced": "12.2.1.3.0"
                  },
                  {
                    "last_affected": "12.2.1.3.0"
                  },
                  {
                    "introduced": "12.2.1.4.0"
                  },
                  {
                    "last_affected": "12.2.1.4.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_metasolv_solution:6.3.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_metasolv_solution",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.3.0"
                  },
                  {
                    "last_affected": "6.3.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:data_integrator:12.2.1.3.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:data_integrator",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "12.2.1.3.0"
                  },
                  {
                    "last_affected": "12.2.1.3.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:enterprise_repository:11.1.1.7.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:enterprise_repository:12.1.3.0.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:enterprise_repository",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "11.1.1.7.0"
                  },
                  {
                    "last_affected": "11.1.1.7.0"
                  },
                  {
                    "introduced": "12.1.3.0.0"
                  },
                  {
                    "last_affected": "12.1.3.0.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:fusion_middleware_mapviewer:12.2.1.2:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:fusion_middleware_mapviewer:12.2.1.3:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:fusion_middleware_mapviewer",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "12.2.1.2"
                  },
                  {
                    "last_affected": "12.2.1.2"
                  },
                  {
                    "introduced": "12.2.1.3"
                  },
                  {
                    "last_affected": "12.2.1.3"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:instantis_enterprisetrack:17.1:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:instantis_enterprisetrack:17.2:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:instantis_enterprisetrack:17.3:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:instantis_enterprisetrack",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "17.1"
                  },
                  {
                    "last_affected": "17.1"
                  },
                  {
                    "introduced": "17.2"
                  },
                  {
                    "last_affected": "17.2"
                  },
                  {
                    "introduced": "17.3"
                  },
                  {
                    "last_affected": "17.3"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:insurance_calculation_engine:10.1.1:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:insurance_calculation_engine:10.2.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:insurance_calculation_engine",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10.1.1"
                  },
                  {
                    "last_affected": "10.1.1"
                  },
                  {
                    "introduced": "10.2.1"
                  },
                  {
                    "last_affected": "10.2.1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:insurance_policy_administration_j2ee:10.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:insurance_policy_administration_j2ee:10.2:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:insurance_policy_administration_j2ee",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  },
                  {
                    "introduced": "10.2"
                  },
                  {
                    "last_affected": "10.2"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:jd_edwards_enterpriseone_tools:9.2:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:jd_edwards_enterpriseone_tools",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.2"
                  },
                  {
                    "last_affected": "9.2"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:retail_back_office:13.3:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:retail_back_office:13.4:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:retail_back_office:14.1:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:retail_back_office:14:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:retail_back_office",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "13.3"
                  },
                  {
                    "last_affected": "13.3"
                  },
                  {
                    "introduced": "13.4"
                  },
                  {
                    "last_affected": "13.4"
                  },
                  {
                    "introduced": "14"
                  },
                  {
                    "last_affected": "14"
                  },
                  {
                    "introduced": "14.1"
                  },
                  {
                    "last_affected": "14.1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:retail_central_office:14.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:retail_central_office",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "14.1"
                  },
                  {
                    "last_affected": "14.1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:retail_integration_bus:17.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:retail_integration_bus",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "17.0"
                  },
                  {
                    "last_affected": "17.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:retail_order_broker:15.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:retail_order_broker:16.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:retail_order_broker:5.1:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:retail_order_broker:5.2:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:retail_order_broker",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.1"
                  },
                  {
                    "last_affected": "5.1"
                  },
                  {
                    "introduced": "5.2"
                  },
                  {
                    "last_affected": "5.2"
                  },
                  {
                    "introduced": "15.0"
                  },
                  {
                    "last_affected": "15.0"
                  },
                  {
                    "introduced": "16.0"
                  },
                  {
                    "last_affected": "16.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:retail_point-of-service:13.4:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:retail_point-of-service:14.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:retail_point-of-service:14.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:retail_point-of-service",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "13.4"
                  },
                  {
                    "last_affected": "13.4"
                  },
                  {
                    "introduced": "14.0"
                  },
                  {
                    "last_affected": "14.0"
                  },
                  {
                    "introduced": "14.1"
                  },
                  {
                    "last_affected": "14.1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:retail_returns_management:14.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:retail_returns_management",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "14.1"
                  },
                  {
                    "last_affected": "14.1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-8013",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 431817,
  "published_at": "2018-05-24T16:29:00.38+00:00"
}