Remote Code Execution (RCE) Affecting openjdk package, versions [21.0.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
59.27% (100th 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 IDSNYK-CONAN-OPENJDK-22576911
  • 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?

A fix was pushed into the master branch but not yet published.

Overview

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