VulnarioBlogJava vulnerabilities

Java Vulnerabilities: The 10 Most Critical Java Security Bugs (CVEs)

Java vulnerabilities are security flaws in Java that attackers can abuse to steal data, take over a server or interrupt a service. Java is the language and runtime behind a large share of enterprise software. The National Vulnerability Database (NVD) lists 852 CVEs for Java, 41 of them rated critical, and 32 were published in the last 12 months. CISA lists 14 of them in its Known Exploited Vulnerabilities (KEV) catalog, which means attackers have used them against real systems.

This guide lists the 10 most critical Java security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers Java security basics, the current end-of-life dates and a free way to be told about the next Java CVE as soon as it is published.

Key takeaways

  • 14 CVEs are in CISA's KEV catalog, so attackers have exploited them in the wild.
  • 41 Java CVEs are rated critical (CVSS v3), and 32 new ones were published in the last 12 months.
  • The newest CVE in this guide is CVE-2016-3427, published Apr 21, 2016.
  • Supported Java releases today (per endoflife.date): 27, 25, 21. Releases not on the list are past their announced end of life.
  • You can monitor Java for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.

How we ranked these Java CVEs

We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.

Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.

The 10 most critical Java CVEs at a glance

Most critical Java vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2016-34279.8 Critical2016-04-21Oracle Java SE and JRockit UnspecifiedYes
2CVE-2015-25909.8 Critical2015-07-16Oracle Java SE and Java SE Embedded Remote Code ExecutionYes
3CVE-2013-24659.8 Critical2013-06-18Oracle Java SE UnspecifiedYes (ransomware use known)
4CVE-2013-04229.8 Critical2013-01-10Oracle JRE Remote Code ExecutionYes (ransomware use known)
5CVE-2012-50769.8 Critical2012-10-16Oracle Java SE Sandbox BypassYes
6CVE-2012-46819.8 Critical2012-08-28Oracle Java SE Runtime Environment (JRE) Arbitrary Code ExecutionYes (ransomware use known)
7CVE-2012-17239.8 Critical2012-06-16Oracle Java SE Runtime Environment (JRE) Arbitrary Code ExecutionYes (ransomware use known)
8CVE-2012-05079.8 Critical2012-06-07Oracle Java SE Runtime Environment (JRE) Arbitrary Code ExecutionYes (ransomware use known)
9CVE-2011-35449.8 Critical2011-10-19Oracle Java SE Runtime Environment (JRE) Arbitrary Code ExecutionYes
10CVE-2010-08409.8 Critical2010-04-01Oracle JRE UnspecifiedYes

Each Java CVE explained

1. CVE-2016-3427: Oracle Java SE and JRockit Unspecified

  • CVSS 9.8 Critical
  • In CISA KEV (added 2023-05-12)
  • Published 2016-04-21
  • CWE-284
What NVD says
Unspecified vulnerability in Oracle Java SE 6u113, 7u99, and 8u77; Java SE Embedded 8u77; and JRockit R28.3.9 allows remote attackers to affect confidentiality, integrity, and availability via vectors related to JMX.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
1.6.0; 1.7.0; 1.8.0
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2016-3427 (opens in a new tab)

2. CVE-2015-2590: Oracle Java SE and Java SE Embedded Remote Code Execution

  • CVSS 9.8 Critical
  • In CISA KEV (added 2022-03-03)
  • Published 2015-07-16
What NVD says
Unspecified vulnerability in Oracle Java SE 6u95, 7u80, and 8u45, and Java SE Embedded 7u75 and 8u33 allows remote attackers to affect confidentiality, integrity, and availability via unknown vectors related to Libraries, a different vulnerability than CVE-2015-4732.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
1.6.0; 1.7.0; 1.8.0
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2015-2590 (opens in a new tab)

3. CVE-2013-2465: Oracle Java SE Unspecified

  • CVSS 9.8 Critical
  • In CISA KEV (added 2022-03-28)
  • Published 2013-06-18
  • CWE-693
What NVD says
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 21 and earlier, 6 Update 45 and earlier, and 5.0 Update 45 and earlier, and OpenJDK 7, allows remote attackers to affect confidentiality, integrity, and availability via unknown vectors related to 2D. NOTE: the previous information is from the June 2013 CPU.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
1.7.0; 1.6.0; 1.5.0
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2013-2465 (opens in a new tab)

4. CVE-2013-0422: Oracle JRE Remote Code Execution

  • CVSS 9.8 Critical
  • In CISA KEV (added 2022-05-25)
  • Published 2013-01-10
  • CWE-284
What NVD says
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using the public getMBeanInstantiator method in the JmxMBeanServer class to obtain a reference to a private MBeanInstantiator object, then retrieving arbitrary Class references using the findClass method, and (2) using the Reflection API with recursion in a way that bypasses a security check by the…
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
1.7.0
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2013-0422 (opens in a new tab)

5. CVE-2012-5076: Oracle Java SE Sandbox Bypass

  • CVSS 9.8 Critical
  • In CISA KEV (added 2022-03-28)
  • Published 2012-10-16
  • CWE-284
What NVD says
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allows remote attackers to affect confidentiality, integrity, and availability, related to JAX-WS.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
1.7.0
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2012-5076 (opens in a new tab)

6. CVE-2012-4681: Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution

  • CVSS 9.8 Critical
  • In CISA KEV (added 2022-03-03)
  • Published 2012-08-28
  • CWE-284
What NVD says
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,…
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
1.6.0; 1.7.0
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2012-4681 (opens in a new tab)

7. CVE-2012-1723: Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution

  • CVSS 9.8 Critical
  • In CISA KEV (added 2022-03-03)
  • Published 2012-06-16
  • CWE-284
What NVD says
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 update 32 and earlier, 5 update 35 and earlier, and 1.4.2_37 and earlier allows remote attackers to affect confidentiality, integrity, and availability via unknown vectors related to Hotspot.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
up to and including 1.4.2_37; 1.5.0; 1.6.0; 1.7.0
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2012-1723 (opens in a new tab)

8. CVE-2012-0507: Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution

  • CVSS 9.8 Critical
  • In CISA KEV (added 2022-03-03)
  • Published 2012-06-07
  • CWE-843
What NVD says
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Update 30 and earlier, and 5.0 Update 33 and earlier allows remote attackers to affect confidentiality, integrity, and availability via unknown vectors related to Concurrency. NOTE: the previous information was obtained from the February 2012 Oracle CPU.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
1.6.0; 1.7.0
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2012-0507 (opens in a new tab)

9. CVE-2011-3544: Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution

  • CVSS 9.8 Critical
  • In CISA KEV (added 2022-03-03)
  • Published 2011-10-19
  • CWE-284
What NVD says
Unspecified vulnerability in the Java Runtime Environment component in Oracle Java SE JDK and JRE 7 and 6 Update 27 and earlier allows remote untrusted Java Web Start applications and untrusted Java applets to affect confidentiality, integrity, and availability via unknown vectors related to Scripting.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 1.6.0; 1.6.0; 1.7.0
What to do
Upgrade to 1.6.0 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2011-3544 (opens in a new tab)

10. CVE-2010-0840: Oracle JRE Unspecified

  • CVSS 9.8 Critical
  • In CISA KEV (added 2022-05-25)
  • Published 2010-04-01
What NVD says
Unspecified vulnerability in the Java Runtime Environment component in Oracle Java SE and Java for Business 6 Update 18, 5.0 Update 23, and 1.4.2_25 allows remote attackers to affect confidentiality, integrity, and availability via unknown vectors. NOTE: the previous information was obtained from the March 2010 CPU.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
1.4.2_25; 1.5.0; 1.6.0
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2010-0840 (opens in a new tab)

Java end of life: which versions still get security fixes

Running a release that still receives security fixes is the most effective way to avoid Java vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported Java releases are 27, 25, 21.

Java release support (source: endoflife.date, checked Nov 3, 2026)
ReleaseReleasedEnd of lifeLatestStatus
Java 27Sep 15, 2026Mar 31, 202727.0.1.0.3Supported
Java 26Mar 17, 2026Sep 18, 202626.0.2.1End of life
Java 25 (LTS)Sep 16, 2025Sep 30, 203025.0.5.0.3Supported
Java 24Mar 18, 2025Sep 16, 202524.0.2End of life
Java 23Sep 17, 2024Mar 18, 202523.0.2End of life
Java 22Mar 19, 2024Sep 17, 202422.0.2End of life
Java 21 (LTS)Sep 19, 2023Sep 30, 202821.0.13.0.3Supported
Java 20Mar 21, 2023Sep 19, 202320.0.2End of life

Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.

How to check if your Java is vulnerable

Find the exact version first, then compare it with the affected and fixed versions in each CVE above.

java -version

On Linux, Debian, Ubuntu and RHEL-based distributions often backport security fixes and keep the old version number, so a package that looks old can already be patched. Check your distribution's own security tracker or the package changelog before concluding that a server is exposed.

Java security checklist

  1. Run a supported release and move to the next branch before the current one reaches end of life.
  2. Apply patch releases promptly.
  3. Pin and audit your dependencies, and update the vulnerable ones.
  4. Run applications as an unprivileged user.
  5. Disable features and functions your application does not need.

Where you run Java matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating Java: on most plans the operating system and applications are yours to patch unless the plan says otherwise.

Your stack is bigger than Java. A flaw anywhere in the chain can be the way in, so also review our guides to Apache Tomcat vulnerabilities, Log4j vulnerabilities and Spring Framework vulnerabilities.

How to get alerted about new Java vulnerabilities

NVD received 32 new Java CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:

  • Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
  • Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
  • Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.

Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose Java and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.

  • Free: all technologies, alerts grouped at most every 12 hours.
  • Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.

Few stacks run Java alone. These guides cover the technologies it is most often deployed with.

Frequently asked questions about Java vulnerabilities

What are the most critical Java vulnerabilities?

Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical Java CVEs include CVE-2016-3427 (CVSS 9.8), CVE-2015-2590 (CVSS 9.8), CVE-2013-2465 (CVSS 9.8). The guide above ranks the 10 most critical with affected versions and fixes.

Have Java vulnerabilities been exploited in real attacks?

Yes. CISA's Known Exploited Vulnerabilities (KEV) catalog lists 14 Java CVEs, including CVE-2016-3427, CVE-2015-2590, CVE-2013-2465. Treat these as the highest priority to patch.

How many vulnerabilities does Java have?

As of Nov 3, 2026 the National Vulnerability Database lists 852 CVEs for Java, with 41 rated critical by CVSS v3. 32 were published in the previous twelve months.

Which Java versions are still supported?

As of Nov 3, 2026, endoflife.date lists these Java releases as supported: 27, 25, 21. Releases that are not listed are past their announced end of life.

How do I check which Java version I run?

Run java -version on the server and compare the result with the fixed versions in each CVE. On Debian, Ubuntu and RHEL-based systems, fixes are often backported without changing the version number, so also check your distribution's security tracker.

How can I get alerted when a new Java CVE is published?

Add Java to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose Java and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.

Is Java secure?

Java is as secure as its patch level. NVD published 32 new Java CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.

What is CVE-2016-3427?

CVE-2016-3427 is a critical Java vulnerability with a CVSS score of 9.8, published Apr 21, 2016. Unspecified vulnerability in Oracle Java SE 6u113, 7u99, and 8u77; Java SE Embedded 8u77; and JRockit R28.3.9 allows remote attackers to affect confidentiality, integrity, and availability via vectors related to JMX.

Sources

This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.