Java flaw allows code run without password
Security researchers found a critical flaw in Java, a widely used programming language. The flaw, known as Java4Shell or CVE-2026-114938, is a memory-corruption bug in the Base64 decoder of OpenJDK. This bug can cause a program to crash or allow an attacker to run their own commands. The researchers used AI coding tools to discover the flaw. Oracle released a fix for the flaw on the same day the researchers published their findings.
The bug is caused by hand-written processor instructions that are used to speed up Base64 decoding. These instructions can be exploited by sending a specific input to the decoder, which causes it to write data to the wrong location in memory. This can lead to a crash or allow an attacker to gain control of the system. The researchers demonstrated that this flaw can be exploited to gain control of systems running certain software, including Keycloak, Jira, and Confluence.
Affected: OpenJDK, Keycloak, Jira, Confluence, Jenkins, PingFederate, Kafka, Solr, Elasticsearch, and other software that uses the affected Base64 decoder. What to do:
- Apply the patch released by Oracle to fix the flaw.
- Implement compensating controls to block potential exploitation while patches are being rolled out.
- Monitor systems for signs of exploitation, such as crashes or unusual behavior.
- Consider using AI-powered tools to help identify and exploit vulnerabilities in your own systems, to stay ahead of potential attackers.
Read the full article on CyberScoop
CVEs in the original article
This brief was written with AI from the original article and checked for copied wording. Confirm details with CyberScoop before acting. Spotted an error, or are you the publisher and want this brief removed? Email us and we will act on it promptly.