Skip to main content
Mallory
UnratedVulnerability

CVE-2017-5523: Native Library Loading Arbitrary Code Execution in SAP Adaptive Server Enterprise

Updated 3 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS-Not scored
EPSS-30-day exploit probability
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
SAP SE
IdentifiersCVE-2017-5523CWE-20

CVE-2017-5523 is an improper input validation vulnerability in SAP Adaptive Server Enterprise (ASE) involving native library loading from a shared SAP Java Runtime Environment library location. The flaw allows ASE, via Java-related functionality, to load a native library from a shared SAP JRE library path without sufficient validation. In a chained attack scenario, an attacker who has already managed to place a malicious native library in that shared location can cause the ASE process to load it, resulting in execution of attacker-controlled code within the database server process.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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 can lead to arbitrary code execution in the context of the SAP ASE process. Because the vulnerable behavior is described as part of a chained attack, the flaw can be used to turn an existing ability to place a malicious library in the shared SAP JRE library location into full code execution on the host running ASE. This may enable compromise of the database server, unauthorized access to data handled by ASE, service manipulation, and potential follow-on activity depending on the privileges of the ASE process.

Mitigation

If you can’t patch tonight, do this now.

Apply the vendor-provided patches and follow the SAP ASE cover letter instructions for creating and configuring the jvm.wl file. As an additional defensive measure, restrict the ability to place files in shared SAP JRE library locations and limit access to Java-related ASE functionality where operationally feasible.

Remediation

Patch, then assume compromise.

Upgrade to a fixed SAP ASE release, specifically SAP ASE 15.7 SP138 or SAP ASE 16.0 SP02 PL05, and implement the vendor guidance for creation of the jvm.wl file. Applying the vendor-supplied patch set and associated configuration changes is the recommended remediation.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
SAP SEAdaptive Server Enterpriseapplication
FAQ

Frequently asked questions

Is CVE-2017-5523 exploited in the wild?
As of Aug 20, 2026, Mallory has no reports of CVE-2017-5523 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2017-5523?
As of Aug 20, 2026, Mallory has found no public exploit for CVE-2017-5523.
Is there a patch for CVE-2017-5523?
Upgrade to a fixed SAP ASE release, specifically SAP ASE 15.7 SP138 or SAP ASE 16.0 SP02 PL05, and implement the vendor guidance for creation of the jvm.wl file. Applying the vendor-supplied patch set and associated configuration changes is the recommended remediation.
What products are affected by CVE-2017-5523?
SAP SE Adaptive Server Enterprise.
Activity feed

Recent activity

1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.

View more in app →

No news coverage yet. Advisories and community discussion only.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.