Technology1 min read

How Cloudflare WAF helps protect against Java4Shell (CVE-2026-114938)

By · Published by Everything Blog

In short

Designated as Java4Shell with a 9.2 CVSS score, the vulnerability enables unauthenticated attackers to overwrite memory by sending malformed Base64 data. The flaw arises from handwritten AVX-512 assembly code calculating an invalid negative length when handling improper padding characters. Security firm Calif verified pre-authentication compromise against default deployments of Jenkins, Keycloak, and Atlassian Jira. Network filtering can monitor or intercept web traffic, but applying the vendor runtime patches remains mandatory for complete protection.

Key points

  • Application-level input validation cannot stop this vulnerability because memory corrupti…: Application-level input validation cannot stop this vulnerability because memory corruption occurs internally within the runtime decoder.
  • Enterprise platforms such as Jenkins, Keycloak, and Atlassian Jira are vulnerable in thei…: Enterprise platforms such as Jenkins, Keycloak, and Atlassian Jira are vulnerable in their default configurations.
  • Cloudflare deployed managed rules defaulting to log mode, though administrators must upda…: Cloudflare deployed managed rules defaulting to log mode, though administrators must update Java to fully remediate the threat.

Sources checked by our analysis pipeline: 1

On November 17, 2026, the security research company Calif 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 scores 9.2 out of 10 (Critical). The flaw affects Java. OpenJDK published a security advisory and Oracle released patched builds in its November 2026 Critical Patch Update the same day, at 21:00 UTC.

The vulnerability lets a remote attacker with no credentials send malformed Base64 data to a Java application and overwrite memory next to the decoded output. Calif turned that overwrite into a leak of heap memory, similar to Heartbleed, and into remote code execution. Calif demonstrated pre-authentication remote code 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, Apache Solr, Elasticsearch, Gerrit, and Spinnaker.

Cloudflare 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 Enterprise…

Technology