← Search CVEs

CVE-2012-4681

CRITICAL 9.8 KNOWN EXPLOITED RANSOMWARE PoC CATALOGUED ALL-YEARS

Published 2012-08-28 · Last modified 2026-08-06 · mitre · NVD: Analyzed

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.

ACTIVELY EXPLOITED

Confirmed exploited in the wild — in CISA KEV since 2022-03-03, linked to ransomware campaigns. Patch or mitigate now.

Exploitation likelihood

98.5%chance of exploitation in 30 days · 100th percentile

● In CISA KEV (2022-03-03)● Catalogued PoC◆ SSVC: exploitation active, automatable yes

Impact if exploited

9.8CVSS 3.1 · CRITICAL · ADP

  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityHigh

What an attacker needs

  • ✓Access: Reachable over the network — no local access needed
  • ✓Privileges: No account or privileges required
  • ✓User interaction: No user interaction needed
  • ✓Complexity: No special conditions — reliably repeatable

✓ lowers the bar for an attacker · ⚠ raises it

Proof of concept

Public PoC or exploit resources are catalogued below.

Catalogue identity matched to the named source. HTTP link checks report catalogue page reachability only. Exploit contents and execution have not been verified by Vulnpedia.

PoC data: JSON

Resource commands

searchsploit --cve CVE-2012-4681 && searchsploit -m 20865Fetch the ExploitDB PoC locally; review the code before running it.
curl -s https://vulnpedia.com/cve/CVE-2012-4681/poc.jsonMachine-readable PoC index for this CVE (for automation).

Search for new PoCs

Search GitHub now — results may be empty or unverified.

Supported CVE and PoC feeds are scheduled every 30 minutes, including for older CVEs. Other enrichment runs daily or weekly; source availability can delay updates. A later release appears after a tracked source lists it and a refresh succeeds.

Data snapshot:

Affected

Vendors Oracle Redhat

Products Jdk Jre Enterprise Linux Desktop Enterprise Linux Eus Enterprise Linux Server Enterprise Linux Workstation

Weakness (CWE)

  • CWE-284: Improper Access Control

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References and research data (JSON) · Change history

Vendor product assessments

Showing 32 of 172 vendor product statements; 140 omitted. Read the full vendor advisory.

  • java-1.7.0-openjdk-1:1.7.0.5-2.2.1.el6_3.3.i686 as a component of Red Hat Enterprise Linux Desktop (v. 6) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/java-1.7.0-openjdk@1.7.0.5-2.2.1.el6_3.3?arch=i686&epoch=1

    • vendor fix: Before applying this update, make sure all previously-released errata relevant to your system have been applied. This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/knowledge/articles/11258 Vendor guidance
    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.7.0-ibm-jdbc-1:1.7.0.2.0-1jpp.3.el6_3.x86_64 as a component of Red Hat Enterprise Linux Desktop Supplementary (v. 6) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/java-1.7.0-ibm-jdbc@1.7.0.2.0-1jpp.3.el6_3?arch=x86_64&epoch=1

    • vendor fix: Before applying this update, make sure all previously-released errata relevant to your system have been applied. This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/knowledge/articles/11258 Vendor guidance
    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.7.0-oracle-plugin-1:1.7.0.7-1jpp.5.el6_3.x86_64 as a component of Red Hat Enterprise Linux Desktop Supplementary (v. 6) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/java-1.7.0-oracle-plugin@1.7.0.7-1jpp.5.el6_3?arch=x86_64&epoch=1

    • vendor fix: Before applying this update, make sure all previously-released errata relevant to your system have been applied. This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/knowledge/articles/11258 Vendor guidance
    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.7.0-ibm-1:1.7.0.2.0-1jpp.3.el6_3.x86_64 as a component of Red Hat Enterprise Linux HPC Node Supplementary (v. 6) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/java-1.7.0-ibm@1.7.0.2.0-1jpp.3.el6_3?arch=x86_64&epoch=1

    • vendor fix: Before applying this update, make sure all previously-released errata relevant to your system have been applied. This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/knowledge/articles/11258 Vendor guidance
    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.7.0-openjdk-javadoc-1:1.7.0.5-2.2.1.el6_3.3.noarch as a component of Red Hat Enterprise Linux HPC Node Optional (v. 6) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/java-1.7.0-openjdk-javadoc@1.7.0.5-2.2.1.el6_3.3?arch=noarch&epoch=1

    • vendor fix: Before applying this update, make sure all previously-released errata relevant to your system have been applied. This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/knowledge/articles/11258 Vendor guidance
    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.7.0-ibm-demo-1:1.7.0.2.0-1jpp.3.el6_3.ppc64 as a component of Red Hat Enterprise Linux Server Supplementary (v. 6) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/java-1.7.0-ibm-demo@1.7.0.2.0-1jpp.3.el6_3?arch=ppc64&epoch=1

    • vendor fix: Before applying this update, make sure all previously-released errata relevant to your system have been applied. This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/knowledge/articles/11258 Vendor guidance
    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.7.0-ibm-plugin-1:1.7.0.2.0-1jpp.3.el6_3.x86_64 as a component of Red Hat Enterprise Linux Server Supplementary (v. 6) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/java-1.7.0-ibm-plugin@1.7.0.2.0-1jpp.3.el6_3?arch=x86_64&epoch=1

    • vendor fix: Before applying this update, make sure all previously-released errata relevant to your system have been applied. This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/knowledge/articles/11258 Vendor guidance
    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.7.0-oracle-plugin-1:1.7.0.7-1jpp.5.el6_3.x86_64 as a component of Red Hat Enterprise Linux Server Supplementary (v. 6) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/java-1.7.0-oracle-plugin@1.7.0.7-1jpp.5.el6_3?arch=x86_64&epoch=1

    • vendor fix: Before applying this update, make sure all previously-released errata relevant to your system have been applied. This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/knowledge/articles/11258 Vendor guidance
    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.7.0-openjdk-src-1:1.7.0.5-2.2.1.el6_3.3.x86_64 as a component of Red Hat Enterprise Linux Server Optional (v. 6) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/java-1.7.0-openjdk-src@1.7.0.5-2.2.1.el6_3.3?arch=x86_64&epoch=1

    • vendor fix: Before applying this update, make sure all previously-released errata relevant to your system have been applied. This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/knowledge/articles/11258 Vendor guidance
    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.7.0-ibm-jdbc-1:1.7.0.2.0-1jpp.3.el6_3.x86_64 as a component of Red Hat Enterprise Linux Workstation Supplementary (v. 6) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/java-1.7.0-ibm-jdbc@1.7.0.2.0-1jpp.3.el6_3?arch=x86_64&epoch=1

    • vendor fix: Before applying this update, make sure all previously-released errata relevant to your system have been applied. This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/knowledge/articles/11258 Vendor guidance
    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.7.0-oracle-plugin-1:1.7.0.7-1jpp.5.el6_3.x86_64 as a component of Red Hat Enterprise Linux Workstation Supplementary (v. 6) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/java-1.7.0-oracle-plugin@1.7.0.7-1jpp.5.el6_3?arch=x86_64&epoch=1

    • vendor fix: Before applying this update, make sure all previously-released errata relevant to your system have been applied. This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/knowledge/articles/11258 Vendor guidance
    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.7.0-openjdk-src-1:1.7.0.5-2.2.1.el6_3.3.x86_64 as a component of Red Hat Enterprise Linux Workstation Optional (v. 6) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/java-1.7.0-openjdk-src@1.7.0.5-2.2.1.el6_3.3?arch=x86_64&epoch=1

    • vendor fix: Before applying this update, make sure all previously-released errata relevant to your system have been applied. This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/knowledge/articles/11258 Vendor guidance
    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.7.0-openjdk.src as a component of Red Hat Enterprise Linux 5 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/java-1.7.0-openjdk?arch=src

    • none available: Affected
    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.7.0-oracle-demo as a component of Red Hat Enterprise Linux 5 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/java-1.7.0-oracle-demo

    • none available: Affected
    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.7.0-oracle-devel as a component of Red Hat Enterprise Linux 5 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/java-1.7.0-oracle-devel

    • none available: Affected
    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.7.0-oracle-javafx as a component of Red Hat Enterprise Linux 5 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/java-1.7.0-oracle-javafx

    • none available: Affected
    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.7.0-oracle-jdbc as a component of Red Hat Enterprise Linux 5 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/java-1.7.0-oracle-jdbc

    • none available: Affected
    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.7.0-oracle-plugin as a component of Red Hat Enterprise Linux 5 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/java-1.7.0-oracle-plugin

    • none available: Affected
    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.7.0-oracle-src as a component of Red Hat Enterprise Linux 5 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/java-1.7.0-oracle-src

    • none available: Affected
    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.7.0-oracle.src as a component of Red Hat Enterprise Linux 5 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/java-1.7.0-oracle?arch=src

    • none available: Affected
    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.6.0-ibm.src as a component of Red Hat Enterprise Linux 5 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/java-1.6.0-ibm?arch=src

    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.6.0-sun-devel as a component of Red Hat Enterprise Linux 5 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/java-1.6.0-sun-devel

    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.6.0-sun-jdbc as a component of Red Hat Enterprise Linux 5 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/java-1.6.0-sun-jdbc

    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.6.0-sun.src as a component of Red Hat Enterprise Linux 5 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/java-1.6.0-sun?arch=src

    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.6.0-ibm-demo as a component of Red Hat Enterprise Linux 6 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/java-1.6.0-ibm-demo

    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.6.0-ibm-jdbc as a component of Red Hat Enterprise Linux 6 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/java-1.6.0-ibm-jdbc

    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.6.0-ibm-src as a component of Red Hat Enterprise Linux 6 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/java-1.6.0-ibm-src

    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.6.0-openjdk-demo as a component of Red Hat Enterprise Linux 6 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/java-1.6.0-openjdk-demo

    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.6.0-openjdk-javadoc as a component of Red Hat Enterprise Linux 6 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/java-1.6.0-openjdk-javadoc

    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.6.0-sun as a component of Red Hat Enterprise Linux 6 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/java-1.6.0-sun

    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.6.0-sun-devel as a component of Red Hat Enterprise Linux 6 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/java-1.6.0-sun-devel

    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00
  • java-1.6.0-sun-src as a component of Red Hat Enterprise Linux 6 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/java-1.6.0-sun-src

    Red Hat · CVE-2012-4681 · Updated 2026-11-04T19:38:48+00:00

Unverified PoC candidates

Publisher-linked references and catalogue matches for further research. Candidate links do not establish public PoC availability. Their availability and exploit execution have not been verified by Vulnpedia.

2 candidates

Additional exploitation reports

Source-specific reports, separate from CISA KEV. Repeated observations from one source are not independent confirmations.

1 more source reports

Known Affected Software Configurations

VendorProductVersion range
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.6.0
OracleJdk1.7.0
OracleJdk1.7.0
OracleJdk1.7.0
OracleJdk1.7.0
OracleJdk1.7.0
OracleJdk1.7.0
OracleJdk1.7.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.6.0
OracleJre1.7.0
OracleJre1.7.0
OracleJre1.7.0
OracleJre1.7.0
OracleJre1.7.0
OracleJre1.7.0
OracleJre1.7.0
RedhatEnterprise Linux Desktop6.0
RedhatEnterprise Linux Eus6.3
RedhatEnterprise Linux Server6.0
RedhatEnterprise Linux Workstation6.0

All CVSS metrics

  • CRITICAL 9.8 v3.1 · ADP Primary
    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • CRITICAL 9.8 v3.1 · NVD Primary
    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • HIGH 10 v2.0 · NVD Primary
    AV:N/AC:L/Au:N/C:C/I:C/A:C

References

Exploit-tagged references (not proof of a PoC)

Advisories

Technical & other

Sources: NVD · CVE.org · All sources and attribution · EPSS