CVE-2026-114941: Java C2 compiler mis-sizes integer compression ranges and lets bounds checks fail

ByLinuxtastic

December 1, 2026 #CVE, #Java

This is the Compiler item in Oracle’s November 2026 Critical Security Patch Update for Java SE. Oracle’s record says only that a “difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols” to cause a hang or repeatable crash and to update or read some data, through data supplied to APIs in the component, “such as through a web service”. Red Hat’s bug for the same fix, titled “Improve integer compression”, says what the bug is: the C2 JIT compiler computes value ranges incorrectly for integer compression operations, so bounds checks become ineffective and an out-of-bounds access is possible, with a crash as the primary impact and information disclosure as the secondary one. Oracle scores it 7.0; Red Hat rates it Important and says OpenJDK 8, 11 and 17 are not affected. Upgrade OpenJDK 21, 25 and 27 to the distribution’s build of 21.0.13.1, 25.0.5.1 or 27.0.1.1 (Oracle Java SE and GraalVM to the November 2026 CSPU) and restart every JVM; there is no configuration switch that avoids the compiler.

CVE-2026-114941 at a glance.

ComponentJava SE, the HotSpot C2 JIT compiler (Oracle component Compiler); OpenJDK java-21-openjdk, java-25-openjdk and openjdk-27 builds, Oracle Java SE and Oracle GraalVM for JDK
Affected versionsOracle Java SE 21.0.13.0.3, 25.0.5.0.3 and 27.0.1.0.3; Oracle GraalVM for JDK 21.0.13.0.3; the OpenJDK 21, 25 and 27 update trains before the November 2026 security release. Red Hat states that OpenJDK 8, 11 and 17 are not affected; Debian and Ubuntu list openjdk-17 and openjdk-8 as not affected
Fixed inthe November 2026 Critical Security Patch Update (17 November 2026; Oracle’s own fixed build numbers are in the Java SE risk matrix, which was beyond the readable part of the CSPU page on 1 December). In OpenJDK as the distributions package it: 21.0.13.1, 25.0.5.1 and 27.0.1.1 (Debian, Ubuntu, Red Hat and SUSE all ship those numbers); the OpenJDK vulnerability advisory page for 17 November refused our reader
SeverityOracle CVSS 3.1 7.0 High (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H); NVD Received with that vector and CWE-400 on 19 November, no score of its own. Red Hat Important, 7.0 on the same vector, CWE-787 (out-of-bounds write), bug 2574324; Ubuntu Medium, 7.0; SUSE important, 7.0, Pending. Alpine not consulted
Exploited in the wildNot on CISA’s Known Exploited Vulnerabilities list as of 1 December 2026 (catalogue 2026.11.27). EPSS 0.0022 (12th percentile) on 21 November 2026
Who is exposedany service on OpenJDK 21, 25 or 27 that compiles untrusted input through code paths using integer compression, which Oracle’s note frames as APIs reached “through a web service”: the attacker needs no account (PR:N) but has to find such a path and shape its data (AC:H), and the outcome Oracle lists is availability first. Java 8, 11 and 17 services are not exposed. Services with the C2 compiler disabled are a special case the record does not address, so this page does not treat that as a mitigation
PublishedCVE record 17 November 2026 (Oracle, updated 19 November); this page built 1 December 2026, last updated 1 December 2026

What it is

HotSpot’s C2 compiler optimises hot methods by reasoning about the range of values an integer can hold: if it can prove an index is always inside an array, it removes the bounds check. Red Hat’s description of the OpenJDK fix is that C2 computed the value range of integer compression operations incorrectly; it does not name them, and our reading is that these are the Integer.compress() and Long.compress() bit-manipulation methods the JDK added in 19 and C2 intrinsifies, which fits a bug that touches 21 and later but not 17. A range that is too narrow is a proof that was never valid: the bounds check goes, the real index lands outside the array, and the JVM reads or writes memory it should not. Red Hat lists the primary impact as denial of service by crash and the secondary as information disclosure, which lines up with Oracle’s C:L/I:L/A:H.

Oracle’s text adds the exposure condition: the vulnerability “can only be exploited by supplying data to APIs in the specified Component without using Untrusted Java Web Start applications or Untrusted Java applets, such as through a web service”. That sentence is Oracle’s standard framing for server-side exposure, and it is why the vector is AV:N/PR:N: the attacker is a client of a Java service, and the service has to run the affected code on the attacker’s data often enough for C2 to compile it. The AC:H is the rest of that: finding a compiled path whose range analysis the attacker controls is not the same as having one.

Oracle discloses no fix detail and no fixed build numbers in the readable part of its page; the Java SE risk matrix was beyond what we could read on 1 December, as it has been for the other November CSPU items on this site, and the OpenJDK advisory page refused our reader. The versions in the box are therefore the OpenJDK update builds the distributions shipped against this CVE, which Debian, Ubuntu, Red Hat and SUSE agree on. This CVE shares the CSPU with CVE-2026-114942 (Libraries, same vector, written up separately) and with CVE-2026-114938, 114939 and 114940 already on this site.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one.

DistributionStatusFixed package
AlpineNot consulted for this page—
DebianFixed in trixie’s security updates (DSA-6639-1 for openjdk-21, DSA-6640-1 for openjdk-25) and in sid; the plain trixie rows and forky (21.0.13.0.3+1-1, 25.0.5+8-1) vulnerable; openjdk-17 not listed as affectedtrixie openjdk-21 21.0.13.1+2-1~deb13u1, openjdk-25 25.0.5.1+2-1~deb13u1; sid 21.0.13.1+2-1, 25.0.5.1+2-1, openjdk-27 27.0.1.1+4-1
UbuntuMedium, 7.0; fixed for openjdk-21 on 20.04 (Pro) to 26.10, openjdk-25 on 22.04 to 26.10 and openjdk-27 on 26.10 (USN-9156-1, USN-9157-1, USN-9158-1 of 18 November); openjdk-17 and openjdk-8 not affected21.0.13.1+2-1~26.10.1 / ~26.04.1 / ~24.04.1 / ~22.04.1 / ~20.04.1; 25.0.5.1+2-1~26.10.1 / ~26.04.1 / ~24.04.1 / ~22.04.1; 27.0.1.1+4-1~26.10.1
RHEL, Rocky, Alma, CentOS StreamImportant, 7.0, CWE-787 (bug 2574324); fixed for java-21-openjdk on RHEL 8, 9 and 10 (RHSA-2026:100567, 100568) and java-25-openjdk on RHEL 9 and 10 (RHSA-2026:100571, 100572), 18–19 November; the Red Hat Build of OpenJDK 21.0.13.1 and 25.0.5.1 portable builds likewise; java-17-openjdk, 11 and 8 not affected; the Hardened Images and the IBM Semeru 21 package still affectedjava-21-openjdk 21.0.13.1.2-1.1.el8 / -1.2.el9 / -1.2.el10; java-25-openjdk 25.0.5.1.2-1.1.el9 / el10
openSUSE/SLEimportant, 7.0, Pending (bug 1290783); released for SLE 15 SP7 and SLES 16.0/16.1 (java-21-openjdk, java-25-openjdk) and Leap 15.6, 20–26 November; SLES 15 SP6 java-21-openjdk and Leap 16.0/16.1 still affectedjava-21-openjdk 21.0.13.1-150600.3.40.1; java-25-openjdk 25.0.5.1-150700.15.23.1
Fedora, Arch; vendor JDKs (Oracle, Temurin, Corretto, Zulu, GraalVM)Not consulted; Oracle Java SE and GraalVM take the November 2026 CSPU, the OpenJDK vendors their 21.0.13.1 / 25.0.5.1 / 27.0.1.1 builds (Red Hat lists Temurin 25.0.5.1 in RHSA-2026:100752)the vendor’s November 2026 security release

How to check

Three questions, in order: which JDK builds are installed and which are below the fixed update, which running JVMs still use the old build, and which of those take input from the network. The restart is the step people miss: a JVM keeps the compiler it started with.

# 1. installed JDKs and their update numbers (fixed: 21.0.13.1+, 25.0.5.1+, 27.0.1.1+; 8, 11 and 17 not affected)
for j in /usr/lib/jvm/*/bin/java; do printf '%s: ' "$j"; "$j" -version 2>&1 | head -1; done
dpkg -l 'openjdk-*-jre-headless' 2>/dev/null | awk '/^ii/{print $2, $3}'
rpm -qa 'java-*-openjdk-headless' 2>/dev/null

# 2. running JVMs, and the binary each one started from (a deleted path means it predates the upgrade)
for p in $(pgrep -x java); do printf '%s %s ' "$p" "$(readlink /proc/$p/exe)"; tr '\0' ' ' < /proc/$p/cmdline | cut -c1-120; echo; done

# 3. which of them listen on the network
ss -tlnp | grep -E 'java'

A JDK at 21.0.13.1, 25.0.5.1 or 27.0.1.1 (or Oracle’s November build) is done once every process that uses it has been restarted; step 2 shows the ones that have not, because /proc/<pid>/exe points at the file that was replaced. A JVM on 8, 11 or 17 is not affected by this CVE, whatever it listens on. A JVM on 21, 25 or 27 that takes requests from the network and runs the old build is the case this page is about.

How to fix it

Upgrade the JDK packages and restart the services that use them; Debian trixie, Ubuntu, Red Hat and SUSE’s SLE 15 SP7 and 16.x builds were all out before 1 December 2026. Containers rebuild from an updated base image rather than upgrading in place.

# Debian trixie (DSA-6639-1, DSA-6640-1) / Ubuntu (USN-9156-1, USN-9157-1, USN-9158-1)
apt update && apt install --only-upgrade 'openjdk-21-*' 'openjdk-25-*' 'openjdk-27-*'
# RHEL family (RHSA-2026:100567 / 100568 / 100571 / 100572)
dnf upgrade 'java-21-openjdk*' 'java-25-openjdk*'
# SUSE
zypper patch
# then restart every JVM: the compiler is part of the process that started
systemctl restart tomcat jenkins elasticsearch 2>/dev/null; pgrep -x java

There is no mitigation short of the update. Turning off the C2 compiler (-XX:TieredStopAtLevel=1) would avoid the code that mis-sizes the range, but the record does not say so and the performance cost on a server is large, so this page does not recommend it as a stopgap. What not to do: do not assume a service is safe because it is “just a web service”, which is precisely the exposure Oracle names; and do not stop at the package upgrade, since a long-running JVM keeps the old compiler until it restarts.

Sources

  • CVE-2026-114941 at CVE.org — the Oracle record (17 November 2026, updated 19 November): the Compiler component, the affected Java SE and GraalVM versions, the web-service note and CVSS 3.1 7.0
  • Oracle Critical Security Patch Update Advisory, November 2026 — the affected-products row for Java SE (patch document CPU435); the Java SE risk matrix was beyond the readable part of the page on 1 December · OpenJDK vulnerability advisories, whose 17 November page refused our reader
  • NVD entry — Received, Oracle’s vector and CWE-400; no NVD score or CPE yet
  • Distribution trackers: Debian (DSA-6639-1, DSA-6640-1) · Ubuntu (USN-9156-1, USN-9157-1, USN-9158-1) · Red Hat (Important, bug 2574324 “Improve integer compression” and the mechanism, the RHSAs) · SUSE (important, released for SP7 and 16.x)
  • CISA KEV catalogue 2026.11.27, not listed · EPSS score for this CVE, 21 November 2026

Related reading

This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.