Hi all,

I am writing as a member of the Apache Pinot PMC about CVE-2026-114938, a JDK 
vulnerability that was disclosed on 2026-11-17. The bug is in the JDK, not in 
Pinot. However, Pinot clusters can be exposed, so we recommend that every 
operator apply the mitigation below now.

What the issue is

The x86-64 AVX-512 VBMI intrinsic for `java.util.Base64` decoding can write 
past the end of its output buffer when it decodes some malformed input that 
ends in = padding. The result is heap corruption in the JVM. References:

- OpenJDK advisory: 
https://openjdk.org/groups/vulnerability/advisories/2026-11-17
- Write-up: https://calif.io/java4shell

A JVM is affected only when all of these are true:

- The CPU is x86-64 with AVX-512 VBMI: Intel Ice Lake or later, or AMD Zen 4 or 
later. ARM (for example AWS Graviton) is not affected. Older x86 CPUs (Skylake, 
Cascade Lake, AMD Zen 1–3) are not affected.
- The JDK is OpenJDK 17.0.6 or later and older than one of the fixed versions: 
17.0.21.1, 21.0.13.1, 25.0.5.1 or 27.0.1.1.

Pinot decodes Base64 that comes from clients. This happens during HTTP Basic 
authentication and in some query functions. A client that can reach a broker, 
controller or server port can therefore send input that reaches the vulnerable 
code. Queries also run on servers and minions, so all components are in scope, 
not only brokers.

Recommendation

1. Add `-XX:-UseBASE64Intrinsics` to the JVM options of every Pinot component 
(controller, broker, server and minion) and restart them. It is a product flag, 
so it does not need `-XX:+UnlockDiagnosticVMOptions`.
- Docker or scripts: add it to `JAVA_OPTS`.
- Helm chart: add it to the `jvmOpts` of each component.
- We also recommend adding it to ZooKeeper if it runs on an affected JVM.
2. Do not use `-XX:UseAVX=2` as the mitigation. It changes code generation for 
the whole JVM, and on ARM nodes, the JVM does not start with it, so a shared 
configuration can break mixed clusters.
3. When your JDK vendor publishes a fixed build, upgrade the JDK. After that, 
you can remove the flag.

The flag only disables the fast path for Base64 decoding. Base64 decoding is 
not on a hot path in Pinot, so we do not expect a measurable performance change.

How to verify

On a running process: `jcmd <pid> VM.flags -all | grep UseBASE64Intrinsics` 
must show `false`. You can also check that the flag is on the java command line 
of each component.

Do not test this vulnerability against a production cluster with crafted 
queries or Authorization headers. On an affected JVM, this corrupts the heap of 
the process that receives them.

If you have questions, use [Slack](https://inviter.co/apache-pinot) or reply to 
this thread. If you think you have found a Pinot-specific security issue, 
report it privately to [email protected], following 
https://www.apache.org/security/.

Thanks,
Gonzalo OrtizApache Pinot PMC

Reply via email to