Oracle JDK 18 vulnerabilities

6 published vulnerabilities affect Oracle JDK 18. The 18 line no longer gets security fixes.

6CVEs
0critical (CVSS 9+)
2high (CVSS 7–8.9)
0exploited in the wild

What to upgrade to

The newest Oracle JDK release we know of is 27.0.1.0.3, with 10 known CVEs.

Upgrade toFixesStill openNew in that release
27.0.1.0.3newest releaseall 6none10CVE-2026-114938, CVE-2026-114940, CVE-2026-114939 and 7 more

"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.

CVEs affecting Oracle JDK 18

Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.

CVECVSSExploitationEPSSFixed in
CVE-2022-21449Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Libraries)7.5None known77%–NVD
CVE-2022-21476Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Libraries)7.5None known3%–NVD
CVE-2022-21496Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: JNDI)5.3None known2%–NVD
CVE-2022-21434Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Libraries)5.3None known2%–NVD
CVE-2022-21426Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: JAXP)5.3None known3%–NVD
CVE-2022-21443Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Libraries)3.7None known2%–NVD

Support for the 18 line

The 18 line was first released 22 March 2022. Security fixes for it ended 20 September 2022, so vulnerabilities found since then stay open on every 18 release. Its latest release is 18.0.2.1. Dates and latest release from endoflife.date.

All Oracle JDK versions

How this list is made

These are the CVEs Dawnsentry matches to each Oracle JDK version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.

Updated 2 December 2026.