Java4Shell OpenJDK Flaw Enables Remote Code Execution; Cloudflare Adds WAF Rules

· Original article ↗

Summary

Java4Shell (CVE-2026-114938) is a critical OpenJDK Base64-decoder heap-corruption flaw that can enable remote code execution on specific x86-64/AVX-512 systems. Cloudflare added paid-plan WAF rules; patching remains the complete fix.

Key points

  • Calif disclosed Java4Shell on November 17, 2026; the article reports a CVSS 4.0 score of 9.2.
  • Malformed Base64 padding can make OpenJDK’s AVX-512 decoder write beyond the output buffer. Calif demonstrated heap-memory disclosure and remote code execution.
  • The flaw affects OpenJDK 17.0.6 or newer only when the application decodes attacker-controlled Base64 using the standard decoder on x86-64 hardware with AVX-512 VBMI; ARM64 is not affected.
  • Calif reported pre-authentication RCE demonstrations against Keycloak, Jira, Confluence, Artifactory, Jenkins, and PingFederate, and post-authentication demonstrations against Kafka, Solr, Elasticsearch, Gerrit, and Spinnaker.
  • OpenJDK and Oracle published fixes on disclosure day. Disabling Base64 intrinsics or AVX-512 is a temporary workaround; affected services must be restarted, and the workarounds may reduce performance.
  • Cloudflare released managed rules for paid plans, enabled in Log mode by default. Customers can review matches and switch to Block; Cloudflare says legitimate Base64 traffic may cause false positives.
  • Cloudflare says WAF rules cannot cover every path to the decoder, including non-HTTP traffic and requests that bypass Cloudflare. The article identifies updating every Java runtime as the complete fix.

Article Details

Vulnerability Types
  • Memory corruption
  • Out-of-bounds write
Severity
Critical (CVSS 4.0: 9.2/10)
Affected Versions
  • OpenJDK 17.0.6 and newer
Exploitation Status
reported
Exploit Availability
unknown
Patch Status
available
Workarounds
  • Use the JVM startup flag -XX:-UseBASE64Intrinsics and restart; this disables the vulnerable accelerated Base64 code path.
  • On x86-64 hosts, use -XX:UseAVX=2 and restart to disable AVX-512.

MITRE ATT&CK

CVE

Vendors

Products

Apache KafkaPingFederate in their default configurations, and post-authentication remote code execution against Apache Kafka, Apache Solr, Elasticsearch, Gerrit, and Spinnaker.Apache Solrin their default configurations, and post-authentication remote code execution against Apache Kafka, Apache Solr, Elasticsearch, Gerrit, and Spinnaker.Atlassian ConfluenceCalif demonstrated pre-authentication remote code execution against Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate in their default configurations, andAtlassian Jiraremote code execution. Calif demonstrated pre-authentication remote code execution against Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate in their default configurations,Cloudflare Managed RulesetCloudflare has released a new set of rules in the Cloudflare Managed Ruleset designed to detect malformed Base64 input patterns associated with this vulnerability. The rules are available on Pro, Business and EnterpriseCloudflare WAF Attack ScoreWhile the managed rule is the primary way to block malformed Base64 triggers at the edge, Cloudflare WAF Attack Score (and specifically its remote code execution sub-score cf.waf.score.rce available on Enterprise plans)Elasticsearchconfigurations, and post-authentication remote code execution against Apache Kafka, Apache Solr, Elasticsearch, Gerrit, and Spinnaker.Gerritand post-authentication remote code execution against Apache Kafka, Apache Solr, Elasticsearch, Gerrit, and Spinnaker.Javaa memory-corruption vulnerability in the Base64 decoder of OpenJDK, the most widely used Java runtime. Under the Common Vulnerability Scoring System (CVSS) 4.0, it scores 9.2 out of 10 (Critical). TheJenkinsremote code execution against Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate in their default configurations, and post-authentication remote code execution againstJFrog Artifactorypre-authentication remote code execution against Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate in their default configurations, and post-authentication remote codeKeycloakand into remote code execution. Calif demonstrated pre-authentication remote code execution against Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate in their defaultOpenJDKCalif disclosed Java4Shell (CVE-2026-114938), a memory-corruption vulnerability in the Base64 decoder of OpenJDK, the most widely used Java runtime. Under the Common Vulnerability Scoring System (CVSS) 4.0, it scoresPingFederatecode execution against Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate in their default configurations, and post-authentication remote code execution against Apache Kafka,Spinnakerpost-authentication remote code execution against Apache Kafka, Apache Solr, Elasticsearch, Gerrit, and Spinnaker.

Related Articles