Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-87255 Overview
CVE-2026-87255 is a vulnerability in the Compiler component of Oracle Java SE. The flaw affects Oracle Java SE versions 25.0.4.1 and 27. An unauthenticated attacker with network access can exploit the issue through multiple protocols without user interaction. Successful exploitation grants unauthorized read access to a subset of Oracle Java SE accessible data.
Oracle rates the vulnerability as difficult to exploit. The issue can only be triggered by supplying data to APIs in the Compiler component, such as through a web service. Untrusted Java Web Start applications and untrusted Java applets are not viable attack paths.
Critical Impact
Remote unauthenticated information disclosure limited to a subset of Oracle Java SE accessible data within the Compiler component.
Affected Products
- Oracle Java SE 25.0.4.1
- Oracle Java SE 27
- Compiler component
Discovery Timeline
- 2026-10-20 - CVE-2026-87255 published to the National Vulnerability Database
- 2026-10-21 - Last updated in NVD database
- October 2026 - Addressed in the Oracle Critical Patch Update October 2026
Technical Details for CVE-2026-87255
Vulnerability Analysis
The vulnerability resides in the Compiler component of Oracle Java SE. It allows a remote, unauthenticated attacker to read a limited subset of data accessible to the Java runtime. The impact is confined to confidentiality; integrity and availability are not affected.
Exploitation requires high attack complexity according to the published CVSS vector. The attacker must craft input delivered through APIs that reach the Compiler component, typically via a service that accepts and processes untrusted data with Java. The Exploit Prediction Scoring System (EPSS) data reflects a low near-term exploitation probability as of 2026-10-22.
Root Cause
Oracle has not published a detailed root-cause analysis in the advisory. The condition exists within the Compiler component logic that processes data supplied through supported APIs. The flaw permits an attacker to recover information that should remain isolated from external callers.
Attack Vector
The attack vector is network-based and does not require authentication or user interaction. Exploitation depends on the target application exposing Compiler APIs to attacker-controlled input, for example through a web service endpoint. Classic Java Web Start applications and browser applets are not valid delivery mechanisms for this vulnerability.
No public proof-of-concept exploit code is available. Readers requiring technical specifics should consult the Oracle Critical Patch Update October 2026 advisory.
Detection Methods for CVE-2026-87255
Indicators of Compromise
- No vendor-published indicators of compromise are available for CVE-2026-87255.
- Monitor for anomalous requests to application endpoints that invoke Java Compiler APIs with attacker-supplied payloads.
Detection Strategies
- Inventory Java SE deployments and identify instances running versions 25.0.4.1 or 27.
- Review application code and dependencies that expose javax.tools or similar Compiler API functionality to untrusted callers.
- Correlate web service logs for unusual input patterns targeting services that invoke the Java Compiler API.
Monitoring Recommendations
- Enable detailed logging on web services that accept source code or compilation input from external users.
- Track Java runtime version information across the fleet to flag unpatched installations after the October 2026 CPU.
- Alert on repeated failed or malformed requests to endpoints that interact with the Compiler component.
How to Mitigate CVE-2026-87255
Immediate Actions Required
- Apply the Oracle Critical Patch Update for October 2026 to all affected Java SE installations.
- Identify applications that expose Compiler APIs to untrusted input and restrict access until patches are deployed.
- Validate that production Java SE builds are updated to a version released in or after the October 2026 CPU.
Patch Information
Oracle addressed CVE-2026-87255 in the October 2026 Critical Patch Update. Patch details and download links are available in the Oracle Critical Patch Update October 2026 advisory. Administrators should follow Oracle's deployment guidance for their specific Java SE distribution.
Workarounds
- Restrict network exposure of services that pass untrusted data to the Java Compiler API.
- Enforce input validation and allow-listing on any endpoint that accepts source code or compilation parameters.
- Apply network segmentation so Java-based services processing external input are isolated from sensitive data stores.
# Verify installed Java SE version after patching
java -version
# Example: list running Java processes to confirm patched runtime is in use
ps -ef | grep -i java
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

