CVE-2025-21587: openjdk-21 vulnerabilities
Affects openjdk-21Source GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 7.4 High · fixed in 21.0.7+6~us1-0ubuntu1~20.04 : patch openjdk-21 soon.
Data as of 24 Nov 2026, 17:24 UTC
- Patch
- Available – fixed in 21.0.7+6~us1-0ubuntu1~20.04, 21.0.7+6~us1-0ubuntu1~22.04, 21.0.7+6~us1-0ubuntu1~24.04
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 15 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade the Ubuntu openjdk-21 to 21.0.7+6~us1-0ubuntu1~20.04 (package) or 21.0.7+6~us1-0ubuntu1~22.04 (package) or 21.0.7+6~us1-0ubuntu1~24.04 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSopenjdk-21pkg:deb/ubuntu/openjdk-21?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSopenjdk-21pkg:deb/ubuntu/openjdk-21?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSopenjdk-21pkg:deb/ubuntu/openjdk-21?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
Alicja Kario discovered that the JSSE component of OpenJDK 21 incorrectly handled RSA padding. An Attacker could possibly use this issue to obtain sensitive information. (CVE-2025-21587) It was discovered that the Compiler component of OpenJDK 21 incorrectly handled compiler transformations. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2025-30691) It was discovered that the 2D component of OpenJDK 21 did not properly manage memory under certain circumstances. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2025-30698) In addition to security fixes, the updated packages contain bug fixes, new features, and possibly incompatible changes. Please see the following for more information: https://openjdk.org/groups/vulnerability/advisories/2025-04-15