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
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2016-3427 | 9.8 Critical | 2016-04-21 | Oracle Java SE and JRockit Unspecified | Yes |
| 2 | CVE-2015-2590 | 9.8 Critical | 2015-07-16 | Oracle Java SE and Java SE Embedded Remote Code Execution | Yes |
| 3 | CVE-2013-2465 | 9.8 Critical | 2013-06-18 | Oracle Java SE Unspecified | Yes (ransomware use known) |
| 4 | CVE-2013-0422 | 9.8 Critical | 2013-01-10 | Oracle JRE Remote Code Execution | Yes (ransomware use known) |
| 5 | CVE-2012-5076 | 9.8 Critical | 2012-10-16 | Oracle Java SE Sandbox Bypass | Yes |
| 6 | CVE-2012-4681 | 9.8 Critical | 2012-08-28 | Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution | Yes (ransomware use known) |
| 7 | CVE-2012-1723 | 9.8 Critical | 2012-06-16 | Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution | Yes (ransomware use known) |
| 8 | CVE-2012-0507 | 9.8 Critical | 2012-06-07 | Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution | Yes (ransomware use known) |
| 9 | CVE-2011-3544 | 9.8 Critical | 2011-10-19 | Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution | Yes |
| 10 | CVE-2010-0840 | 9.8 Critical | 2010-04-01 | Oracle JRE Unspecified | Yes |
Each Java CVE explained
1. CVE-2016-3427: Oracle Java SE and JRockit Unspecified
- 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).
2. CVE-2015-2590: Oracle Java SE and Java SE Embedded Remote Code Execution
- 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).
3. CVE-2013-2465: Oracle Java SE Unspecified
- 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).
4. CVE-2013-0422: Oracle JRE Remote Code Execution
- 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).
5. CVE-2012-5076: Oracle Java SE Sandbox Bypass
- 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).
6. CVE-2012-4681: Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution
- 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).
7. CVE-2012-1723: Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution
- 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).
8. CVE-2012-0507: Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution
- 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).
9. CVE-2011-3544: Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution
- 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)
10. CVE-2010-0840: Oracle JRE Unspecified
- 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).
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.
| Release | Released | End of life | Latest | Status |
|---|---|---|---|---|
| Java 27 | Sep 15, 2026 | Mar 31, 2027 | 27.0.1.0.3 | Supported |
| Java 26 | Mar 17, 2026 | Sep 18, 2026 | 26.0.2.1 | End of life |
| Java 25 (LTS) | Sep 16, 2025 | Sep 30, 2030 | 25.0.5.0.3 | Supported |
| Java 24 | Mar 18, 2025 | Sep 16, 2025 | 24.0.2 | End of life |
| Java 23 | Sep 17, 2024 | Mar 18, 2025 | 23.0.2 | End of life |
| Java 22 | Mar 19, 2024 | Sep 17, 2024 | 22.0.2 | End of life |
| Java 21 (LTS) | Sep 19, 2023 | Sep 30, 2028 | 21.0.13.0.3 | Supported |
| Java 20 | Mar 21, 2023 | Sep 19, 2023 | 20.0.2 | End 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
- Run a supported release and move to the next branch before the current one reaches end of life.
- Apply patch releases promptly.
- Pin and audit your dependencies, and update the vulnerable ones.
- Run applications as an unprivileged user.
- 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.
Related security guides
Few stacks run Java alone. These guides cover the technologies it is most often deployed with.
- Apache Tomcat vulnerabilities: Apache Tomcat is an open-source Java servlet container and web server.
- Log4j vulnerabilities: Apache Log4j is the Java logging library at the center of the Log4Shell crisis.
- Spring Framework vulnerabilities: Spring is the dominant Java application framework.
- Jenkins vulnerabilities: Jenkins is the most widely used open-source CI/CD automation server.
- Apache Cassandra vulnerabilities: Apache Cassandra is a distributed NoSQL database built for scale and availability.
- Elasticsearch vulnerabilities: Elasticsearch is a distributed search and analytics engine.
- Oracle Database vulnerabilities: Oracle Database is a leading enterprise relational database.
- Apache Struts vulnerabilities: Apache Struts is a Java web application framework, known for the 2017 Equifax breach.
- Atlassian Confluence vulnerabilities: Atlassian Confluence is a team wiki and knowledge base.
- Atlassian Jira vulnerabilities: Atlassian Jira is a widely used issue and project tracker.
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
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
- endoflife.date: Java (opens in a new tab), release and support dates, checked Nov 3, 2026.
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.