CVE-2025-42895 Code Injection vulnerability in SAP HANA JDBC Client

Medium 6.9 Published Updated

A high-privilege local user can inject code via crafted JDBC connection parameters, causing unauthorized code loading and potential denial of service.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-42895?

CVE-2025-42895 is a medium-severity code injection vulnerability in SAP_SE SAP HANA JDBC Client, published on 11 Nov 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Due to insufficient validation of connection property values, the SAP HANA JDBC Client allows a high-privilege locally authenticated user to supply crafted parameters that lead to unauthorized code loading, resulting in low impact on confidentiality and integrity and high impact on availability of the application.

Weakness: CWE-94

Which versions are affected by CVE-2025-42895?

How do I fix CVE-2025-42895?

No fix has been published for CVE-2025-42895 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-42895 being exploited?

There is no known exploitation of CVE-2025-42895 in the wild and no public exploit code.

Sources

Also known as GHSA-m452-g496-4chp.

Is CVE-2025-42895 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free