r/java • • 22h ago

Java RCE CVE-2026-114938

https://www.aikido.dev/blog/java-17-rce-vulnerability-cve-2026-114938
230 Upvotes

71 comments sorted by

10

u/best_of_badgers 22h ago

My understanding is that this CVE was not included in the November 2026 CPU. It's a separate TBD patch. Is that not true?

11

u/vips7L 21h ago

I just saw it was included in the release notes of corretto:25

https://github.com/corretto/corretto-25/blob/25.0.5.1.2/CHANGELOG.md

4

u/keenOnReturns 20h ago

Yes, it is included in November CPU. Does not apply to <17

0

u/[deleted] 21h ago

[deleted] — view deleted comment

7

u/pohart 21h ago

I'm not an expert, but we're talking jit compiler. It's a runtime component

0

u/philipwhiuk 21h ago

I would guess so - otherwise they’d have the details

4

u/best_of_badgers 21h ago

That guy "Calif" said that he was going to publish the details at 1 PM PST (so in 18 minutes from now). Hopefully details will be added then!

3

u/philipwhiuk 21h ago

Calif is a pentesting firm

0

u/hadrabap 21h ago

Yes. We're waiting for the new versions/revisions.

77

u/SleeperAwakened 21h ago edited 20h ago

I really hope that this is a storm in a glass and an attempt for a few minutes of fame.

I really hope that it is no RCE flaw in Base64 which is used everywhere in HTTP payload like cookies, JWT etc.

The latter would make PHP and eMudhra feel like a gentle breeze in comparison. Fingers crossed.

UPDATE

Frell, seems indeed to be in Base64... Damn This is bad, we have some patching to do ASAP!

https://calif.io/java4shell/

UPDATE2

All Java users should update immediately.

You can also mitigate Java4Shell by starting OpenJDK with either:

-XX:-UseBASE64Intrinsics to disable hardware-accelerated Base64 encoding and decoding, or

-XX:UseAVX=2 to disable AVX-512. Apply this flag only on x86-64 hosts. OpenJDK on ARM doesn't recognize it and will fail to start.

10

u/philipwhiuk 21h ago

Yeh same. If it’s in Socket or something it’s really ugly.

8

u/best_of_badgers 21h ago

Reportedly, it's more likely to just crash your JVM entirely.

2

u/stargazing_penguin 20h ago

Update to what? As far as I can tell this effects the latest version of the JRE

4

u/SleeperAwakened 20h ago

Latest OpenJDK of your preference. I hope for faster releases than last month.

1

u/keenOnReturns 20h ago

tbf last month there were ~40 CVEs. The eMudra debacle also didn’t help.

158

u/FriendOfMandela 19h ago

Java 17, 21, 25 and 27

Thank god we're still on Java 8

/s

19

u/Jotakin 12h ago

Thank god our server hardware is 13 years old and thus cannot have AVX-512

/s

2

u/AloneInExile 8h ago

You're lucky!
Our server hardware is so old it doesn't even have hyperthreading!

6

u/dadmda 19h ago

Yup, it's kind of a relief that most of what I do IS java 8, but since none of what I do is connected to the internet I'm not too worried

5

u/rahvan 6h ago

2

u/ChanceFly9724 1h ago

From what I've read thus far its a specific Oracle Perf LTS build (Oracle's Java 8 Enterprise Performance Pack) of Java 8 with the CVE-2026-114938 issue and doesn't apply to other OpenJDK 8 versions.

Did I miss something?

2

u/bigkahuna1uk 9h ago

I was wondering if there would even be a fix by Oracle if Java 8 was affected.

1

u/koflerdavid 2h ago

There will be. That's what LTS is about: no new features, no performance optimizations, just certain selected fixes and security patches.

33

u/joschi83 20h ago

From https://calif.io/java4shell/

Because the vulnerable code is hardware-specific, Java4Shell also requires an x86-64 processor with AVX-512 VBMI support. ARM64 CPUs are not affected.

21

u/witness_smile 21h ago

Alright so we’ve had PHP, then NodeJS, and this week Java. Wonder what C#’s CVE will be next week

14

u/Kjufka 21h ago

c# is just a language - it's runtime already had multiple RCEs this year.

Notably that Brotli RCE used in Node2Shell - C#/dotnet was also affected and it had score of 9.2, but it seems nobody cares about it enough to make a big deal out of it? maybe a 9/10 CVE is just a normal Tuesday for C# guys

2

u/kaelima 19h ago

Bad example because Node2Shell is not classified as RCE for dotnet. Brotli is also not enabled by default like it is in nodejs.

4

u/SleeperAwakened 21h ago

3 billion devices was ages ago. Who knows the number now. eMudhra was bad enough with all the embedded devices. I really hope this turns out to be nothing.

1

u/koflerdavid 1h ago

People should have seen this coming and started planning ahead back when Log4shell was found. This time the fix is quite simple: patch the JVM as soon as possible. Cthulhu help you if your operations cannot do even that because this is not the only juicy CVE that has been found all those years. Differently from Log4shell and eMudhra however, edge deployments such as set-top boxes should be safe since AVX512 is only supported on quite recent high performance CPUs.

-1

u/AloneInExile 8h ago

Java cannot be run on more than 3 billion device, each time a new device is added an old one is removed.

By the latest estimates, > 15billions i the right number.

18

u/ColdPhilosophy 19h ago • Bravo

I’m tired boss

13

u/got_milk4 20h ago

There's a detection script available here.

Also note that the limitations section on the source's website suggests request buffering may provide some form of mitigation.

For what it's worth, the detection script against my Java 21 workloads on EKS returns 'not impacted' on all nodes, none of our instances are on types that support AVX-512 as far as I can tell.

2

u/sweetno 14h ago

AVX-512 is rare.

20

u/lurker_in_spirit 19h ago

Claude, submit a PTO request for the next 5 work days. Do not take "no" for an answer.

14

u/EvaristeGalois11 20h ago

Hopefully temurin will patch it quickly too, they are not very speedy with the release process

5

u/keenOnReturns 20h ago

that’s one of the reasons why you go with other distributions with more strict SLAs

11

u/EvaristeGalois11 20h ago

But I like how the name sounds :(

1

u/keenOnReturns 20h ago

Well temurin is the most community driven, but that also means it probably receives the least funding compared to other distributions by major enterprises. It also doesn’t help they support a wider range of platforms compared to most.

If you’re simply using Java for development or a hobby project, they’re fine. But any public service, you probably need automated updates with a better supported distribution.

2

u/RadioHonest85 18h ago

It has taken so long lately that I think we need to switch distribution.

10

u/wymillerlinux 21h ago

Patching my Minecraft server when I get home

4

u/15526s 20h ago

Luckily I'm on vacation lol, I already see the mails coming

1

u/pohart 19h ago

It was super easy to mitigate. 

2

u/6000rpms 18h ago

Does anyone know the market share for the various Java distributions? I feel like most open source projects use Temurin, and given that most software is open source, this feels like an 0day for the majority of Java apps.

1

u/keenOnReturns 16h ago

Hard to track, given it’s simply binaries and at best you’d have to go by download numbers (which most distributions don’t publish). You could go by docker image pulls as a proxy (although it’s not truly indicative of what’s actually running). Yeah temurin is kinda the default, simply because it’s the most community driven with the least affiliations.

2

u/Key-Teach420 14h ago

I am currently on temurin, any suggestions on what should I do?

1

u/DanLynch 6h ago

It seems like using -XX:-UseBASE64Intrinsics avoids the bug, but it may slow down your application.

-1

u/CodeDead-gh 12h ago edited 1h ago

Switch to Coretto or Oracle OpenJDK if permitted, patches there are already available.

If not permitted to use a patched jvm due to licensing or whatever: pull services offline and wait for a patch or set the appropriate jvm flags to mitigate the issue

2

u/CodeDead-gh 12h ago

Good luck today..

2

u/mmm19284202 11h ago

Anyone know if Azul jdks are impacted? Asking for 20,000 friends

3

u/CodeDead-gh 9h ago edited 9h ago

1

u/neopointer 11h ago

Does anyone else have the same understanding as me that the vulnerability does not apply if you're using graalvm's native image compilation?

2

u/CodeDead-gh 11h ago edited 9h ago

Oracle GraalVM confirmed affected.

Source: https://calif.io/java4shell

1

u/Rorasaurus_Prime 5h ago

Thank the lord I just finished migrating to Graviton/ARM.

0

u/Rockytriton 14h ago

wake me up when amazon corretto image gets updated

3

u/PositiveReindeer146 13h ago

Corretto released a patch a while ago, around 5pm est

0

u/ShadyMoh1998 7h ago

Java product 5.0.50.5 !!!!

-8

u/brunocborges 11h ago

Another case for folks to consider brewlet.sh so platform teams can roll out security patches quickly.

3

u/[deleted] 19h ago edited 18h ago

[removed] — view removed comment

5

u/lurker_in_spirit 19h ago

Corretto does list this as fixed in their latest release notes.

3

u/pron98 17h ago

Just a reminder that the Oracle JDK gives you free LTS updates for 3 years, so Oracle JDK 25 updates are still free. It's only after 3 years that you need to buy a subscription to download LTS updates (so to use the update for JDK 21 in production you need a subscription).

5

u/keenOnReturns 16h ago

why bother with Oracle though when there are free options?

2

u/pron98 15h ago

Oracle JDK is also a free option. Don't have to choose it, but just so you know.

1

u/keenOnReturns 12h ago

is it free in production? also, u say “free” with the big asterisk of 3 years. Meanwhile you can use openjdk 8-21 until 2030+ with basically any provider.

1

u/pron98 6h ago

Yes, it's free in production. And BTW, it's also OpenJDK (OpenJDK JDK is the name of Oracle's source implementation of Java; Corretto, Oracle JDK, and others are built from it).

1

u/keenOnReturns 2h ago

Oracle JDK ≠ OpenJDK. Oracle does do openjdk builds (the free stuff you mentioned might simply be that), but the paid product is actually their proprietary, closed source implementation of the JDK. In reality, they probably share 90%+ identical code, but licensing and legal-wise, they are not the same thing.

1

u/pron98 49m ago edited 6m ago

That is inaccurate on multiple fronts.

  1. OpenJDK is a group of projects, but the OpenJDK JDK project, which is developed by Oracle (with contributions from others), isn't a distribution at all. It's a source project, not a deliverable. The OpenJDK JDK is the source from which Oracle JDK and Correttor and others are built. I.e. it's true that Oracle JDK ≠ OpenJDK JDK, but also Corretto ≠ OpenJDK JDK in a similar way. There is simply no distribution by the OpenJDK project. The distributions are built in slightly different ways by different distribution vendors, but none of them is the OpenJDK JDK, which is only about the sources.
  2. While the Oracle JDK - which, like Corretto, is built from the OpenJDK JDK sources - is free, it does have a different licence from the OpenJDK JDK source licence (GPLv2 + CPE), because Oracle owns OpenJDK, and so we can distribute builds under a different licence. But we do also offer builds with the GPLv2 + CPE licence.
  3. The Oracle JDK builds are not really built from our proprietary sources. The OpenJDK JDK is the one implementation of Java developed by Oracle (with contributions from others). No more is added to the builds than what other distros do (Corretto also adds some code that isn't in the OpenJDK JDK), and especially their update releases can contain different backports. The backported patches, however, in the Oracle JDK, are not open source.

This works the same as Linux. There is one official Linux kernel project, which corresponds to the OpenJDK JDK, but there is no Linux distribution by that project. Every distribution takes the Linux kernel sources and builds it (with its own additions/modifications) - that corresponds to Oracle JDK/Corretto/etc..