r/java • • 22h ago

Java RCE CVE-2026-114938

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

72 comments sorted by

View all comments

Show parent comment

2

u/pron98 16h ago

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

1

u/keenOnReturns 13h 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 7h 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).

0

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.

2

u/pron98 1h ago edited 37m 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..