Remote Code Execution (RCE) Affecting openjdk-jre package, versions [17.0.6,17.0.21.1)[21.0.0,21.0.13.1)[25.0.0,25.0.5.1)[27.0.0,27.0.1.1)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Social Trends
Exploit Maturity
Proof of Concept
EPSS
0.75% (56th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UPSTREAM-OPENJDKJRE-22576909
  • published17 Nov 2026
  • disclosed16 Nov 2026
  • creditUnknown

Introduced: 16 Nov 2026

NewCVE-2026-114938  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade openjdk-jre to version 17.0.21.1, 21.0.13.1, 25.0.5.1, 27.0.1.1 or higher.

Overview

openjdk-jre is a free and open-source implementation of the Java Platform, Standard Edition (Java SE).

Affected versions of this package are vulnerable to Remote Code Execution (RCE) due to a heap buffer overflow in the AVX-512 hardware-accelerated Base64 decoder intrinsic (the StubRoutines decode stub reached through java.util.Base64$Decoder.decodeBlock), where an integer underflow in the decoded-length arithmetic writes past the output buffer. An attacker can corrupt native heap memory before authentication by sending base64 input that reaches a decode call, such as an HTTP Basic credential, a JWT, or a SAML assertion. Exposure is limited to x86-64 CPUs that support AVX-512VL and AVX-512BW, where the intrinsic is auto-enabled by default, and does not occur on ARM, on x86 without those AVX-512 features, or when the intrinsic is disabled with -XX:-UseBASE64Intrinsics.

Workaround

This vulnerability can be avoided by disabling the intrinsic with -XX:+UnlockDiagnosticVMOptions -XX:-UseBASE64Intrinsics (requires a JVM restart), or by running on ARM or non-AVX-512 hardware, which forces the pure-Java Base64 decoder.

CVSS Base Scores

version 4.0
version 3.1