CVE-2025-42940 Memory Corruption vulnerability in SAP CommonCryptoLib

High 7.5 Published Updated

Remote attackers can cause application crashes via manipulated ASN.1 data, impacting availability in SAP CommonCryptoLib.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-42940?

CVE-2025-42940 is a high-severity memory corruption vulnerability in SAP_SE SAP CommonCryptoLib, published on 11 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

SAP CommonCryptoLib does not perform necessary boundary checks during pre-authentication parsing of manipulated ASN.1 data over the network. This may result in memory corruption followed by an application crash, hence leading to a high impact on availability. There is no impact on confidentiality or integrity.

Weakness: CWE-787

Which versions are affected by CVE-2025-42940?

How do I fix CVE-2025-42940?

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

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-42940 being exploited?

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

Sources

Also known as GHSA-q5pw-cx6c-vjjw.

Is CVE-2025-42940 in your software?

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

Check your SBOMs for free