CVE-2022-21540: Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Hotspot).
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 4.1% (FIRST EPSS); higher than 90.8% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: java-1.8.0-openjdk (AlmaLinux:8) 1:1.8.0.342.b07-2.el8_6; java-1.8.0-openjdk-accessibility (AlmaLinux:8) 1:1.8.0.342.b07-2.el8_6; java-1.8.0-openjdk-accessibility-fastdebug (AlmaLinux:8) 1:1.8.0.342.b07-2.el8_6.
- Mentioned 2 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to java-1.8.0-openjdk (AlmaLinux:8) 1:1.8.0.342.b07-2.el8_6; java-1.8.0-openjdk-accessibility (AlmaLinux:8) 1:1.8.0.342.b07-2.el8_6; java-1.8.0-openjdk-accessibility-fastdebug (AlmaLinux:8) 1:1.8.0.342.b07-2.el8_6 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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).
- BDU:2022-05104
- ALSA-2022:5683
- ALSA-2022:5695
- ALSA-2022:5696
- ALSA-2022:5709
- ALSA-2022:5736
- DSA-5188-1
- DSA-5192-1
- openSUSE-SU-2024:12201-1
- openSUSE-SU-2024:12202-1
- openSUSE-SU-2024:12203-1
- openSUSE-SU-2024:12207-1
- openSUSE-SU-2024:12208-1
- openSUSE-SU-2024:12234-1
- openSUSE-SU-2024:12261-1
- openSUSE-SU-2024:12262-1
- openSUSE-SU-2024:12263-1
- openSUSE-SU-2025:0066-1
- RHSA-2022:5681
- RHSA-2022:5683
- Published
- Jul 19, 2022
- Updated
- Jun 17, 2026
- EPSS
- 4.1% · 90th percentile
- CWE
- CWE-416
Report tools
Action score
22
Monitor
Low priority for now.
- CVSS
- 21 / 40 · 5.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.1%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · oracle
- 5.3
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| oracle | graalvm | cpe:2.3:a:oracle:graalvm |
| oracle | jdk | cpe:2.3:a:oracle:jdk |
| oracle | jre | cpe:2.3:a:oracle:jre |
| oracle | openjdk | cpe:2.3:a:oracle:openjdk |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| netapp | 7-mode transition tool | cpe:2.3:a:netapp:7-mode_transition_tool |
| netapp | active iq unified manager | cpe:2.3:a:netapp:active_iq_unified_manager |
| netapp | cloud insights acquisition unit | cpe:2.3:a:netapp:cloud_insights_acquisition_unit |
| netapp | cloud secure agent | cpe:2.3:a:netapp:cloud_secure_agent |
| netapp | hci management node | cpe:2.3:a:netapp:hci_management_node |
| netapp | oncommand insight | cpe:2.3:a:netapp:oncommand_insight |
and 3 more
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- oracle jdk1.7.0
- oracle jdk1.8.0
- oracle jdk11.0.15.1
- oracle jdk17.0.3.1
- oracle jdk18.0.1.1
- oracle jre1.7.0
- oracle jre1.8.0
- oracle jre11.0.15.1
- oracle jre17.0.3.1
- oracle jre18.0.1.1
- oracle openjdk11 and later · up to 11.0.15 inclusive
- oracle openjdk13 and later · up to 13.0.11 inclusive
- oracle openjdk15 and later · up to 15.0.7 inclusive
- oracle openjdk17 and later · up to 17.0.3 inclusive
- oracle openjdk18
- oracle openjdk7
- oracle openjdk8
Versions reported by the vendor
Affected version ranges reported by the assigning authority (oracle). Independent of NVD's CPE analysis and usually ahead of it.
Oracle Corporation Java SE JDK and JRE
- Oracle 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.0affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | java-1.8.0-openjdk | before 1:1.8.0.342.b07-2.el8_6 | 1:1.8.0.342.b07-2.el8_6 |
| AlmaLinux:8 | java-1.8.0-openjdk-accessibility | before 1:1.8.0.342.b07-2.el8_6 | 1:1.8.0.342.b07-2.el8_6 |
| AlmaLinux:8 | java-1.8.0-openjdk-accessibility-fastdebug | before 1:1.8.0.342.b07-2.el8_6 | 1:1.8.0.342.b07-2.el8_6 |
| AlmaLinux:8 | java-1.8.0-openjdk-accessibility-slowdebug | before 1:1.8.0.342.b07-2.el8_6 | 1:1.8.0.342.b07-2.el8_6 |
| AlmaLinux:8 | java-1.8.0-openjdk-demo | before 1:1.8.0.342.b07-2.el8_6 | 1:1.8.0.342.b07-2.el8_6 |
| AlmaLinux:8 | java-1.8.0-openjdk-demo-fastdebug | before 1:1.8.0.342.b07-2.el8_6 | 1:1.8.0.342.b07-2.el8_6 |
| AlmaLinux:8 | java-1.8.0-openjdk-demo-slowdebug | before 1:1.8.0.342.b07-2.el8_6 | 1:1.8.0.342.b07-2.el8_6 |
| AlmaLinux:8 | java-1.8.0-openjdk-devel | before 1:1.8.0.342.b07-2.el8_6 | 1:1.8.0.342.b07-2.el8_6 |
| AlmaLinux:8 | java-1.8.0-openjdk-devel-fastdebug | before 1:1.8.0.342.b07-2.el8_6 | 1:1.8.0.342.b07-2.el8_6 |
| AlmaLinux:8 | java-1.8.0-openjdk-devel-slowdebug | before 1:1.8.0.342.b07-2.el8_6 | 1:1.8.0.342.b07-2.el8_6 |
| AlmaLinux:8 | java-1.8.0-openjdk-fastdebug | before 1:1.8.0.342.b07-2.el8_6 | 1:1.8.0.342.b07-2.el8_6 |
| AlmaLinux:8 | java-1.8.0-openjdk-headless | before 1:1.8.0.342.b07-2.el8_6 | 1:1.8.0.342.b07-2.el8_6 |
| AlmaLinux:8 | java-1.8.0-openjdk-headless-fastdebug | before 1:1.8.0.342.b07-2.el8_6 | 1:1.8.0.342.b07-2.el8_6 |
| AlmaLinux:8 | java-1.8.0-openjdk-headless-slowdebug | before 1:1.8.0.342.b07-2.el8_6 | 1:1.8.0.342.b07-2.el8_6 |
| AlmaLinux:8 | java-1.8.0-openjdk-javadoc | before 1:1.8.0.342.b07-2.el8_6 | 1:1.8.0.342.b07-2.el8_6 |
| AlmaLinux:8 | java-1.8.0-openjdk-javadoc-zip | before 1:1.8.0.342.b07-2.el8_6 | 1:1.8.0.342.b07-2.el8_6 |
| AlmaLinux:8 | java-1.8.0-openjdk-slowdebug | before 1:1.8.0.342.b07-2.el8_6 | 1:1.8.0.342.b07-2.el8_6 |
| AlmaLinux:8 | java-1.8.0-openjdk-src | before 1:1.8.0.342.b07-2.el8_6 | 1:1.8.0.342.b07-2.el8_6 |
| AlmaLinux:8 | java-1.8.0-openjdk-src-fastdebug | before 1:1.8.0.342.b07-2.el8_6 | 1:1.8.0.342.b07-2.el8_6 |
| AlmaLinux:8 | java-1.8.0-openjdk-src-slowdebug | before 1:1.8.0.342.b07-2.el8_6 | 1:1.8.0.342.b07-2.el8_6 |
| AlmaLinux:8 | java-11-openjdk | before 1:11.0.16.0.8-1.el8_6 | 1:11.0.16.0.8-1.el8_6 |
| AlmaLinux:8 | java-11-openjdk-demo | before 1:11.0.16.0.8-1.el8_6 | 1:11.0.16.0.8-1.el8_6 |
| AlmaLinux:8 | java-11-openjdk-demo-fastdebug | before 1:11.0.16.0.8-1.el8_6 | 1:11.0.16.0.8-1.el8_6 |
| AlmaLinux:8 | java-11-openjdk-demo-slowdebug | before 1:11.0.16.0.8-1.el8_6 | 1:11.0.16.0.8-1.el8_6 |
+96
Same product
oracle: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-21449Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Libraries).53Plan
- CVE-2022-21634Vulnerability in the Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: LLVM Interpreter).31Monitor
- CVE-2022-21476Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Libraries).31Monitor
Published before and after this one in the same product
- ← EarlierCVE-2022-21443Apr 19, 2022 · Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Libraries).15Monitor
- ← EarlierCVE-2022-21496Apr 19, 2022 · Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: JNDI).22Monitor
- Later →CVE-2022-21541Jul 19, 2022 · Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Hotspot).24Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:java-11-openjdk | 1:11.0.16.0.8-1.el8_6 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:java-11-openjdk-demo | 1:11.0.16.0.8-1.el8_6 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:java-11-openjdk-demo-fastdebug | 1:11.0.16.0.8-1.el8_6 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:java-11-openjdk-demo-slowdebug | 1:11.0.16.0.8-1.el8_6 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:java-11-openjdk-devel | 1:11.0.16.0.8-1.el8_6 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:java-11-openjdk-devel-fastdebug | 1:11.0.16.0.8-1.el8_6 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:java-11-openjdk-devel-slowdebug | 1:11.0.16.0.8-1.el8_6 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:java-11-openjdk-fastdebug | 1:11.0.16.0.8-1.el8_6 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:java-11-openjdk-headless | 1:11.0.16.0.8-1.el8_6 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:java-11-openjdk-headless-fastdebug | 1:11.0.16.0.8-1.el8_6 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:java-11-openjdk-headless-slowdebug | 1:11.0.16.0.8-1.el8_6 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:java-11-openjdk-javadoc | 1:11.0.16.0.8-1.el8_6 · AlmaLinux:8 | Package registry (OSV) |
| debian:openjdk-11 | 11.0.16+8-1~deb10u1 · Debian:10 | Package registry (OSV) |
| debian:openjdk-17 | 17.0.4+8-1 · Debian:12 | Package registry (OSV) |
| opensuse:java-1_8_0-ibm | 1.8.0_sr7.11-150000.3.62.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:java-1_8_0-openj9 | 1.8.0.345-150200.3.24.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:java-1_8_0-openjdk | 1.8.0.345-150000.3.70.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:java-11-openj9 | 11.0.16.0-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:java-11-openj9 | 11.0.26.0-bp156.4.3.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:java-11-openjdk | 11.0.16.0-150000.3.83.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:java-13-openjdk | 13.0.12.0-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:java-15-openjdk | 15.0.8.0-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:java-17-openj9 | 17.0.4.0-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:java-17-openjdk | 17.0.4.0-150400.3.3.1 · openSUSE:Leap 15.4 | Package registry (OSV) |
| opensuse:java-18-openjdk | 18.0.2.0-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:java-11-openjdk | 1:11.0.16.0.8-1.el8_4 · Red Hat:rhel_eus:8.4::appstream | Package registry (OSV) |
| red hat:java-11-openjdk-debuginfo | 1:11.0.16.0.8-1.el8_4 · Red Hat:rhel_eus:8.4::appstream | Package registry (OSV) |
| red hat:java-11-openjdk-debugsource | 1:11.0.16.0.8-1.el8_4 · Red Hat:rhel_eus:8.4::appstream | Package registry (OSV) |
| red hat:java-11-openjdk-demo | 1:11.0.16.0.8-1.el8_4 · Red Hat:rhel_eus:8.4::appstream | Package registry (OSV) |
| red hat:java-11-openjdk-devel | 1:11.0.16.0.8-1.el8_4 · Red Hat:rhel_eus:8.4::appstream | Package registry (OSV) |
+19
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-24-0037 · Jan 18, 2024(OpenJDK Güvenlik Güncellemesi)
- TR-22-0596 · Sep 8, 2022(IBM Güvenlik Zafiyeti)
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- Low
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-416 · Use After FreeCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
nvd-secondary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);
/* ... another thread is still running ... */
process(dev->buf);Fixed
lock(&dev->lock);
free(dev->buf);
dev->buf = NULL;
unlock(&dev->lock);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I5OZNAZJ4YHLOKRRRZSWRT5OJ25E4XLM/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JN3EVGR7FD3ZLV5SBTJXUIDCMSK4QUE2/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KO3DXNKZ4EU3UZBT6AAR4XRKCD73KLMO/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L3XPOTPPBZIPFBZHQE5E7OW6PDACUMCJ/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YULPNO3PAWMEQQZV2C54I3H3ZOXFZUTB/
- security.gentoo.org/glsa/202401-25
- security.netapp.com/advisory/ntap-20220729-0009/
- www.debian.org/security/2022/dsa-5188
- www.debian.org/security/2022/dsa-5192
- www.oracle.com/security-alerts/cpujul2022.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.