CVE-2015-3311: Insecure Library Loading in SAP Adaptive Server Enterprise Java Subsystem
- Vendor
- SAP SE
CVE-2015-3311 is an insecure library loading vulnerability in SAP Adaptive Server Enterprise when the Java subsystem is enabled. The issue arises from the product allowing native libraries to be loaded in an unsafe manner. A valid database user can abuse this behavior to cause attacker-controlled native code to be loaded and executed within the database server process context. Because the vulnerable code executes inside the ASE server process, exploitation can cross the boundary from database-level access into operating-system-level code execution within the privileges of the database service account.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows arbitrary code execution in the context of the SAP Adaptive Server Enterprise database server process. This can enable full compromise of the database instance, unauthorized access to data handled by the server, tampering with database operations, installation of persistence within the server environment, and potential pivoting to the underlying host depending on the privileges assigned to the ASE service account.
Mitigation
If you can’t patch tonight, do this now.
Where immediate patching is not possible, harden ASE installations that have the Java subsystem enabled. Disable java.io functionality using the documented sp_jreconfig-based configuration, set the JRE work and temporary directories according to vendor guidance, reload the configuration, and reboot ASE. More broadly, restrict use of the Java subsystem to only environments that require it and limit database user access to trusted principals.
Remediation
Patch, then assume compromise.
Apply the vendor-provided fixes for affected SAP Adaptive Server Enterprise releases, including SAP ASE 16.0 SP01 PL01, SAP ASE 15.7 SP134, or SAP ASE Cluster Edition 15.7 SP134, as applicable. In Java-enabled deployments, also implement the documented hardening changes for the Java subsystem to reduce exposure from native library and Java I/O functionality.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2015-3311 exploited in the wild?
- As of Aug 20, 2026, Mallory has no reports of CVE-2015-3311 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2015-3311?
- As of Aug 20, 2026, Mallory has found no public exploit for CVE-2015-3311.
- Is there a patch for CVE-2015-3311?
- Apply the vendor-provided fixes for affected SAP Adaptive Server Enterprise releases, including SAP ASE 16.0 SP01 PL01, SAP ASE 15.7 SP134, or SAP ASE Cluster Edition 15.7 SP134, as applicable. In Java-enabled deployments, also implement the documented hardening changes for the Java subsystem to reduce exposure from native library and Java I/O functionality.
- What products are affected by CVE-2015-3311?
- SAP SE Adaptive Server Enterprise.
Recent activity
1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.