{
  "id": "CVE-2012-4681",
  "url": "https://spydr.io/cve/CVE-2012-4681",
  "published": "2012-08-28T00:55:01.860Z",
  "modified": "2026-08-06T05:16:34.310Z",
  "score": 9.8,
  "severity": "critical",
  "cvss_version": "3.1",
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
  "score_source": "NVD",
  "epss": 0.98536,
  "epss_percentile": 0.99921,
  "exploited": true,
  "kev": {
    "added": "2022-03-03",
    "due": "2022-03-24",
    "action": "Apply updates per vendor instructions.",
    "ransomware": "Known",
    "name": "Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability",
    "notes": "https://nvd.nist.gov/vuln/detail/CVE-2012-4681"
  },
  "ssvc_exploitation": "active",
  "vendors": [
    "oracle",
    "redhat"
  ],
  "products": [
    "oracle jdk",
    "oracle jre",
    "redhat enterprise linux desktop",
    "redhat enterprise linux eus",
    "redhat enterprise linux server",
    "redhat enterprise linux workstation"
  ],
  "cwes": [
    "CWE-284"
  ],
  "description": "Multiple vulnerabilities in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 6 and earlier allow remote attackers to execute arbitrary code via a crafted applet that bypasses SecurityManager restrictions by (1) using com.sun.beans.finder.ClassFinder.findClass and leveraging an exception with the forName method to access restricted classes from arbitrary packages such as sun.awt.SunToolkit, then (2) using \"reflection with a trusted immediate caller\" to leverage the getField method to access and modify private fields, as exploited in the wild in August 2012 using Gondzz.class and Gondvv.class.",
  "status": "Analyzed",
  "score_type": "Primary",
  "scores": {
    "cvss_v40": null,
    "cvss_v31": 9.8,
    "cvss_v30": null
  },
  "references": [
    {
      "url": "http://blog.fireeye.com/research/2012/08/zero-day-season-is-not-over-yet.html",
      "tags": [
        "Third Party Advisory"
      ]
    },
    {
      "url": "http://immunityproducts.blogspot.com/2012/08/java-0day-analysis-cve-2012-4681.html",
      "tags": [
        "Exploit",
        "Third Party Advisory"
      ]
    },
    {
      "url": "http://labs.alienvault.com/labs/index.php/2012/new-java-0day-exploited-in-the-wild/",
      "tags": [
        "Broken Link",
        "Exploit"
      ]
    },
    {
      "url": "http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00032.html",
      "tags": [
        "Mailing List"
      ]
    },
    {
      "url": "http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00016.html",
      "tags": [
        "Mailing List"
      ]
    },
    {
      "url": "http://marc.info/?l=bugtraq&m=135109152819176&w=2",
      "tags": [
        "Issue Tracking",
        "Mailing List",
        "Third Party Advisory"
      ]
    },
    {
      "url": "http://rhn.redhat.com/errata/RHSA-2012-1225.html",
      "tags": [
        "Third Party Advisory"
      ]
    },
    {
      "url": "http://secunia.com/advisories/51044",
      "tags": [
        "Not Applicable"
      ]
    },
    {
      "url": "http://www.deependresearch.org/2012/08/java-7-vulnerability-analysis.html",
      "tags": [
        "Broken Link",
        "Third Party Advisory"
      ]
    },
    {
      "url": "http://www.oracle.com/technetwork/topics/security/alert-cve-2012-4681-1835715.html",
      "tags": [
        "Vendor Advisory"
      ]
    },
    {
      "url": "http://www.securityfocus.com/bid/55213",
      "tags": [
        "Broken Link",
        "Third Party Advisory",
        "VDB Entry"
      ]
    },
    {
      "url": "http://www.us-cert.gov/cas/techalerts/TA12-240A.html",
      "tags": [
        "Third Party Advisory",
        "US Government Resource"
      ]
    },
    {
      "url": "https://community.rapid7.com/community/metasploit/blog/2012/08/27/lets-start-the-week-with-a-new-java-0day",
      "tags": [
        "Broken Link",
        "Third Party Advisory"
      ]
    },
    {
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-4681",
      "tags": [
        "US Government Resource"
      ]
    }
  ],
  "nvd_url": "https://nvd.nist.gov/vuln/detail/CVE-2012-4681",
  "covered_in": [],
  "attribution": [
    {
      "source": "NVD",
      "url": "https://nvd.nist.gov",
      "notice": "This product uses data from the NVD API but is not endorsed or certified by the NVD."
    },
    {
      "source": "CISA KEV",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "notice": "Known exploited vulnerabilities from the CISA KEV catalog."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss",
      "notice": "Exploit prediction scores from FIRST EPSS."
    }
  ]
}
