CVE-2026-21933
Amazon Corretto JDK vulnerability analysis and mitigation

Overview

CVE-2026-21933 is a CRLF injection vulnerability in the Networking component (specifically the HttpServer request handling) of Oracle Java SE that allows a remote, unauthenticated attacker to bypass security controls and perform unauthorized data operations. It was disclosed on January 20, 2026, as part of Oracle's January 2026 Critical Patch Update. Affected versions include Oracle JDK/JRE 8u471, 8u471-b50, 8u471-perf, 11.0.29, 17.0.17, 21.0.9, and 25.0.1, as well as Oracle GraalVM Enterprise Edition 21.3.16 and GraalVM for JDK 17.0.17 and 21.0.9. It carries a CVSS v3.1 base score of 6.1 (Medium) (Oracle CPU Jan 2026, Red Hat Bugzilla).

Technical details

The vulnerability is classified as CWE-93 (Improper Neutralization of CRLF Sequences / CRLF Injection) and resides in the HttpServer component of the Java SE Networking library. An attacker can inject carriage return and line feed characters (\r\n) into HTTP responses served by the built-in Java HttpServer, potentially manipulating HTTP headers and enabling cross-site scripting (XSS) attacks against users of applications that rely on this server. Exploitation requires network access and user interaction (e.g., a victim visiting a crafted URL or interacting with a malicious response), and no authentication is required. The scope is changed, meaning the impact can extend beyond the vulnerable component itself. Upstream fix commits are available for OpenJDK 8, 11, 17, 21, and 25 (Red Hat Bugzilla, Oracle CPU Jan 2026).

Impact

Successful exploitation can lead to low-level confidentiality and integrity impacts with no availability impact, consistent with the CVSS score. The changed scope indicates that a successful attack can affect components beyond the Java runtime itself — most notably, web browsers or other clients interacting with applications using the vulnerable HttpServer. The primary risk is HTTP response splitting leading to XSS, which could allow session hijacking, credential theft, or injection of malicious content into user sessions (Oracle CPU Jan 2026, Red Hat Bugzilla).

Exploitation steps

  1. Reconnaissance: Identify applications that use the Java built-in com.sun.net.httpserver.HttpServer (or HttpsServer) class, particularly those exposing HTTP endpoints to external users, running affected Java SE versions (8u471, 11.0.29, 17.0.17, 21.0.9, or 25.0.1).
  2. Craft malicious request: Construct an HTTP request containing CRLF sequences (%0d%0a or \r\n) in a parameter or header field that the server reflects back in its HTTP response headers.
  3. Inject response headers: The injected CRLF sequences cause the server to split the HTTP response, allowing the attacker to inject arbitrary HTTP headers (e.g., Set-Cookie, Location) or inject a second HTTP response body.
  4. Deliver XSS payload: By injecting a crafted Content-Type header and body, the attacker can cause the victim's browser to interpret attacker-controlled content as HTML/JavaScript, enabling XSS attacks such as session cookie theft or phishing page injection.
  5. Achieve objective: Lure a victim user to interact with the crafted URL (e.g., via a phishing link), causing their browser to receive and execute the injected payload, resulting in session hijacking or credential theft (Red Hat Bugzilla, Oracle CPU Jan 2026).

Indicators of compromise

  • Network: Unusual HTTP requests to Java HttpServer-based endpoints containing URL-encoded CRLF sequences (%0d%0a, %0D%0A) in query parameters or headers; HTTP responses with unexpected additional headers or split response bodies.
  • Logs: Java application access logs showing requests with %0d, %0a, or \r\n patterns in parameter values; unexpected Set-Cookie or Location headers in server responses not set by application logic.
  • Process: Java processes serving HTTP responses with anomalous header counts or malformed response structures observable via network traffic analysis tools (e.g., Wireshark).

Mitigation and workarounds

Oracle has released fixed versions addressing CVE-2026-21933: Java SE 8u481, 11.0.30, 17.0.18, 21.0.10, and 25.0.2. Organizations should upgrade to these patched releases as the primary remediation. Red Hat has issued corresponding errata (RHSA-2026:0849, RHSA-2026:0931, RHSA-2026:4832) for affected RHEL and OpenJDK ELS packages. IBM has also released patches for affected products including IBM i, IBM MQ, IBM Cloud Pak for Business Automation, and numerous other IBM Java SDK-based products. As a temporary workaround, Oracle recommends blocking network protocols required by the attack where feasible, though upgrading is strongly preferred (Oracle CPU Jan 2026, Red Hat Bugzilla, IBM i Advisory).

Community reactions

The vulnerability received standard industry attention as part of Oracle's January 2026 CPU, which addressed 337 security patches across Oracle product families. Red Hat promptly issued errata for affected OpenJDK packages within days of the Oracle advisory. IBM issued a broad set of security bulletins across dozens of affected products over the following months. The OpenJDK project published upstream fix commits for all affected branches (8, 11, 17, 21, 25). No notable independent researcher commentary or significant social media discussion specific to this CVE has been identified beyond routine patch tracking (Oracle CPU Jan 2026, Red Hat Bugzilla).

Additional resources


SourceThis report was generated using AI

Related Amazon Corretto JDK vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-34282HIGH7.5
  • Amazon Corretto JDK logoAmazon Corretto JDK
  • cpe:2.3:a:oracle:graalvm:*:*:*:*:enterprise:*:*:*
NoYesApr 21, 2026
CVE-2026-22016HIGH7.5
  • Amazon Corretto JDK logoAmazon Corretto JDK
  • java-1_8_0-openjdk-headless
NoYesApr 21, 2026
CVE-2026-22021MEDIUM5.3
  • Amazon Corretto JDK logoAmazon Corretto JDK
  • java-17-openj9-src
NoYesApr 21, 2026
CVE-2026-22018LOW3.7
  • Amazon Corretto JDK logoAmazon Corretto JDK
  • java-17-openjdk-devel-slowdebug-debuginfo
NoYesApr 21, 2026
CVE-2026-34268LOW2.9
  • Amazon Corretto JDK logoAmazon Corretto JDK
  • java-1.8.0-openjdk-fastdebug-debuginfo
NoYesApr 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management