CVEBrief

Home / Oracle Corporation / Java SE JDK and JRE / CVE-2022-21540

CVE-2022-21540: is it exploited, and which versions of Oracle Corporation Java SE JDK and JRE are affected and fixed?

CVE-2022-21540 is an use after free vulnerability in Oracle Corporation Java SE JDK and JRE. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: Java SE JDK and JRE Oracle Java SE:7u343, Java SE JDK and JRE Oracle Java SE:8u333, Java SE JDK and JRE Oracle Java SE:11.0.15.1 and 5 more (CVE record by oracle). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.3, CVSS 3.1, from oracle).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:47 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 19:09 UTC
Affected
Java SE JDK and JRE Oracle Java SE:7u343, Java SE JDK and JRE Oracle Java SE:8u333, Java SE JDK and JRE Oracle Java SE:11.0.15.1 and 5 more
CVE record by oracle
Fixed in
Not listed
check the vendor advisory
Severity
Medium 5.3
CVSS 3.1 from oracle
Exploit odds (EPSS)
3.67% in 30 days
higher than 90% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2022-21540?

Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Hotspot). Supported versions that are affected are Oracle Java SE: 7u343, 8u333, 11.0.15.1, 17.0.3.1, 18.0.1.1; Oracle GraalVM Enterprise Edition: 20.3.6, 21.3.2 and 22.1.0. Easily exploitable vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise Oracle Java SE, Oracle GraalVM Enterprise Edition. Successful attacks of this vulnerability can result in unauthorized read access to a subset of Oracle Java SE, Oracle GraalVM Enterprise Edition accessible data. Note: This vulnerability applies to Java deployments, typically in clients running sandboxed Java Web Start applications or sandboxed Java applets, that load and run untrusted code (e.g., code that comes from the internet) and rely on the Java sandbox for security. This vulnerability can also be exploited by using APIs in the specified Component, e.g., through a web service which supplies data to the APIs. CVSS 3.1 Base Score 5.3 (Confidentiality impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).

From the CVE record by oracle, last updated May 27, 2026, 15:00 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Oracle CorporationJava SE JDK and JREOracle Java SE:7u343
Oracle Java SE:8u333
Oracle Java SE:11.0.15.1
Oracle Java SE:17.0.3.1
Oracle Java SE:18.0.1.1
Oracle GraalVM Enterprise Edition:20.3.6
Oracle GraalVM Enterprise Edition:21.3.2
Oracle GraalVM Enterprise Edition:22.1.0

As the CVE record by oracle states it, last updated May 27, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
oraclegraalvm20.3.6application
oraclegraalvm21.3.2application
oraclegraalvm22.1.0application
oraclejdk1.7.0application
oraclejdk1.8.0application
oraclejdk11.0.15.1application
oraclejdk17.0.3.1application
oraclejdk18.0.1.1application
oraclejre1.7.0application
oraclejre1.8.0application
oraclejre11.0.15.1application
oraclejre17.0.3.1application
oraclejre18.0.1.1application
oracleopenjdkfrom 11 through 11.0.15application
oracleopenjdkfrom 13 through 13.0.11application
oracleopenjdkfrom 15 through 15.0.7application
oracleopenjdkfrom 17 through 17.0.3application
oracleopenjdk7application
oracleopenjdk8application
oracleopenjdk18application
fedoraprojectfedora36operating system
debiandebian linux10.0operating system
debiandebian linux11.0operating system
netapp7-mode transition toolall versionsapplication
netappactive iq unified managerall versionsapplication

NVD analysis (status Modified), last modified June 17, 2026, 04:26 UTC.

How severe is CVE-2022-21540?

ScoreVersionVectorSource
Medium 5.3CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:Noracle

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2022-21540 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, August 15, 2025)
EPSS
3.67% probability of exploitation activity in the next 30 days, percentile 90.0 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
November 15, 2021
Published
July 19, 2022, 00:00 UTC
CVE record updated
May 27, 2026, 15:00 UTC by oracle
NVD
Modified, last modified June 17, 2026, 04:26 UTC
Last checked
CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:47 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Java SE JDK and JRE?

Every CVE in Java SE JDK and JRE

Questions about CVE-2022-21540

Is CVE-2022-21540 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 3.67% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Oracle Corporation Java SE JDK and JRE are affected by CVE-2022-21540?

Java SE JDK and JRE Oracle Java SE:7u343, Java SE JDK and JRE Oracle Java SE:8u333, Java SE JDK and JRE Oracle Java SE:11.0.15.1, Java SE JDK and JRE Oracle Java SE:17.0.3.1, Java SE JDK and JRE Oracle Java SE:18.0.1.1, Java SE JDK and JRE Oracle GraalVM Enterprise Edition:20.3.6 and 2 more, per the CVE record by oracle. The tables above give every range the sources list.

Which version fixes CVE-2022-21540?

None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.

How severe is CVE-2022-21540?

Medium (5.3, CVSS 3.1, from oracle). The severity table above shows each score with its source.

Where is the official record of CVE-2022-21540?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.